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, ]),