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

User Operations simulations #47

Closed
Vid201 opened this issue Feb 1, 2023 · 2 comments
Closed

User Operations simulations #47

Vid201 opened this issue Feb 1, 2023 · 2 comments
Assignees

Comments

@Vid201
Copy link
Member

Vid201 commented Feb 1, 2023

This issue tracks work on simulation of user operations. Everything is explained here: https://eips.ethereum.org/EIPS/eip-4337#simulation

JS Tracer is needed to perform simulation.

@Vid201 Vid201 self-assigned this Feb 17, 2023
@Vid201
Copy link
Member Author

Vid201 commented Feb 22, 2023

  • forbidden opcodes
  • special handling of forbidden opcodes for staked entities
  • GAS opcodes
  • storage access
  • call stack verification
  • CALL opcodes
  • EXTCODEHASH doesn't change between first and second simulation
  • EXT opcodes
  • only one CREATE2 allowed

https://eips.ethereum.org/EIPS/eip-4337#simulation

All the basic simulation checks are already implemented, there can be some exceptions that will be supported in the future.

@zsluedem

@zsluedem
Copy link
Collaborator

Very nice!!!!

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

No branches or pull requests

2 participants