We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CfgEnv.chain_id
u64
The only check done is by converting TxEnv.chain_id to U256 which is redundant:
TxEnv.chain_id
U256
revm/crates/primitives/src/env.rs
Lines 309 to 314 in 4272535
It can be converted to U256 directly in the CHAINID opcode with U256::from, since it's very cheap.
CHAINID
U256::from
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The only check done is by converting
TxEnv.chain_id
toU256
which is redundant:revm/crates/primitives/src/env.rs
Lines 309 to 314 in 4272535
It can be converted to
U256
directly in theCHAINID
opcode withU256::from
, since it's very cheap.The text was updated successfully, but these errors were encountered: