You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, we're using revm for the apply_plain_transaction, which do not depends
on a feature flag, we should use levm or add a way to use levm through a feature flag. Also, we should double check if there are any more places
where we should be using levm by default or through a feature flag.
The text was updated successfully, but these errors were encountered:
**Motivation**
We are using revm for the
[apply_plain_transaction](https://github.com/lambdaclass/ethrex/blob/53578fc5e3b2335d31d943f99278056c7e99566e/crates/blockchain/payload.rs#L421)
function; regardless of the EVM implementation passed as a CLI argument.
With this PR, said function will now use the EVM implementation
specified via CLI flags and will default to LEVM.
**Description**
Add both the LEVM and REVM code inside the apply_plain_transaction
function. Only the specified implementation gets compiled.
Closes#1746
Changes required
Currently, we're using revm for the apply_plain_transaction, which do not depends
on a feature flag, we should use levm or add a way to use levm through a feature flag. Also, we should double check if there are any more places
where we should be using levm by default or through a feature flag.
The text was updated successfully, but these errors were encountered: