-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: set OP enveloped tx field #7649
fix: set OP enveloped tx field #7649
Conversation
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.
tested locally and it seems that we also occur those errors in eth_call
and probably eth_estimateGas
. not sure how to handle this as we can't obtain enveloped tx from a tx request
@@ -208,6 +208,12 @@ impl<'a, DB: Db + ?Sized, Validator: TransactionValidator> TransactionExecutor<' | |||
} | |||
|
|||
fn env_for(&self, tx: &PendingTransaction) -> EnvWithHandlerCfg { | |||
let mut tx_env = tx.to_revm_tx_env(); |
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.
we are still passing tx.to_revm_tx_env()
into new_with_cfg_env
instead of tx_env
var
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.
gotcha, mind taking over this?
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.
yep sure
e0a1015
to
114fce4
Compare
should close #7648