File tree Expand file tree Collapse file tree
yarn-project/ethereum/src/contracts Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,7 +80,10 @@ export class InboxContract {
8080 }
8181
8282 /** Returns the Inbox bucket with the given sequence number (AZIP-22 Fast Inbox). */
83- public async getBucket ( seq : bigint , opts : { blockTag ?: BlockTag ; blockNumber ?: bigint } = { } ) : Promise < InboxContractBucket > {
83+ public async getBucket (
84+ seq : bigint ,
85+ opts : { blockTag ?: BlockTag ; blockNumber ?: bigint } = { } ,
86+ ) : Promise < InboxContractBucket > {
8487 await checkBlockTag ( opts . blockNumber , this . client ) ;
8588 const bucket = await this . inbox . read . getBucket ( [ seq ] , opts ) ;
8689 return {
@@ -96,7 +99,9 @@ export class InboxContract {
9699 * total are the Inbox's live chain position, used by the archiver's message sync and L1-reorg detection (AZIP-22
97100 * Fast Inbox).
98101 */
99- public async getCurrentBucket ( opts : { blockTag ?: BlockTag ; blockNumber ?: bigint } = { } ) : Promise < InboxContractBucket > {
102+ public async getCurrentBucket (
103+ opts : { blockTag ?: BlockTag ; blockNumber ?: bigint } = { } ,
104+ ) : Promise < InboxContractBucket > {
100105 const seq = await this . getCurrentBucketSeq ( opts ) ;
101106 return this . getBucket ( seq , opts ) ;
102107 }
You can’t perform that action at this time.
0 commit comments