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
There is a certain danger in doing conversions between different denominations all over the code. It could lead to hard-to-identify bugs if we have it wrong in a single place. We could avoid this by being explicit about which we are using.
The problem is that if we commit to Gwei and Wei, then it's harder to be an L2 of a different chain from Ethereum.
Maybe that is a future concern and the benefits of having these types is too great to avoid--we could solve for the abstraction later.
The text was updated successfully, but these errors were encountered:
There is a certain danger in doing conversions between different denominations all over the code. It could lead to hard-to-identify bugs if we have it wrong in a single place. We could avoid this by being explicit about which we are using.
The problem is that if we commit to
Gwei
andWei
, then it's harder to be an L2 of a different chain from Ethereum.Maybe that is a future concern and the benefits of having these types is too great to avoid--we could solve for the abstraction later.
The text was updated successfully, but these errors were encountered: