Skip to content

Commit 1e5f6d6

Browse files
committed
solana/wormhole-anchor-sdk: chain-id
1 parent 1512478 commit 1e5f6d6

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

solana/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

solana/modules/wormhole-anchor-sdk/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ homepage = "https://github.com/wormhole-foundation/wormhole-scaffolding"
99
repository = "https://github.com/wormhole-foundation/wormhole-scaffolding"
1010

1111
[features]
12-
default = []
12+
default = ["chain-id"]
1313
mainnet = ["wormhole-svm-definitions/solana"]
1414
solana-devnet = ["wormhole-svm-definitions/solana", "wormhole-svm-definitions/testnet"]
1515
tilt-devnet = ["wormhole-svm-definitions/solana", "wormhole-svm-definitions/localnet"]
1616
from-env = ["wormhole-svm-definitions/from-env"]
17+
chain-id = ["wormhole-svm-definitions/chain-id"]
1718
token-bridge = ["wormhole-svm-definitions/token-bridge"]
1819
idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"]
1920

@@ -24,7 +25,8 @@ no-custom-discriminator = []
2425
[dependencies]
2526
anchor-lang = { version = "0" }
2627
anchor-spl = { version = "0" }
27-
wormhole-svm-definitions = { git = "https://github.com/wormhole-foundation/wormhole", rev = "d8f6acc2c533000c955a1a86d0690271ad6733d9" } # TODO: update once https://github.com/wormhole-foundation/wormhole/pull/4559 is merged
28+
# NOTE: this is the `main` commit at the time of writing.
29+
wormhole-svm-definitions = { git = "https://github.com/wormhole-foundation/wormhole", rev = "325cca4b628f17536f54b079eeb82b41247bfbef" }
2830
cfg-if = "1.0.0"
2931
wormhole-io = { workspace = true }
3032

0 commit comments

Comments
 (0)