Skip to content

Commit ac08e0a

Browse files
committed
fix: use separate deployment plan for v1 tests
1 parent f4d9202 commit ac08e0a

File tree

2 files changed

+98
-1
lines changed

2 files changed

+98
-1
lines changed

.github/workflows/stacks-core-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
id: clarinet_unit_test_v1
131131
uses: docker://hirosystems/clarinet:1.7.1
132132
with:
133-
args: test --manifest-path=./contrib/core-contract-tests/Clarinet-v1.toml contrib/core-contract-tests/tests/bns/name_register_test.ts
133+
args: test --manifest-path=./contrib/core-contract-tests/Clarinet-v1.toml contrib/core-contract-tests/tests/bns/name_register_test.ts --deployment-plan-path=./contrib/core-contract-tests/deployments/v1.simnet-plan.yaml
134134

135135
check-tests:
136136
name: Check Tests
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
---
2+
id: 0
3+
name: "Simulated deployment, used as a default for `clarinet console`, `clarinet test` and `clarinet check`"
4+
network: simnet
5+
genesis:
6+
wallets:
7+
- name: deployer
8+
address: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
9+
balance: "100000000000000"
10+
sbtc-balance: "1000000000"
11+
- name: wallet_1
12+
address: ST1SJ3DTE5DN7X54YDH5D64R3BCB6A2AG2ZQ8YPD5
13+
balance: "100000000000000"
14+
sbtc-balance: "1000000000"
15+
- name: wallet_2
16+
address: ST2CY5V39NHDPWSXMW9QDT3HC3GD6Q6XX4CFRK9AG
17+
balance: "100000000000000"
18+
sbtc-balance: "1000000000"
19+
- name: wallet_3
20+
address: ST2JHG361ZXG51QTKY2NQCVBPPRRE2KZB1HR05NNC
21+
balance: "100000000000000"
22+
sbtc-balance: "1000000000"
23+
- name: wallet_4
24+
address: ST2NEB84ASENDXKYGJPQW86YXQCEFEX2ZQPG87ND
25+
balance: "100000000000000"
26+
sbtc-balance: "1000000000"
27+
- name: wallet_5
28+
address: ST2REHHS5J3CERCRBEPMGH7921Q6PYKAADT7JP2VB
29+
balance: "100000000000000"
30+
sbtc-balance: "1000000000"
31+
- name: wallet_6
32+
address: ST3AM1A56AK2C1XAFJ4115ZSV26EB49BVQ10MGCS0
33+
balance: "100000000000000"
34+
sbtc-balance: "1000000000"
35+
- name: wallet_7
36+
address: ST3PF13W7Z0RRM42A8VZRVFQ75SV1K26RXEP8YGKJ
37+
balance: "100000000000000"
38+
sbtc-balance: "1000000000"
39+
- name: wallet_8
40+
address: ST3NBRSFKX28FQ2ZJ1MAKX58HKHSDGNV5N7R21XCP
41+
balance: "100000000000000"
42+
sbtc-balance: "1000000000"
43+
- name: wallet_9
44+
address: STNHKEPYEPJ8ET55ZZ0M5A34J0R3N5FM2CMMMAZ6
45+
balance: "100000000000000"
46+
sbtc-balance: "1000000000"
47+
contracts:
48+
- costs
49+
- pox
50+
- pox-2
51+
- pox-3
52+
- pox-4
53+
- lockup
54+
- costs-2
55+
- costs-3
56+
- cost-voting
57+
- bns
58+
plan:
59+
batches:
60+
- id: 0
61+
transactions:
62+
- emulated-contract-publish:
63+
contract-name: bns
64+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
65+
path: "../../stackslib/src/chainstate/stacks/boot/bns.clar"
66+
clarity-version: 2
67+
- emulated-contract-publish:
68+
contract-name: bns_test
69+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
70+
path: "./tests/bns_test.clar"
71+
clarity-version: 2
72+
- emulated-contract-publish:
73+
contract-name: pox-4
74+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
75+
path: "../../stackslib/src/chainstate/stacks/boot/pox-4.clar"
76+
clarity-version: 2
77+
- emulated-contract-publish:
78+
contract-name: pox-mainnet
79+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
80+
path: "../../stackslib/src/chainstate/stacks/boot/pox-mainnet.clar"
81+
clarity-version: 2
82+
- emulated-contract-publish:
83+
contract-name: pox_4_test
84+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
85+
path: "./tests/pox_4_test.clar"
86+
clarity-version: 2
87+
- emulated-contract-publish:
88+
contract-name: signers
89+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
90+
path: "../../stackslib/src/chainstate/stacks/boot/signers.clar"
91+
clarity-version: 2
92+
- emulated-contract-publish:
93+
contract-name: signers-voting
94+
emulated-sender: ST1PQHQKV0RJXZFY1DGX8MNSNYVE3VGZJSRTPGZGM
95+
path: "../../stackslib/src/chainstate/stacks/boot/signers-voting.clar"
96+
clarity-version: 2
97+
epoch: "2.4"

0 commit comments

Comments
 (0)