Provide implementations of Permill
, Perbill
etc in Subxt?
#1170
Labels
needs thought
We need to resolve some questions before we can work on this
We fixed decoding into the generated
Permill
etc types a short while ago, but the types also have a bunch of custom logic and such. Currently, to work with them properly, one would have to pull insp_arithmetic
and convert the decoded parts into the proper types manually.Perhaps we could either:
sp-arithmetic
and just substitute for the "proper" types. (sp-arithmetic doesn't look like it depends on much, so I think this would be fairly doable), orTypes are defined here: https://github.com/paritytech/polkadot-sdk/blob/master/substrate/primitives/arithmetic/src/per_things.rs#L1864
The text was updated successfully, but these errors were encountered: