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
713 maintenance: {713 maintenance: {
714 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;714 disable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
715 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;715 enable: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
716 /**
717 * Execute a runtime call stored as a preimage.
718 *
719 * `weight_bound` is the maximum weight that the caller is willing
720 * to allow the extrinsic to be executed with.
721 **/
716 executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;722 executePreimage: AugmentedSubmittable<(hash: H256 | string | Uint8Array, weightBound: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SpWeightsWeightV2Weight]>;
717 /**723 /**
718 * Generic tx724 * Generic tx
719 **/725 **/
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
--- 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'
       }
     }
   },
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';
   }