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
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
format_units and parse_units only support U256 and are do not let you use I256 as the input or output type
I think these methods should probably take/return something similar to enum BigInt { Int(I256), Uint(U256) } and match on that. I'm not sure if additional enum types are required to support smaller input types like u128, i128, etc.
Support for this would make full signed integer support in cast much simpler. This is also required to fix the LogNamedDecimalIntFilter method in forge
The text was updated successfully, but these errors were encountered:
format_units
andparse_units
only support U256 and are do not let you use I256 as the input or output typeI think these methods should probably take/return something similar to
enum BigInt { Int(I256), Uint(U256) }
and match on that. I'm not sure if additional enum types are required to support smaller input types likeu128
,i128
, etc.Support for this would make full signed integer support in cast much simpler. This is also required to fix the
LogNamedDecimalIntFilter
method in forgeThe text was updated successfully, but these errors were encountered: