@@ -805,14 +805,6 @@ declare module '@polkadot/api/types/submittable' {
805805 **/
806806 vote : AugmentedSubmittable < ( votes : Vec < AccountId > | ( AccountId | string | Uint8Array ) [ ] , value : Compact < BalanceOf > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > > ;
807807 } ;
808- finalityTracker : {
809- [ key : string ] : SubmittableExtrinsicFunction < ApiType > ;
810- /**
811- * Hint that the author of this block thinks the best finalized
812- * block is the given number.
813- **/
814- finalHint : AugmentedSubmittable < ( hint : Compact < BlockNumber > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > > ;
815- } ;
816808 grandpa : {
817809 [ key : string ] : SubmittableExtrinsicFunction < ApiType > ;
818810 /**
@@ -3047,9 +3039,9 @@ declare module '@polkadot/api/types/submittable' {
30473039 * The dispatch origin for this call must be `Inherent`.
30483040 *
30493041 * # <weight>
3050- * - `O(T )` where `T` complexity of `on_timestamp_set`
3042+ * - `O(1 )` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
30513043 * - 1 storage read and 1 storage mutation (codec `O(1)`). (because of `DidUpdate::take` in `on_finalize`)
3052- * - 1 event handler `on_timestamp_set` `O(T )`.
3044+ * - 1 event handler `on_timestamp_set`. Must be `O(1 )`.
30533045 * # </weight>
30543046 **/
30553047 set : AugmentedSubmittable < ( now : Compact < Moment > | AnyNumber | Uint8Array ) => SubmittableExtrinsic < ApiType > > ;
@@ -3351,9 +3343,7 @@ declare module '@polkadot/api/types/submittable' {
33513343 * bypassing `frame_system::Trait::BaseCallFilter`).
33523344 *
33533345 * # <weight>
3354- * - Base weight: 14.39 + .987 * c µs
3355- * - Plus the sum of the weights of the `calls`.
3356- * - Plus one additional event. (repeat read/write)
3346+ * - Complexity: O(C) where C is the number of calls to be batched.
33573347 * # </weight>
33583348 *
33593349 * This will return `Ok` in all circumstances. To determine the success of the batch, an
@@ -3363,6 +3353,22 @@ declare module '@polkadot/api/types/submittable' {
33633353 * event is deposited.
33643354 **/
33653355 batch : AugmentedSubmittable < ( calls : Vec < Call > | ( Call | { callIndex ?: any ; args ?: any } | string | Uint8Array ) [ ] ) => SubmittableExtrinsic < ApiType > > ;
3356+ /**
3357+ * Send a batch of dispatch calls and atomically execute them.
3358+ * The whole transaction will rollback and fail if any of the calls failed.
3359+ *
3360+ * May be called from any origin.
3361+ *
3362+ * - `calls`: The calls to be dispatched from the same origin.
3363+ *
3364+ * If origin is root then call are dispatch without checking origin filter. (This includes
3365+ * bypassing `frame_system::Trait::BaseCallFilter`).
3366+ *
3367+ * # <weight>
3368+ * - Complexity: O(C) where C is the number of calls to be batched.
3369+ * # </weight>
3370+ **/
3371+ batchAll : AugmentedSubmittable < ( calls : Vec < Call > | ( Call | { callIndex ?: any ; args ?: any } | string | Uint8Array ) [ ] ) => SubmittableExtrinsic < ApiType > > ;
33663372 } ;
33673373 vesting : {
33683374 [ key : string ] : SubmittableExtrinsicFunction < ApiType > ;
0 commit comments