-
Notifications
You must be signed in to change notification settings - Fork 2
Merge REVM upgrades #24
Conversation
| let tx_caller = env.tx.caller; | ||
| let tx_data = &env.tx.data; | ||
| let tx_is_create = env.tx.transact_to.is_create(); | ||
|
|
||
| let initial_gas_spend = initial_tx_gas::<GSPEC>(tx_data, tx_is_create, &env.tx.access_list); | ||
| let initial_gas_spend = initial_tx_gas::<GSPEC>( | ||
| &env.tx.data, | ||
| env.tx.transact_to.is_create(), | ||
| &env.tx.access_list, | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was the only conflict in the evm_impl.
| @@ -1,6 +1,9 @@ | |||
| #![allow(non_camel_case_types)] | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way SpecIds are implemented changed, there's now a direct enabled fn on the SpecId enum itself. I've added support for this and two more tests mirroring the other ones on the Spec trait impl.
| } | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some conflicts in this file; Mostly minimal around 4844 errors etc.
| /// | ||
| /// [EIP-2930]: https://eips.ethereum.org/EIPS/eip-2930 | ||
| pub access_list: Vec<(B160, Vec<U256>)>, | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicts in the env for 4844 support; Not too hard to resolve, new fields for blob txs.
refcell
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Overview
Resolves all conflicts over a fairly large refactor in upstream REVM for 4844 and RETH's revm state integration.