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

fix: remove unnecessary tx version check #1648

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

obatirou
Copy link
Collaborator

Time spent on this PR:

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe): unnecessary check

What is the current behavior?

Resolves #

What is the new behavior?

The execute function assumes that the signature validation was finished on the validate function but version zero transactions can invoke any function as entrypoint without executing the validation function. The execute_from_outside function does not assume that the validation is already finished but properly performs the signature
validation in its library function

@obatirou obatirou marked this pull request as ready for review November 29, 2024 14:55
@ClementWalter ClementWalter merged commit 116b488 into kkrt-labs:main Nov 29, 2024
13 checks passed
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.

2 participants