Skip to content

Commit

Permalink
Merge pull request #2663 from IntersectMBO/check_prot_version_hf
Browse files Browse the repository at this point in the history
feat(tests): add assertion for protocol major version
  • Loading branch information
mkoura authored Oct 2, 2024
2 parents 577a00b + ee7d242 commit 95bafd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cardano_node_tests/tests/tests_conway/test_hardfork.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ def test_hardfork(
assert rat_gov_state["nextRatifyState"]["ratificationDelayed"], "Ratification not delayed"
reqc.cip038_07.success()

assert (
rat_gov_state["currentPParams"]["protocolVersion"]["major"] == 9
), "Incorrect major version"

# Check enactment
enact_epoch = cluster.wait_for_epoch(epoch_no=init_epoch + 2, padding_seconds=5)
enact_gov_state = cluster.g_conway_governance.query.gov_state()
Expand Down

0 comments on commit 95bafd3

Please sign in to comment.