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

Move transaction verification into atomic_speculate #2388

Closed
wants to merge 2 commits into from

Conversation

raychu86
Copy link
Collaborator

Motivation

This PR is an extension of #2376, where we move the pre-speculate transaction verification into VM::atomic_speculate. This will allow us to use the same TX verification logic in both VM::speculate and VM::check_speculate, which will reduce unnecessary duplication of transaction verification code.

@raychu86
Copy link
Collaborator Author

Closing due to undesired consequence of this change. We need to verify the Fee transaction types prior to calling atomic_speculate.

@raychu86 raychu86 closed this Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant