From 13e0a4d497117adb79f6cce9b809cc91be18f860 Mon Sep 17 00:00:00 2001 From: Asa Oines Date: Mon, 25 Jul 2022 17:03:59 -0400 Subject: [PATCH] Fix minor bug in InterchainGasCalculator (#823) Co-authored-by: Asa Oines --- typescript/sdk/src/gas/calculator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/sdk/src/gas/calculator.ts b/typescript/sdk/src/gas/calculator.ts index a0136e774..a09a83a89 100644 --- a/typescript/sdk/src/gas/calculator.ts +++ b/typescript/sdk/src/gas/calculator.ts @@ -288,7 +288,7 @@ export class InterchainGasCalculator { to: utils.bytes32ToAddress(message.recipient), from: destinationInbox.address, data: handlerInterface.encodeFunctionData('handle', [ - message.origin, + chainMetadata[message.origin].id, message.sender, message.body, ]),