git.delta.rocks / unique-network / refs/commits / 589437134e5d

difftreelog

chore regenerate types

Fahrrader2023-02-22parent: #a75da46.patch.diff
in: master

4 files changed

modifiedtests/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>;
modifiedtests/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';
 }
modifiedtests/src/interfaces/lookup.tsdiffbeforeafterboth
3011 _alias: {3011 _alias: {
3012 hash_: 'hash',3012 hash_: 'hash',
3013 },3013 },
3014 hash_: 'H256'3014 hash_: 'H256',
3015 weightBound: 'SpWeightsWeightV2Weight'
3015 }3016 }
3016 }3017 }
3017 },3018 },
modifiedtests/src/interfaces/types-lookup.tsdiffbeforeafterboth
--- a/tests/src/interfaces/types-lookup.ts
+++ b/tests/src/interfaces/types-lookup.ts
@@ -3250,6 +3250,7 @@
     readonly isExecutePreimage: boolean;
     readonly asExecutePreimage: {
       readonly hash_: H256;
+      readonly weightBound: SpWeightsWeightV2Weight;
     } & Struct;
     readonly type: 'Enable' | 'Disable' | 'ExecutePreimage';
   }