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
In the other parts of alloy, some fields have changed from U256 into u64 and u128, examples:
Block number: u64
Gas priority and base fee: u128
Nonce: u64
These changes are done for when we interact with the real blockchain, but these types differ in the Anvil part of the provider:
anvil_mine num blocks is an U256 where a block is normally a u64 in other parts of alloy (also interval should be changed into an u64 as anvil_set_interval_mining takes an u64 as parameter)
Component
provider, pubsub, other
Describe the feature you would like
Hello,
In the other parts of alloy, some fields have changed from U256 into u64 and u128, examples:
These changes are done for when we interact with the real blockchain, but these types differ in the Anvil part of the provider:
gas_limit
is an u64Anvil rpc types changes
The same types are present in anvil-rpc-types:
Additional context
I think it would be great to keep the same types across all parts of alloy.
The text was updated successfully, but these errors were encountered: