Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit 20d53fb

Browse files
committed
some fixes
1 parent 7608cb5 commit 20d53fb

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/sdk/src/protocols/intentsV2/GasEstimator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class GasEstimator {
9191
dest: souceStateMachineId,
9292
body: constructRedeemEscrowRequestBody({ ...order, id: orderV2Commitment(order) }, MOCK_ADDRESS),
9393
timeoutTimestamp: 0n,
94-
nonce: await this.ctx.source.getHostNonce(),
94+
nonce: await this.ctx.dest.getHostNonce(),
9595
from: this.ctx.source.configService.getIntentGatewayV2Address(destStateMachineId),
9696
to: this.ctx.source.configService.getIntentGatewayV2Address(souceStateMachineId),
9797
}

packages/simplex/src/strategies/basic.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ export class BasicFiller implements FillerStrategy {
417417
chain: walletClient.chain,
418418
gas: callGasLimit + (callGasLimit * 2500n) / 10000n,
419419
})
420-
.catch(async () => {
420+
.catch(async (err) => {
421+
this.logger.error({ err }, "Could not send transaction")
421422
return await walletClient.sendTransaction({
422423
account: this.account,
423424
to: this.account.address,

0 commit comments

Comments
 (0)