Skip to content

Commit

Permalink
fix: hub retry and reverse msg value and change order of params (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
gidonkatten authored Sep 16, 2024
1 parent 837ef39 commit 7460a3d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/new-hornets-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@folks-finance/xchain-sdk": patch
---

fix hub retry and reverse msg value and change order of params
4 changes: 2 additions & 2 deletions src/chains/evm/hub/modules/folks-hub-gmp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const write = {
account: getEvmSignerAccount(signer),
chain: signer.chain,
gas: gasLimit,
msgValue,
value: msgValue,
});
},

Expand All @@ -107,7 +107,7 @@ export const write = {
account: getEvmSignerAccount(signer),
chain: signer.chain,
gas: gasLimit,
msgValue,
value: msgValue,
});
},
};
2 changes: 1 addition & 1 deletion src/xchain/modules/folks-gmp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export const prepare = {
async retryMessage(
adapterId: AdapterType,
messageId: MessageId,
value: bigint,
message: MessageReceived,
extraArgs: RetryMessageExtraArgs | undefined,
value: bigint,
isHub = true,
) {
const folksChain = FolksCore.getSelectedFolksChain();
Expand Down

0 comments on commit 7460a3d

Please sign in to comment.