difftreelog
chore regenerate types
in: master
4 files changed
tests/src/interfaces/augment-api-tx.tsdiffbeforeafterboth--- a/tests/src/interfaces/augment-api-tx.ts
+++ b/tests/src/interfaces/augment-api-tx.ts
@@ -713,8 +713,14 @@
maintenance: {
disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
- executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
/**
+ * Execute a runtime call stored as a preimage.
+ *
+ * `weight_bound` is the maximum weight that the caller is willing
+ * to allow the extrinsic to be executed with.
+ **/
+ executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array, weightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpWeightsWeightV2Weight]>;
+ /**
* Generic tx
**/
[key: string]: SubmittableExtrinsicFunction<ApiType>;
tests/src/interfaces/default/types.tsdiffbeforeafterboth--- a/tests/src/interfaces/default/types.ts
+++ b/tests/src/interfaces/default/types.ts
@@ -2004,6 +2004,7 @@
readonly isExecutePreimage: boolean;
readonly asExecutePreimage: {
readonly hash_: H256;
+ readonly weightBound: SpWeightsWeightV2Weight;
} & Struct;
readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';
}
tests/src/interfaces/lookup.tsdiffbeforeafterboth--- a/tests/src/interfaces/lookup.ts
+++ b/tests/src/interfaces/lookup.ts
@@ -3011,7 +3011,8 @@
_alias: {
hash_: 'hash',
},
- hash_: 'H256'
+ hash_: 'H256',
+ weightBound: 'SpWeightsWeightV2Weight'
}
}
},
tests/src/interfaces/types-lookup.tsdiffbeforeafterboth3250 readonly isExecutePreimage: boolean;3250 readonly isExecutePreimage: boolean;3251 readonly asExecutePreimage: {3251 readonly asExecutePreimage: {3252 readonly hash_: H256;3252 readonly hash_: H256;3253 readonly weightBound: SpWeightsWeightV2Weight;3253 } & Struct;3254 } & Struct;3254 readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';3255 readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';3255 }3256 }