Skip to content

Commit 24dbba5

Browse files
committed
Update example sol-anchor-contract #107
1 parent 1202972 commit 24dbba5

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.anchor
2+
.DS_Store
3+
target
4+
**/*.rs.bk
5+
node_modules
6+
test-ledger
7+
program_address.json

examples/sol-anchor-contract/Anchor.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,20 @@ wallet = "~/.config/solana/id.json"
66
sol_anchor_contract = "GFPM2LncpbWiLkePLs3QjcLVPw31B2h23FwFfhig79fh"
77

88
[scripts]
9-
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
9+
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"
10+
11+
[test]
12+
startup_wait = 20000
13+
14+
[[test.genesis]]
15+
address = "GFPM2LncpbWiLkePLs3QjcLVPw31B2h23FwFfhig79fh"
16+
program = "./target/deploy/sol_anchor_contract.so"
17+
18+
[test.validator]
19+
url = "https://api.devnet.solana.com"
20+
21+
[[test.validator.clone]]
22+
address = "EdVCmQ9FSPcVe5YySXDPCRmc8aDQLKJ9xvYBMZPie1Vw"
23+
24+
[[test.validator.clone]]
25+
address = "38xoQ4oeJCBrcVvca2cGk7iV1dAfrmTR1kmhSCJQ8Jto"

0 commit comments

Comments
 (0)