-
Notifications
You must be signed in to change notification settings - Fork 545
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
Accessing call value and sender in precompiles #1684
Comments
That makes sense. Do you want to add it? |
just curious, the revm/crates/revm/src/context/context_precompiles.rs Lines 199 to 205 in d38ff45
revm/crates/primitives/src/env.rs Lines 535 to 548 in d38ff45
|
What I understood is |
Currently only the call data is passed to precompiles:
revm/crates/revm/src/context/context_precompiles.rs
Line 212 in 4d0feec
We're working on some custom precompiles that need to know the
msg.value
andmsg.sender
too. Would there be any sympathy for adding these parameters to the precompile traits (Perhaps by passing&CallInputs
instead)?The text was updated successfully, but these errors were encountered: