Skip to content

Commit 000df54

Browse files
committed
test: regenerate types
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
1 parent 8aa0346 commit 000df54

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

tests/src/interfaces/augment-api-query.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ declare module '@polkadot/api-base/types/storage' {
129129
* The current transaction statuses.
130130
**/
131131
currentTransactionStatuses: AugmentedQuery<ApiType, () => Observable<Option<Vec<FpRpcTransactionStatus>>>, []> & QueryableStorageEntry<ApiType, []>;
132+
/**
133+
* Injected transactions should have unique nonce, here we store current
134+
**/
135+
injectedNonce: AugmentedQuery<ApiType, () => Observable<U256>, []> & QueryableStorageEntry<ApiType, []>;
132136
/**
133137
* Current building block's transactions and receipts.
134138
**/
@@ -434,8 +438,11 @@ declare module '@polkadot/api-base/types/storage' {
434438
/**
435439
* Events deposited for the current block.
436440
*
437-
* NOTE: This storage item is explicitly unbounded since it is never intended to be read
438-
* from within the runtime.
441+
* NOTE: The item is unbound and should therefore never be read on chain.
442+
* It could otherwise inflate the PoV size of a block.
443+
*
444+
* Events have a large in-memory size. Box the events to not go out-of-memory
445+
* just in case someone still reads them from within the runtime.
439446
**/
440447
events: AugmentedQuery<ApiType, () => Observable<Vec<FrameSystemEventRecord>>, []> & QueryableStorageEntry<ApiType, []>;
441448
/**

0 commit comments

Comments
 (0)