hirosystems / stacks-subnets

Stacks Subnets: a layer-2 scaling solution for Stacks, intended for high-throughput, low-latency workloads
http://docs.hiro.so
GNU General Public License v3.0
51 stars 13 forks source link

ci: Update subnet contract version in Clarinet tests #285

Closed jbencin closed 1 year ago

jbencin commented 1 year ago

Description

CI was failing because of the addition of subnet contract versioning. This PR adds the subnet contract version in Clarinet tests

Applicable issues

Additional info (benefits, drawbacks, caveats)

This required changing quite a bit of code. If anyone can think of a better way to do this I'll cancel the PR

Checklist

codecov[bot] commented 1 year ago

Codecov Report

Merging #285 (6391580) into master (5d34657) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   93.40%   93.40%           
=======================================
  Files           6        6           
  Lines         349      349           
=======================================
  Hits          326      326           
  Misses         23       23           
Impacted Files Coverage Δ
core-contracts/contracts/helper/simple-ft.clar 76.47% <ø> (ø)
core-contracts/contracts/helper/simple-nft.clar 73.33% <ø> (ø)
core-contracts/contracts/subnet.clar 96.53% <ø> (ø)
core-contracts/contracts/multi-miner.clar 95.45% <100.00%> (ø)