-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat: allow configuring max initcode size #4452
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
crates/rethnet_eth/Cargo.toml
Outdated
@@ -20,7 +20,7 @@ reqwest = { version = "0.11", features = ["blocking", "json"] } | |||
# https://github.com/TrueLayer/reqwest-middleware/blob/main/reqwest-retry/CHANGELOG.md#unreleased | |||
reqwest-middleware = { git = "https://github.com/TrueLayer/reqwest-middleware", rev = "a54319a", default-features = false } | |||
reqwest-retry = { git = "https://github.com/TrueLayer/reqwest-middleware", rev = "a54319a", default-features = false } | |||
revm-primitives = { git = "https://github.com/Wodann/revm", rev = "b6f8ebf", version = "1.1", default-features = false } | |||
revm-primitives = { git = "https://github.com/agostbiro/revm", rev = "430502e", version = "1.1", default-features = false } |
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.
will need to change to Wodann/revm once the PR is merged
crates/rethnet_evm/Cargo.toml
Outdated
@@ -21,7 +21,7 @@ once_cell = { version = "1.18.0", default-features = false, features = ["alloc", | |||
parking_lot = { version = "0.12.1", default-features = false } | |||
rethnet_defaults = { version = "0.1.0-dev", path = "../rethnet_defaults" } | |||
rethnet_eth = { version = "0.1.0-dev", path = "../rethnet_eth", features = ["serde"] } | |||
revm = { git = "https://github.com/Wodann/revm", rev = "b6f8ebf", version = "3.3", default-features = false, features = ["dev", "secp256k1", "serde", "std"] } | |||
revm = { git = "https://github.com/agostbiro/revm", rev = "430502e", version = "3.3", default-features = false, features = ["dev", "secp256k1", "serde", "std"] } |
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.
will need to change to Wodann/revm once the PR is merged
cfg.disable_block_gas_limit = disable_block_gas_limit; | ||
cfg.disable_eip3607 = disable_eip3607; | ||
|
||
Ok(cfg) | ||
} | ||
} | ||
|
||
fn bigint_to_usize(value: BigInt) -> Result<Option<usize>, napi::Error> { | ||
if let (false, size, true) = value.get_u64() { |
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 is legacy. For newer code, I've been using foo: u64 = BigInt::try_cast(value)
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.
Done in 9a40d57
crates/rethnet_eth/Cargo.toml
Outdated
@@ -20,7 +20,7 @@ reqwest = { version = "0.11", features = ["blocking", "json"] } | |||
# https://github.com/TrueLayer/reqwest-middleware/blob/main/reqwest-retry/CHANGELOG.md#unreleased | |||
reqwest-middleware = { git = "https://github.com/TrueLayer/reqwest-middleware", rev = "a54319a", default-features = false } | |||
reqwest-retry = { git = "https://github.com/TrueLayer/reqwest-middleware", rev = "a54319a", default-features = false } | |||
revm-primitives = { git = "https://github.com/Wodann/revm", rev = "b6f8ebf", version = "1.1", default-features = false } | |||
revm-primitives = { git = "https://github.com/Wodann/revm", rev = "4cf16b8", version = "1.1", default-features = false } |
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.
I merged the other PR and updated. The Cargo.lock changes might have to be updated as well though, @agostbiro
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.
Done in 7229668
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.
Updated to latest 0fc3c48
Follow up from #4448 for NomicFoundation/edr#103