Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt AddressBookTestingTool to work with the Bytes format for system transactions #17081

Open
Tracked by #16677
IvanKavaldzhiev opened this issue Dec 17, 2024 · 0 comments · May be fixed by #17197
Open
Tracked by #16677

Adapt AddressBookTestingTool to work with the Bytes format for system transactions #17081

IvanKavaldzhiev opened this issue Dec 17, 2024 · 0 comments · May be fixed by #17197
Assignees
Labels
Platform Tickets pertaining to the platform

Comments

@IvanKavaldzhiev
Copy link
Collaborator

Problem

The AddressBookTestingTool should be adapted to generate StateSignatureTransactions and the AddressBookTestingToolState to differentiate these Bytes in handleTransaction and ignore the system transactions.

Solution

Update the TransactionGenerator in AddressBookTestingTool to generate StateSignatureTransactions and encode them in Bytes.

Update the handleTransaction in AddressBookTestingToolState to validate whether the Bytes wrapped in EventTransaction's applicationTransaction is a system transaction.

Alternatives

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform Tickets pertaining to the platform
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant