Skip to content

Commit 858c37b

Browse files
Bump @wormhole-foundation/sdk-route-ntt from 2.0.0 to 3.0.2 (#63)
Bumps [@wormhole-foundation/sdk-route-ntt](https://github.com/wormhole-foundation/native-token-transfers) from 2.0.0 to 3.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/wormhole-foundation/native-token-transfers/releases"><code>@​wormhole-foundation/sdk-route-ntt</code>'s releases</a>.</em></p> <blockquote> <h2>v3.0.0+solana</h2> <p><code>v3.0.0+solana</code> adds several new features to the NTT Solana implementation:</p> <ul> <li>Solana Multi-Transceiver support</li> <li>SPL Multisig support</li> <li>Ability to transfer mint authority after deployment</li> <li>Ability to update peers</li> <li>Smaller enhancements &amp; optimizations</li> </ul> <p>The Solana smart contracts for this release were audited by Ottersec. The reports can be found here:</p> <ul> <li><a href="https://github.com/wormhole-foundation/wormhole-audits/blob/main/2025-04-18-wormhole-ottersec-ntt-v3.pdf">https://github.com/wormhole-foundation/wormhole-audits/blob/main/2025-04-18-wormhole-ottersec-ntt-v3.pdf</a></li> <li><a href="https://github.com/wormhole-foundation/wormhole-audits/blob/main/2025-05-05-wormhole-ottersec-ntt-v3-solana.pdf">https://github.com/wormhole-foundation/wormhole-audits/blob/main/2025-05-05-wormhole-ottersec-ntt-v3-solana.pdf</a></li> </ul> <h2>What's Changed</h2> <ul> <li>solana: Multi Transceiver Support by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/528">wormhole-foundation/native-token-transfers#528</a></li> <li>solana: make peers upgradable by <a href="https://github.com/evgeniko"><code>@​evgeniko</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/559">wormhole-foundation/native-token-transfers#559</a></li> <li>solana: Allow transferring mint authority by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/570">wormhole-foundation/native-token-transfers#570</a></li> <li>solana: Add SPL multisig support by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/568">wormhole-foundation/native-token-transfers#568</a></li> <li>solana: Handle transferring mint authority using SPL Multisig by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/587">wormhole-foundation/native-token-transfers#587</a></li> <li>solana: Add <code>set_threshold</code> ix by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/589">wormhole-foundation/native-token-transfers#589</a></li> <li>solana: Update documentation for v3.0.0 changes by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/592">wormhole-foundation/native-token-transfers#592</a></li> <li>solana: Remove <code>*_multisig</code> instruction variants by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/593">wormhole-foundation/native-token-transfers#593</a></li> <li>solana: Fix rate limit reset on peer upgrade by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/607">wormhole-foundation/native-token-transfers#607</a></li> <li>solana: Make <code>initialize_lut</code> instruction permissioned by <code>owner</code> by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/608">wormhole-foundation/native-token-transfers#608</a></li> <li>solana: Skip upgrade authority CPI if current owner is <code>upgrade_lock</code> by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/617">wormhole-foundation/native-token-transfers#617</a></li> <li>solana: Have <code>written_size</code> match actual size written for <code>TransceiverMessage</code>, <code>WormholeTransceiverInfo</code>, and <code>WormholeTransceiverRegistration</code> by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/621">wormhole-foundation/native-token-transfers#621</a></li> <li>solana: Prevent <code>rent_payer</code> from being overwritten in consecutive <code>set_token_authority</code> calls by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/614">wormhole-foundation/native-token-transfers#614</a></li> <li>solana: Remove unused <code>transceiver</code> account in <code>DeregisterTransceiver</code> struct by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/616">wormhole-foundation/native-token-transfers#616</a></li> <li>solana: Ensure <code>SetPeerArgs.chain_id != config.chain_id</code> in <code>set_peer</code> by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/native-token-transfers/pull/615">wormhole-foundation/native-token-transfers#615</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/wormhole-foundation/native-token-transfers/compare/v2.1.0+solana...v3.0.0+solana">https://github.com/wormhole-foundation/native-token-transfers/compare/v2.1.0+solana...v3.0.0+solana</a></p> <h2>v2.1.0+solana</h2> <p>This minor release adds a new instruction, <code>transfer_ownership_one_step_unchecked</code>, that allows transferring ownership of the Solana program in a single step.</p> <p>Contributors also added more tests and a number of security enhancements to this release.</p> <h2>What's Changed (Solana-related)</h2> <ul> <li>solana: Add Rust test cases to handle tokens with transfer fee by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/489">wormhole-foundation/example-native-token-transfers#489</a></li> <li>sdk: Added resume transfer methods to routes by <a href="https://github.com/kev1n-peters"><code>@​kev1n-peters</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/487">wormhole-foundation/example-native-token-transfers#487</a></li> <li>CI: disable rust toolchain cache by <a href="https://github.com/kcsongor"><code>@​kcsongor</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/497">wormhole-foundation/example-native-token-transfers#497</a></li> <li>solana: Update fee token comment to include required burn changes by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/493">wormhole-foundation/example-native-token-transfers#493</a></li> <li>CI: Fix EVM and Solana Cargo SBF CI by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/501">wormhole-foundation/example-native-token-transfers#501</a></li> <li>solana: Add or_fun_call clippy lint for efficiency gains by <a href="https://github.com/johnsaigle"><code>@​johnsaigle</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/452">wormhole-foundation/example-native-token-transfers#452</a></li> <li>solana: Deny rust clippy warnings in Cargo.toml by <a href="https://github.com/johnsaigle"><code>@​johnsaigle</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/331">wormhole-foundation/example-native-token-transfers#331</a></li> <li>sdk: bump wormhole-sdk version by <a href="https://github.com/kev1n-peters"><code>@​kev1n-peters</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/498">wormhole-foundation/example-native-token-transfers#498</a></li> <li>solana: Clippy: allow unwrap/expect in tests by <a href="https://github.com/johnsaigle"><code>@​johnsaigle</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/315">wormhole-foundation/example-native-token-transfers#315</a></li> <li>solana: Configure clippy to deny possible truncation by <a href="https://github.com/johnsaigle"><code>@​johnsaigle</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/285">wormhole-foundation/example-native-token-transfers#285</a></li> <li>examples: fetch vaa for last tx hash by <a href="https://github.com/kev1n-peters"><code>@​kev1n-peters</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/496">wormhole-foundation/example-native-token-transfers#496</a></li> <li>Makefile: Add Solana Makefile targets to top-level dir by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/502">wormhole-foundation/example-native-token-transfers#502</a></li> <li>solana: Add anchor linting by <a href="https://github.com/nvsriram"><code>@​nvsriram</code></a> in <a href="https://redirect.github.com/wormhole-foundation/example-native-token-transfers/pull/507">wormhole-foundation/example-native-token-transfers#507</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/wormhole-foundation/native-token-transfers/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@wormhole-foundation/sdk-route-ntt&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=3.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 6fb75b5 commit 858c37b

2 files changed

Lines changed: 33 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@wormhole-foundation/sdk": "3.4.1",
77
"@wormhole-foundation/sdk-definitions-ntt": "2.0.0",
88
"@wormhole-foundation/sdk-evm-ntt": "2.0.0",
9-
"@wormhole-foundation/sdk-route-ntt": "2.0.0",
9+
"@wormhole-foundation/sdk-route-ntt": "3.0.2",
1010
"@wormhole-foundation/sdk-solana-ntt": "2.0.0",
1111
"@wormhole-foundation/sdk-sui-ntt": "2.0.0",
1212
"dotenv": "^16.4.5",

yarn.lock

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,11 @@
11381138
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-definitions-ntt/-/sdk-definitions-ntt-2.0.0.tgz#8e6f2b90c341a83d5a319ffca722a8f641ece8c8"
11391139
integrity sha512-PDmk2tUl9BZi2inxLR90IKJwjryd2lFjkJYKu1xTHBUVXbd8TwsIu7X0qx2N0GVlbxUh4e7ht7bSxwk+z9GslA==
11401140

1141+
"@wormhole-foundation/sdk-definitions-ntt@3.0.2":
1142+
version "3.0.2"
1143+
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-definitions-ntt/-/sdk-definitions-ntt-3.0.2.tgz#b72fea5e29e562b23f1d126036691cec5c53c9d2"
1144+
integrity sha512-Hs3IzlRxCtcNLMOaQPpvPLKDt7bYSCz72MaXcB54mccWgUi2RHnuldiT7f8SWDcWnv91bm8JqyPuCBYKzSH1Yg==
1145+
11411146
"@wormhole-foundation/sdk-definitions@3.4.1":
11421147
version "3.4.1"
11431148
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-definitions/-/sdk-definitions-3.4.1.tgz#58dac7a5b3435f8c7f2b00c0fda4500e3afd92fd"
@@ -1174,6 +1179,14 @@
11741179
"@wormhole-foundation/sdk-definitions-ntt" "2.0.0"
11751180
ethers "^6.5.1"
11761181

1182+
"@wormhole-foundation/sdk-evm-ntt@3.0.2":
1183+
version "3.0.2"
1184+
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-evm-ntt/-/sdk-evm-ntt-3.0.2.tgz#84902c9424ee20c1a3d3498b31eeb7ab87c5f883"
1185+
integrity sha512-TVEEZ4RgyVYmOgVtjXDUg7gpty9uSTUHeaJUHsV2imqWvoM3dmIBUOAE8riaiwCeXBIeGAT/wFI1cjnIKvcy7A==
1186+
dependencies:
1187+
"@wormhole-foundation/sdk-definitions-ntt" "3.0.2"
1188+
ethers "^6.5.1"
1189+
11771190
"@wormhole-foundation/sdk-evm-portico@3.4.1":
11781191
version "3.4.1"
11791192
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-evm-portico/-/sdk-evm-portico-3.4.1.tgz#e3748b8df6c02467d0bd5cf153d32cd327d46ab4"
@@ -1213,14 +1226,14 @@
12131226
"@wormhole-foundation/sdk-connect" "3.4.1"
12141227
ethers "^6.5.1"
12151228

1216-
"@wormhole-foundation/sdk-route-ntt@2.0.0":
1217-
version "2.0.0"
1218-
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-route-ntt/-/sdk-route-ntt-2.0.0.tgz#3e5051ca2926548f17f20609f1b23ff4b79dd33c"
1219-
integrity sha512-AiKjVwtrQUxkWoORwI4O6favRgsD0DRaFIBHq9tXC9uALh1nANqiqFAVKUzr7q1sUf9KECq8neP3ZOy8v1Femw==
1229+
"@wormhole-foundation/sdk-route-ntt@3.0.2":
1230+
version "3.0.2"
1231+
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-route-ntt/-/sdk-route-ntt-3.0.2.tgz#fa2ba5b42dd4985b2a70b2f46cac6161e06d4a8f"
1232+
integrity sha512-7f4Sn0/Gijrbmq9sezZLFwQw/M1jp/o3iUgBrDbg4k4SSNEdo8auRiJQ4MBcCTzdVY2exWx35qTfqOkoBaqIkw==
12201233
dependencies:
1221-
"@wormhole-foundation/sdk-definitions-ntt" "2.0.0"
1222-
"@wormhole-foundation/sdk-evm-ntt" "2.0.0"
1223-
"@wormhole-foundation/sdk-solana-ntt" "2.0.0"
1234+
"@wormhole-foundation/sdk-definitions-ntt" "3.0.2"
1235+
"@wormhole-foundation/sdk-evm-ntt" "3.0.2"
1236+
"@wormhole-foundation/sdk-solana-ntt" "3.0.2"
12241237

12251238
"@wormhole-foundation/sdk-solana-cctp@3.4.1":
12261239
version "3.4.1"
@@ -1256,6 +1269,18 @@
12561269
"@wormhole-foundation/sdk-definitions-ntt" "2.0.0"
12571270
bn.js "5.2.1"
12581271

1272+
"@wormhole-foundation/sdk-solana-ntt@3.0.2":
1273+
version "3.0.2"
1274+
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-solana-ntt/-/sdk-solana-ntt-3.0.2.tgz#bc1632bac512e57670f6151ee35a560d6120dddf"
1275+
integrity sha512-kpO203Vitg6T6/ZovnQ32P2PbaAgdAy6+zVpCe0+/IJnaFnY3BhkrY8/h7Xhb3TKXLscGAFy99vgJ+fJMnsjvA==
1276+
dependencies:
1277+
"@coral-xyz/anchor" "0.29.0"
1278+
"@coral-xyz/borsh" "0.29.0"
1279+
"@solana/spl-token" "0.4.0"
1280+
"@solana/web3.js" "^1.95.8"
1281+
"@wormhole-foundation/sdk-definitions-ntt" "3.0.2"
1282+
bn.js "5.2.1"
1283+
12591284
"@wormhole-foundation/sdk-solana-tbtc@3.4.1":
12601285
version "3.4.1"
12611286
resolved "https://registry.yarnpkg.com/@wormhole-foundation/sdk-solana-tbtc/-/sdk-solana-tbtc-3.4.1.tgz#1940a3cc511282a1d5956877c8b84ca956dc2d01"

0 commit comments

Comments
 (0)