Skip to content

Commit

Permalink
Set custom config for Gelato sender (#885)
Browse files Browse the repository at this point in the history
Depends on: mezo-org/passport#149
Closes: #866 

Extend the timeout for checking the transaction result for Gelato.
  • Loading branch information
kkosiorowska authored Nov 26, 2024
2 parents 1d32751 + 6b758df commit bad4608
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 14 deletions.
2 changes: 1 addition & 1 deletion dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@emotion/styled": "^11.11.0",
"@ledgerhq/wallet-api-acre-module": "0.1.0",
"@ledgerhq/wallet-api-client": "1.6.0",
"@orangekit/react": "1.0.0-beta.33",
"@orangekit/react": "1.0.0-beta.34",
"@orangekit/sign-in-with-wallet": "1.0.0-beta.6",
"@reduxjs/toolkit": "^2.2.0",
"@rehooks/local-storage": "^2.4.5",
Expand Down
39 changes: 28 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"dependencies": {
"@acre-btc/contracts": "workspace:*",
"@keep-network/tbtc-v2.ts": "2.5.0-dev.3",
"@orangekit/sdk": "1.0.0-beta.18",
"@orangekit/sdk": "1.0.0-beta.19",
"ethers": "6.10.0",
"ethers-v5": "npm:ethers@^5.5.2"
}
Expand Down
4 changes: 3 additions & 1 deletion sdk/src/acre.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ class Acre {
const orangeKit = await OrangeKitSdk.init(
Number(ethereumChainId),
ethereumRpcUrl,
new GelatoTransactionSender(gelatoApiKey),
new GelatoTransactionSender(gelatoApiKey, {
backoffRetrier: { retries: 7, backoffStepMs: 3000 },
}),
)

const contracts = await getEthereumContracts(
Expand Down

0 comments on commit bad4608

Please sign in to comment.