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
I updated to the latest alloy versions and ran into an inconsistency while updating my code.
Based on this discussion it seems that it was decided to update block header gas_limit and gas_used to u64.
However, in that change, the base_fee type of calc_next_block_base_fee and its return type were also updated from u128 to u64, requiring truncation of the base_fee argument at call sites.
From a safety perspective, this seems like it might have been an erroneous change.
If you agree, I'm happy to submit a PR with the fix.
The text was updated successfully, but these errors were encountered:
I updated to the latest alloy versions and ran into an inconsistency while updating my code.
Based on this discussion it seems that it was decided to update block header
gas_limit
andgas_used
tou64
.However, in that change, the
base_fee
type ofcalc_next_block_base_fee
and its return type were also updated fromu128
tou64
, requiring truncation of thebase_fee
argument at call sites.From a safety perspective, this seems like it might have been an erroneous change.
If you agree, I'm happy to submit a PR with the fix.
The text was updated successfully, but these errors were encountered: