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 PlatformTestingTool to work with the Bytes format for system transactions #17082

Open
Tracked by #16677
IvanKavaldzhiev opened this issue Dec 17, 2024 · 0 comments
Labels
Platform Tickets pertaining to the platform

Comments

@IvanKavaldzhiev
Copy link
Collaborator

Problem

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

Solution

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

Update the handleTransaction in PlatformTestingToolState 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

No branches or pull requests

1 participant