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
The main impact on users will be the change to the output type of decoding for sol types containing a bytesN, which seems fine. Can you make sure this change is propagated to the DynSolValue::FixedBytes as well, by having it wrap a FixedBytes<32> instead of a [u8;32]
Component
primitives, sol-type
Describe the feature you would like
Right now the
SolType
impl forsol_data::FixedBytes
has theRustType
[u8; N]
.We've worked around this in the Stylus SDK by introducing a new type,
abi::FixedBytesSolType
, and foresee potential special casing around this quirk.We propose that, as is already the case with integers,
sol_data::FixedBytes
have theRustType
alloy_primitives::FixedBytes
.We're happy to help implement this change, which should be straightforward :)
The text was updated successfully, but these errors were encountered: