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
Yup, SubstrateType is a stateful/Output version of RustTypeMarker (RustTypeMarker + bytestring in, SubstrateType out)
Sounds like a good addition that would make the types more clear.
In addition to the types you listed, the Data, Address and SignedExtra would also belong on this Common enum since they don't have a direct correspondent in RustTypeMarker
I noticed that SubstrateType is a stateful version of RustTypeMarker. And I think them should keep similiar as possible.
I think the following common types should be defined in a new enum type.
And SubstrateType should be:
Other people can compose their own implementations more easily.
And can ensure that the core changes as little as possible
How about your thinking?
The text was updated successfully, but these errors were encountered: