Skip to content

Commit

Permalink
fix: upgrade decentraland-transactions (#2350)
Browse files Browse the repository at this point in the history
* fix: upgrade decentraland-transactions

* fix: typing issues
  • Loading branch information
cazala authored Jan 9, 2025
1 parent b4c5dd4 commit a6b721b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
14 changes: 8 additions & 6 deletions webapp/package-lock.json

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

4 changes: 2 additions & 2 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"decentraland-connect": "^7.3.2",
"decentraland-crypto-fetch": "^1.0.3",
"decentraland-dapps": "^23.22.0",
"decentraland-transactions": "^2.18.0",
"decentraland-transactions": "^2.18.1",
"decentraland-ui": "^6.12.1",
"decentraland-ui2": "^0.8.7",
"ethers": "^5.6.8",
Expand Down Expand Up @@ -124,4 +124,4 @@
"type": "git",
"url": "https://github.com/decentraland/marketplace.git"
}
}
}
8 changes: 5 additions & 3 deletions webapp/src/modules/ens/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ export function* ensSaga() {
const { AxelarProvider }: Awaited<typeof crossChainModule> = (yield crossChainModule) as Awaited<typeof crossChainModule>

const crossChainProvider = new AxelarProvider(config.get('SQUID_API_URL'))
const txResponse: ethers.providers.TransactionReceipt = yield call([crossChainProvider, 'executeRoute'], route, provider) as Awaited<
ReturnType<typeof crossChainProvider.executeRoute>
>
const txResponse: ethers.providers.TransactionReceipt = (yield call(
[crossChainProvider, 'executeRoute'],
route,
provider
)) as ethers.providers.TransactionReceipt

yield put(claimNameTransactionSubmitted(name, wallet.address, chainId, txResponse.transactionHash, route))
} catch (error) {
Expand Down

0 comments on commit a6b721b

Please sign in to comment.