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 bigint U256 doesn't implement serde::{Serialize, Deserialize}. And for this reason, the Amount type also can't derive them.
Proposal
Reexport primitive_types::U256 (which already has these impls and now supports no_std) instead of using uint::construct_uint!() to create our U256 type.
Acceptance Criteria
U256 implements serde::{Serialize, Deserialize}.
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate milestone (priority) applied
Appropriate contributors tagged
Contributor assigned/self-assigned
The text was updated successfully, but these errors were encountered:
Summary
The bigint
U256
doesn't implementserde::{Serialize, Deserialize}
. And for this reason, theAmount
type also can't derive them.Proposal
Reexport
primitive_types::U256
(which already has these impls and now supportsno_std
) instead of usinguint::construct_uint!()
to create ourU256
type.Acceptance Criteria
U256
implementsserde::{Serialize, Deserialize}
.For Admin Use
The text was updated successfully, but these errors were encountered: