From 06e4d50f04bb2c86886667b82ff545e86ab78369 Mon Sep 17 00:00:00 2001 From: imelon2 Date: Thu, 17 Oct 2024 18:40:32 +0900 Subject: [PATCH] fix params overrides in ParentToChildMessageWriter cancel(), keppAlive() --- src/lib/message/ParentToChildMessage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/message/ParentToChildMessage.ts b/src/lib/message/ParentToChildMessage.ts index df0d4ab12..3eba65033 100644 --- a/src/lib/message/ParentToChildMessage.ts +++ b/src/lib/message/ParentToChildMessage.ts @@ -714,7 +714,7 @@ export class ParentToChildMessageWriter extends ParentToChildMessageReader { ARB_RETRYABLE_TX_ADDRESS, this.chainSigner ) - return await arbRetryableTx.cancel(this.retryableCreationId, overrides) + return await arbRetryableTx.cancel(this.retryableCreationId, {...overrides}) } else { throw new ArbSdkError( `Cannot cancel as retryable does not exist. Message status: ${ @@ -739,7 +739,7 @@ export class ParentToChildMessageWriter extends ParentToChildMessageReader { ARB_RETRYABLE_TX_ADDRESS, this.chainSigner ) - return await arbRetryableTx.keepalive(this.retryableCreationId, overrides) + return await arbRetryableTx.keepalive(this.retryableCreationId, {...overrides}) } else { throw new ArbSdkError( `Cannot keep alive as retryable does not exist. Message status: ${