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
With #541 we decode blocks with OpaqueExtrinsic. As this is not human readable, it would be nice for the users to still have a convenient function to decode the block / extrsinic.
Where the user could define the block type with Runtime::RuntimeBlock. Or a convenience function where a Vec of OpaqueExtrinsic gets decoded to a Vec of "real" extrinsic.
Examples for making it clear what's the difference between Opaque and not:
RuntimeBlock:
With #541 we decode blocks with
OpaqueExtrinsic
. As this is not human readable, it would be nice for the users to still have a convenient function to decode the block / extrsinic.See also the config:
substrate-api-client/primitives/src/config/asset_runtime_config.rs
Line 35 in 53be73d
I see two solutions for this:
Where the user could define the block type with
Runtime::RuntimeBlock
. Or a convenience function where a Vec of OpaqueExtrinsic gets decoded to a Vec of "real" extrinsic.Examples for making it clear what's the difference between Opaque and not:
RuntimeBlock:
Opaque Extrinsic Block:
The text was updated successfully, but these errors were encountered: