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
Can this be replaced with something like an ethereum_types::I256?
It seems like that is valid. In ethers-rs there is a I256 type that this would be handy to interface with directly. Upon parsing some events in revm, the fact that Int is really a U256 under the hood is not optimal.
The text was updated successfully, but these errors were encountered:
you can use I256 and convert to bytes; then use U256::from(bytes).
the raw slot is 256 bits, which can be represented by U256 actually; just ensure that the raw bytes are correct
ethabi/ethabi/src/lib.rs
Line 94 in a148a4a
Can this be replaced with something like an
ethereum_types::I256
?It seems like that is valid. In
ethers-rs
there is aI256
type that this would be handy to interface with directly. Upon parsing some events inrevm
, the fact thatInt
is really aU256
under the hood is not optimal.The text was updated successfully, but these errors were encountered: