Skip to content

Commit

Permalink
Updates for registry publishing (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante authored Aug 9, 2021
1 parent da89ca4 commit 2e81b62
Show file tree
Hide file tree
Showing 7 changed files with 229 additions and 123 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ rust:
env:
global:
- NODE_VERSION="v14.7.0"
- SOLANA_VERSION="v1.6.9"
- ANCHOR_VERSION="v0.7.0"
- SOLANA_VERSION="v1.7.8"
- ANCHOR_VERSION="v0.13.0"
git:
submodules: true

Expand Down
15 changes: 13 additions & 2 deletions Anchor.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
anchor_version = "0.13.0"

[workspace]
members = [
"programs/swap",
]

[provider]
cluster = "localnet"
wallet = "~/.config/solana/id.json"

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

[[test.genesis]]
address = "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin"
program = "./deps/serum-dex/dex/target/deploy/serum_dex.so"

[scripts]
test = "mocha -t 1000000 tests/"
Loading

0 comments on commit 2e81b62

Please sign in to comment.