From #294
Allow user to define default Extra implementation for additional signed data, or auto-generate from the metadata. At the moment this is hardcoded in the macro generated code.
|
type Extra = ::subxt::DefaultExtra<DefaultConfig>; |
Replace hardcoded default extensions, these could be generated from the metadata, or the user could supply their own implementations.
Slight wrinkle is that a couple of the hardcoded ones require some data we need to supply up front, notably nonce and genesis hash. And currently the supplying of those values is done by the client, so need to come up with some solution there. It's probably safe to assume that most/all chains will support those two extensions.
Rel #330
From #294
Replace hardcoded default extensions, these could be generated from the metadata, or the user could supply their own implementations.
Slight wrinkle is that a couple of the hardcoded ones require some data we need to supply up front, notably nonce and genesis hash. And currently the supplying of those values is done by the client, so need to come up with some solution there. It's probably safe to assume that most/all chains will support those two extensions.
Rel #330