Add asset id in signing (#4009)

* add assetId to SignerOptions

* pull assetId into extrinsic signing

* set assetId to optional AnyNumber throughout

* add logging of extrinsic options

* add assetId to _injectSignature & add getters

* re-add import

* longer doc comments
This commit is contained in:
Alexander Popiak
2021-10-04 10:02:28 +03:00
committed by GitHub
parent 2cf0e306dd
commit 9d5fb2bf72
4 changed files with 27 additions and 4 deletions
+1
View File
@@ -45,6 +45,7 @@ export interface SignerOptions {
nonce: AnyNumber | Codec;
signer?: Signer;
tip?: AnyNumber;
assetId?: AnyNumber;
}
export type AddressOrPair = IKeyringPair | string | AccountId | Address;