-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature you would like
I am using the PrecompilesMap for adding and managing Precompiles. However, I now ran into the issue that the EvmInternals field in the PrecompileInput only contains the BlockEnv and not the TxEnv, which I need to access in a precompile.
Lines 158 to 161 in 785be28
| pub struct EvmInternals<'a> { | |
| internals: Box<dyn EvmInternalsTr + 'a>, | |
| block_env: &'a (dyn Block + 'a), | |
| } |
Would also open a PR myself and add it, just don't know if there's maybe a specific reason that the TxEnv is not in there.
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request