Skip to content

Commit

Permalink
Merge pull request #4231 from stacks-network/feat/pox-4-initial-clari…
Browse files Browse the repository at this point in the history
…ty-tests

PoX-4 Clarunit Setup & Initial Tests
  • Loading branch information
wileyj committed Mar 4, 2024
2 parents 383d586 + a9ef3ba commit 0a4a6d3
Show file tree
Hide file tree
Showing 8 changed files with 2,050 additions and 325 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/stacks-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,10 @@ jobs:
id: codecov
uses: stacks-network/actions/codecov@main
with:
fail_ci_if_error: true
test-name: ${{ matrix.test-name }}
upload-only: true
filename: ./lcov.info
filename: ./contrib/core-contract-tests/lcov.info

# Core contract tests on Clarinet v1
# Check for false positives/negatives
Expand Down
3 changes: 2 additions & 1 deletion contrib/core-contract-tests/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ npm-debug.log*
coverage
*.info
costs-reports.json
node_modules
node_modules
history.txt
28 changes: 22 additions & 6 deletions contrib/core-contract-tests/Clarinet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ path = "../../stackslib/src/chainstate/stacks/boot/bns.clar"
depends_on = []
epoch = 2.4

[contracts.pox-4]
path = "../../stackslib/src/chainstate/stacks/boot/pox-4.clar"
depends_on = []
clarity = 2
epoch = 2.4

[contracts.signers]
path = "../../stackslib/src/chainstate/stacks/boot/signers.clar"
depends_on = []
Expand All @@ -27,3 +21,25 @@ path = "../../stackslib/src/chainstate/stacks/boot/signers-voting.clar"
depends_on = []
clarity = 2
epoch = 2.4

[contracts.pox-4]
path = "../../stackslib/src/chainstate/stacks/boot/pox-4.clar"
clarity_version = 2
epoch = 2.4
depends_on = ["pox-mainnet"]

[contracts.pox-mainnet]
path = "../../stackslib/src/chainstate/stacks/boot/pox-mainnet.clar"
clarity_version = 2
epoch = 2.4
depends_on = []

[contracts.bns_test]
path = "./tests/bns_test.clar"
clarity_version = 2
epoch = 2.4

[contracts.pox_4_test]
path = "./tests/pox_4_test.clar"
clarity_version = 2
epoch = 2.4
Loading

0 comments on commit 0a4a6d3

Please sign in to comment.