-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
eip2930: use alloy TxEip2930
#10623
eip2930: use alloy TxEip2930
#10623
Conversation
@klkvr Seems like we have an overflow issue here in the proptest, I imagine with the transaction: Eip2930(
TxEip2930 {
chain_id: 3291341489588165751,
nonce: 14906479109494292543,
gas_price: 55689700555394906303085696969414843071,
gas_limit: 318428246144358250530485492401114899755,
to: Create,
value: 66313936203721210645241833585571478386497671455018825453644050639460415969048,
access_list: AccessList(
[],
),
input: 0x,
},
), I imagine that this is due to the proptest which generates a random u128 for the gas_limit but this cannot be converted to u64 then, I think it's the issue here... On alloy side, do we really need the gas limit to be u128 or could we move to u64? |
yeah, for now we've added workaround in reth/crates/primitives/src/transaction/mod.rs Line 156 in e18a46d
In alloy we've set gas limit to u128 everywhere on purpose and agreed that it makes sense at some point: alloy-rs/alloy#454 But given both reth and revm seem to handle it as |
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.
overall lgtm, couple notes on tests
Related #9484