diff --git a/typescript/helloworld/src/app/app.ts b/typescript/helloworld/src/app/app.ts index be7e03782..b6c8a4a1d 100644 --- a/typescript/helloworld/src/app/app.ts +++ b/typescript/helloworld/src/app/app.ts @@ -1,4 +1,4 @@ -import { BigNumber, ethers } from 'ethers'; +import { ethers } from 'ethers'; import { TypedListener } from '@abacus-network/core/dist/common'; import { @@ -19,7 +19,6 @@ export class HelloWorldApp< from: From, to: Remotes, message: string, - value: BigNumber, receiveHandler?: TypedListener, ): Promise { const sender = this.getContracts(from).router; @@ -37,7 +36,6 @@ export class HelloWorldApp< const tx = await sender.sendHelloWorld(toDomain, message, { ...chainConnection.overrides, gasLimit, - value, }); const receipt = await tx.wait(chainConnection.confirmations); diff --git a/typescript/infra/scripts/helloworld/kathy.ts b/typescript/infra/scripts/helloworld/kathy.ts index 91393efc2..25a49f71c 100644 --- a/typescript/infra/scripts/helloworld/kathy.ts +++ b/typescript/infra/scripts/helloworld/kathy.ts @@ -106,16 +106,8 @@ async function sendMessage( gasCalc: InterchainGasCalculator, ) { const msg = 'Hello!'; - const expected = { - origin, - destination, - sender: app.getContracts(origin).router.address, - recipient: app.getContracts(destination).router.address, - body: msg, - }; - const value = await gasCalc.estimatePaymentForMessage(expected); console.log(`Sending message from ${origin} to ${destination}`); - const receipt = await app.sendHelloWorld(origin, destination, msg, value); + const receipt = await app.sendHelloWorld(origin, destination, msg); console.log(JSON.stringify(receipt.events || receipt.logs)); }