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
For WalletSign, Lotus accepts both base64-encoded, and arrays of bytes in the form of decimal integers as input for byte fields. Forest supports only base64-encoded fields.
Sample JSON accepted by Lotus and not accepted by Forest:
Is this only for this method, or are all byte fields in all endpoints supported with both encodings?
How difficult is supporting it with the current RPC framework? Should all tests also try the secondary encoding so that they're more exhaustive?
How important is it to RPC consumers to send decimal bytes? Do they formulate it on their own, or is there some tooling already that generates this form by default? In general, it seems wasteful. Base64 is more space-efficient and likely faster to deserialize.
Other information and links
The text was updated successfully, but these errors were encountered:
Issue summary
For
WalletSign
, Lotus accepts both base64-encoded, and arrays of bytes in the form of decimal integers as input for byte fields. Forest supports only base64-encoded fields.Sample JSON accepted by Lotus and not accepted by Forest:
Open questions:
Other information and links
The text was updated successfully, but these errors were encountered: