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

Implement tracer logic #44

Closed
zsluedem opened this issue Jan 29, 2023 · 2 comments
Closed

Implement tracer logic #44

zsluedem opened this issue Jan 29, 2023 · 2 comments

Comments

@zsluedem
Copy link
Collaborator

zsluedem commented Jan 29, 2023

The UserOperation simulation needs Geth debug_traceCall js tracer to collect custom evm operations.
And we need to implement this tracer logic for the simulations.

Here are some other implementations for reference:

  1. https://github.com/eth-infinitism/bundler/blob/f5af738e7f95f53b8954d98e777b2c76c6ea9b1f/packages/bundler/src/GethTracer.ts#L18-L37
  2. https://github.com/stackup-wallet/stackup-bundler/blob/main/pkg/tracer/types.go#L48-L54

Goal

  1. implement Rust serde types for custom json output (Done in https://github.com/Vid201/aa-bundler/blob/feat/uopool/src/contracts/tracer.rs)
  2. implement TracerTest.js
@zsluedem
Copy link
Collaborator Author

Blocked by gakonst/ethers-rs#2088 or gakonst/ethers-rs#2064

@zsluedem
Copy link
Collaborator Author

@zsluedem zsluedem mentioned this issue Feb 16, 2023
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

1 participant