-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAnchor.toml
48 lines (36 loc) · 1.3 KB
/
Anchor.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[toolchain]
[workspace]
members = ["solana/programs/*"]
types = "sdk/solana/tbrv3/idl"
[features]
resolution = true
skip-lint = true
[programs.localnet]
#token_bridge_relayer = "7TLiBkpDGshV4o3jmacTCx93CLkmo3VjZ111AsijN9f8"
[test]
upgradeable = true
[test.validator]
deactivate_feature = ["EenyoWx9UMXYKpR8mW5Jmfmy2fRjzUtM7NduYMY8bx33"]
#[[test.genesis]]
#address = "CefQJaxQTV28gCf4MMd1PgDHgCcRmuEHZgXZwjJReUY3"
#program = "../relayer-infra-contracts/src/solana/target/sbf-solana-solana/release/solana_price_oracle.so"
[[test.genesis]]
name = "wormhole-core"
address = "3u8hJUVTA4jH1wYAyUur7FFZVQ8H635K3tSHHF4ssjQ5" # Testnet in lib.rs
program = "solana/tests/bridge.so" # Wormhole Core program
[[test.genesis]]
name = "wormhole-bridge"
address = "DZnkkTmCiFWfYTfT41X3Rd1kDgozqzxWaHqsw6W4x2oe" # Testnet in lib.rs
program = "solana/tests/token_bridge.so"
[[test.genesis]]
name = "mpl-token-metadata"
address = "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
program = "solana/tests/token_metadata.so"
[registry]
url = "https://api.apr.dev"
[provider]
cluster = "localnet"
wallet = "./target/deploy/token_bridge_relayer-keypair.json"
[scripts]
setup-test = "cargo build-sbf -- -p solana-price-oracle --target-dir target"
test = "yarn run mocha -t 1000000 solana/tests/token-bridge-relayer-tests.ts"