From 22cebbd19efa01f2ab977feb06a815802fb398ba Mon Sep 17 00:00:00 2001 From: Facundo De Lorenzo Date: Thu, 18 Jul 2024 17:59:21 -0300 Subject: [PATCH 1/4] fix InboxTools-getForceIncludableBlockRange --- src/lib/inbox/inbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/inbox/inbox.ts b/src/lib/inbox/inbox.ts index 7e6f6a425..24d7708fd 100644 --- a/src/lib/inbox/inbox.ts +++ b/src/lib/inbox/inbox.ts @@ -215,7 +215,7 @@ export class InboxTools { sequencerInbox.interface.decodeFunctionResult( 'maxTimeVariation', returnData - )[0], + ), }, multicall.getBlockNumberInput(), multicall.getCurrentBlockTimestampInput(), From 57f3957d962af409ba10cb4ff1aabda13af37a9e Mon Sep 17 00:00:00 2001 From: Facundo De Lorenzo Date: Fri, 2 Aug 2024 18:30:48 -0300 Subject: [PATCH 2/4] cast on maxTimeVariation call --- src/lib/inbox/inbox.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/inbox/inbox.ts b/src/lib/inbox/inbox.ts index 24d7708fd..e81775e9c 100644 --- a/src/lib/inbox/inbox.ts +++ b/src/lib/inbox/inbox.ts @@ -215,7 +215,12 @@ export class InboxTools { sequencerInbox.interface.decodeFunctionResult( 'maxTimeVariation', returnData - ), + ) as [BigNumber, BigNumber, BigNumber, BigNumber] & { + delayBlocks: BigNumber + futureBlocks: BigNumber + delaySeconds: BigNumber + futureSeconds: BigNumber + }, //casted until sync with @arbitrum/nitro-contracts }, multicall.getBlockNumberInput(), multicall.getCurrentBlockTimestampInput(), From ec20488471664fcc317bff1efae6b3fa327a157e Mon Sep 17 00:00:00 2001 From: Facundo De Lorenzo Date: Mon, 12 Aug 2024 10:43:12 -0300 Subject: [PATCH 3/4] fix cast type on maxTimeVariation call --- src/lib/inbox/inbox.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/inbox/inbox.ts b/src/lib/inbox/inbox.ts index e81775e9c..413948d1d 100644 --- a/src/lib/inbox/inbox.ts +++ b/src/lib/inbox/inbox.ts @@ -215,12 +215,7 @@ export class InboxTools { sequencerInbox.interface.decodeFunctionResult( 'maxTimeVariation', returnData - ) as [BigNumber, BigNumber, BigNumber, BigNumber] & { - delayBlocks: BigNumber - futureBlocks: BigNumber - delaySeconds: BigNumber - futureSeconds: BigNumber - }, //casted until sync with @arbitrum/nitro-contracts + ) as Awaited>, //casted until sync with @arbitrum/nitro-contracts }, multicall.getBlockNumberInput(), multicall.getCurrentBlockTimestampInput(), From 3a7cb15a6f283198b0362f27eee474f0a8269339 Mon Sep 17 00:00:00 2001 From: Facundo De Lorenzo Date: Mon, 12 Aug 2024 10:47:49 -0300 Subject: [PATCH 4/4] fixed own email to commit for CLA --- src/lib/inbox/inbox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/inbox/inbox.ts b/src/lib/inbox/inbox.ts index 413948d1d..dc3c666d1 100644 --- a/src/lib/inbox/inbox.ts +++ b/src/lib/inbox/inbox.ts @@ -215,7 +215,7 @@ export class InboxTools { sequencerInbox.interface.decodeFunctionResult( 'maxTimeVariation', returnData - ) as Awaited>, //casted until sync with @arbitrum/nitro-contracts + ) as Awaited>, }, multicall.getBlockNumberInput(), multicall.getCurrentBlockTimestampInput(),