Allow external signers to modify the payload (#6030)

* remove validateSignedTransaction

* add optional allowCallDataAlteration defaulting to true

* nit

* spacing

* Update packages/api/src/submittable/createClass.ts
This commit is contained in:
Thibaut Sardan
2024-11-19 09:18:14 -05:00
committed by GitHub
parent c998d261fd
commit cb1078ac4b
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -188,6 +188,7 @@ export interface IExtrinsicEra extends Codec {
}
export interface SignatureOptions {
allowCallDataAlteration?: boolean;
blockHash: Uint8Array | string;
era?: IExtrinsicEra;
genesisHash: Uint8Array | string;