Skip to content

Commit 2e81b62

Browse files
Updates for registry publishing (#12)
1 parent da89ca4 commit 2e81b62

7 files changed

Lines changed: 229 additions & 123 deletions

File tree

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ rust:
55
env:
66
global:
77
- NODE_VERSION="v14.7.0"
8-
- SOLANA_VERSION="v1.6.9"
9-
- ANCHOR_VERSION="v0.7.0"
8+
- SOLANA_VERSION="v1.7.8"
9+
- ANCHOR_VERSION="v0.13.0"
1010
git:
1111
submodules: true
1212

Anchor.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1+
anchor_version = "0.13.0"
2+
3+
[workspace]
4+
members = [
5+
"programs/swap",
6+
]
7+
18
[provider]
29
cluster = "localnet"
310
wallet = "~/.config/solana/id.json"
411

5-
[clusters.mainnet]
6-
swap = "22Y43yTVxuUkoRKdm9thyRhQ3SdgQS7c7kB6UNCiaczD"
12+
[programs.mainnet]
13+
serum_swap = { address = "22Y43yTVxuUkoRKdm9thyRhQ3SdgQS7c7kB6UNCiaczD", path = "./target/deploy/serum_swap.so", idl = "./target/idl/serum_swap.json" }
14+
serum_dex = { address = "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", path = "./deps/serum-dex/dex/target/deploy/serum_dex.so" }
715

816
[[test.genesis]]
917
address = "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"
1018
program = "./deps/serum-dex/dex/target/deploy/serum_dex.so"
19+
20+
[scripts]
21+
test = "mocha -t 1000000 tests/"

0 commit comments

Comments
 (0)