Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK 3.15.0 #178

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"@emotion/styled": "^11.11.0",
"@headlessui/react": "^1.7.14",
"@hyperlane-xyz/registry": "2.1.0",
"@hyperlane-xyz/sdk": "3.13.0",
"@hyperlane-xyz/utils": "3.13.0",
"@hyperlane-xyz/sdk": "3.15.1",
"@hyperlane-xyz/utils": "3.15.1",
"@hyperlane-xyz/widgets": "3.13.1",
"@metamask/jazzicon": "https://github.com/jmrossy/jazzicon#7a8df28974b4e81129bfbe3cab76308b889032a6",
"@metamask/post-message-stream": "6.1.2",
Expand Down
9 changes: 0 additions & 9 deletions src/features/transfer/useTokenTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,6 @@ async function executeTransfer({

const warpCore = getWarpCore();

const isCollateralSufficient = await warpCore.isDestinationCollateralSufficient({
originTokenAmount,
destination,
});
if (!isCollateralSufficient) {
toast.error('Insufficient collateral on destination for transfer');
throw new Error('Insufficient destination collateral');
}

addTransfer({
timestamp: new Date().getTime(),
status: TransferStatus.Preparing,
Expand Down
34 changes: 17 additions & 17 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3752,12 +3752,12 @@ __metadata:
languageName: node
linkType: hard

"@hyperlane-xyz/core@npm:3.13.0":
version: 3.13.0
resolution: "@hyperlane-xyz/core@npm:3.13.0"
"@hyperlane-xyz/core@npm:3.15.1":
version: 3.15.1
resolution: "@hyperlane-xyz/core@npm:3.15.1"
dependencies:
"@eth-optimism/contracts": "npm:^0.6.0"
"@hyperlane-xyz/utils": "npm:3.13.0"
"@hyperlane-xyz/utils": "npm:3.15.1"
"@layerzerolabs/lz-evm-oapp-v2": "npm:2.0.2"
"@openzeppelin/contracts": "npm:^4.9.3"
"@openzeppelin/contracts-upgradeable": "npm:^v4.9.3"
Expand All @@ -3766,7 +3766,7 @@ __metadata:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
"@types/sinon-chai": "*"
checksum: 121eaaa6633fd48e86a7a619608f59c8a50b51418a61f4aa35d79927cfb0e63711ca70e97929b95aa10e9769fb3862592e29760bdca3ac35b5784dff2b5eab10
checksum: bb9926b9c2efff024f4c6189af61c8086dac4f285271f08c16677ef2367a3f77bddfb52aa5cd30ffe363908bad95645ba9311076eae3ef7c4ad77098d851ebfa
languageName: node
linkType: hard

Expand All @@ -3780,15 +3780,15 @@ __metadata:
languageName: node
linkType: hard

"@hyperlane-xyz/sdk@npm:3.13.0":
version: 3.13.0
resolution: "@hyperlane-xyz/sdk@npm:3.13.0"
"@hyperlane-xyz/sdk@npm:3.15.1":
version: 3.15.1
resolution: "@hyperlane-xyz/sdk@npm:3.15.1"
dependencies:
"@aws-sdk/client-s3": "npm:^3.74.0"
"@cosmjs/cosmwasm-stargate": "npm:^0.31.3"
"@cosmjs/stargate": "npm:^0.31.3"
"@hyperlane-xyz/core": "npm:3.13.0"
"@hyperlane-xyz/utils": "npm:3.13.0"
"@hyperlane-xyz/core": "npm:3.15.1"
"@hyperlane-xyz/utils": "npm:3.15.1"
"@safe-global/api-kit": "npm:1.3.0"
"@safe-global/protocol-kit": "npm:1.3.0"
"@solana/spl-token": "npm:^0.3.8"
Expand All @@ -3806,21 +3806,21 @@ __metadata:
peerDependencies:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
checksum: 64ccac54d14e8353a8a276d812a3287ace5513a30f28e26a8416a16a08d277d032a2abf00d09d323e654c37251b34ec3f3cd5e0a3b4165d6a2b938707d42b2c6
checksum: b12d62a1299177cfe950f3513a101469f8a31cc01d59d6462d9e761e23b9318d8fea242a538e7c024b4d5cb9a74d3684a3b39e13b9209f9cb886e7d258cc7add
languageName: node
linkType: hard

"@hyperlane-xyz/utils@npm:3.13.0":
version: 3.13.0
resolution: "@hyperlane-xyz/utils@npm:3.13.0"
"@hyperlane-xyz/utils@npm:3.15.1":
version: 3.15.1
resolution: "@hyperlane-xyz/utils@npm:3.15.1"
dependencies:
"@cosmjs/encoding": "npm:^0.31.3"
"@solana/web3.js": "npm:^1.78.0"
bignumber.js: "npm:^9.1.1"
ethers: "npm:^5.7.2"
pino: "npm:^8.19.0"
yaml: "npm:^2.4.1"
checksum: b9a56fb957b9c30c5b0809a2c269b5fc886559729a3ad8c15b9aff3e2f20e055f357c7606fa79d32fd391ab275de391f1630d0fbe26e48635a2471dbbac8d535
checksum: d812a920320cc920977d76e7edf475af9c21ac5303d2ea839f7e5afa1c678e6bd43fdcfd49c2fa729ff5aaf4713e0946cd732ce7ade85e144f40b1c0a569ee2e
languageName: node
linkType: hard

Expand All @@ -3841,8 +3841,8 @@ __metadata:
"@emotion/styled": "npm:^11.11.0"
"@headlessui/react": "npm:^1.7.14"
"@hyperlane-xyz/registry": "npm:2.1.0"
"@hyperlane-xyz/sdk": "npm:3.13.0"
"@hyperlane-xyz/utils": "npm:3.13.0"
"@hyperlane-xyz/sdk": "npm:3.15.1"
"@hyperlane-xyz/utils": "npm:3.15.1"
"@hyperlane-xyz/widgets": "npm:3.13.1"
"@metamask/jazzicon": "https://github.com/jmrossy/jazzicon#7a8df28974b4e81129bfbe3cab76308b889032a6"
"@metamask/post-message-stream": "npm:6.1.2"
Expand Down
Loading