Skip to content

update compatible tests#3255

Merged
mkoura merged 1 commit intomasterfrom
update-compatible-tests
Mar 13, 2026
Merged

update compatible tests#3255
mkoura merged 1 commit intomasterfrom
update-compatible-tests

Conversation

@OlufemiAdeOlusile
Copy link
Collaborator

update compatible tests

@OlufemiAdeOlusile OlufemiAdeOlusile marked this pull request as ready for review January 7, 2026 10:41
@mkoura mkoura force-pushed the update-compatible-tests branch 3 times, most recently from 0ec142e to 6f1536f Compare March 12, 2026 17:17
@mkoura mkoura requested a review from Copilot March 12, 2026 17:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Conway-era negative/compatibility tests to use cluster.g_compatible helpers across multiple legacy eras, ensuring legacy-era artifacts are rejected when submitted in Conway.

Changes:

  • Parameterize several negative tests over legacy eras (Shelley → Babbage) and generate artifacts via cluster.g_compatible.<era>.
  • Refactor MIR certificate test to build/sign via compatible-era transaction helpers and assert Conway submission failure.
  • Add new negative coverage for mixing legacy artifacts with Conway transactions (pool registration, stake registration/delegation, mixed governance/certs).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
cardano_node_tests/tests/tests_conway/test_treasury_withdrawals.py Refactors MIR certificate negative test to use compatible era APIs and expands across legacy eras.
cardano_node_tests/tests/tests_conway/test_pparam_update.py Generates legacy update proposals via compatible CLI across eras and asserts Conway rejection.
cardano_node_tests/tests/tests_conway/test_conway.py Adds negative test mixing legacy governance artifact with Conway vote delegation cert.
cardano_node_tests/tests/test_pools.py Adds negative test for legacy pool registration submission in Conway; adjusts pool user funding.
cardano_node_tests/tests/test_delegation.py Adds negative test that legacy delegation certs are rejected in Conway.
cardano_node_tests/tests/test_addr_registration.py Adds negative test that legacy stake registration certs are rejected in Conway.
cardano_node_tests/tests/issues.py Adds blocker metadata for cardano-cli issue #1347.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@mkoura mkoura force-pushed the update-compatible-tests branch from 6f1536f to 562682b Compare March 13, 2026 12:04
- Add negative tests to ensure legacy stake address registration, delegation, pool registration, governance proposals, and MIR certificates are rejected in Conway.
- Parametrize tests across all compatible legacy eras (Shelley, Allegra, Mary, Alonzo, Babbage).
- Expect transaction submission to fail with a "TextEnvelope type error" or era mismatch error.
- Remove obsolete tests for legacy proposal build with Conway CLI.
- Add issue marker for cli issue 1347 (Compat stake reg cert accepted without deposit amount).
@mkoura mkoura force-pushed the update-compatible-tests branch from 562682b to fff6cf5 Compare March 13, 2026 12:07
@mkoura mkoura merged commit bbefe9f into master Mar 13, 2026
3 checks passed
@mkoura mkoura deleted the update-compatible-tests branch March 13, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants