Skip to content

fix: rename contract class getters to reflect origina vs current#24140

Merged
nventuro merged 2 commits into
merge-train/fairies-v5from
nico/f-731-address-get_contract_class-issue
Jun 16, 2026
Merged

fix: rename contract class getters to reflect origina vs current#24140
nventuro merged 2 commits into
merge-train/fairies-v5from
nico/f-731-address-get_contract_class-issue

Conversation

@nventuro

Copy link
Copy Markdown
Contributor

In private we return the original class, but in public the current one. The function names and docs did not properly specify which was which, and PXE contained a bug in which it returned the current in public, which would've caused for any upgraded contract to fail. This addresses all of these things.

@nventuro nventuro requested a review from nchamo June 16, 2026 18:10
@nventuro nventuro requested a review from LeilaWang as a code owner June 16, 2026 18:10
@nventuro nventuro removed the request for review from LeilaWang June 16, 2026 18:10
@AztecBot

Copy link
Copy Markdown
Collaborator

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/f9a12d358fad8e71�f9a12d358fad8e718;;�): yarn-project/end-to-end/scripts/run_test.sh ha src/composed/ha/e2e_ha_full.parallel.test.ts "should not delete recent stuck duties via cleanupOwnStuckDuties when node clock is ahead" (39s) (code: 0)

@nchamo nchamo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Now it's definitely easier to understand

@nventuro nventuro merged commit 272f4fc into merge-train/fairies-v5 Jun 16, 2026
12 checks passed
@nventuro nventuro deleted the nico/f-731-address-get_contract_class-issue branch June 16, 2026 21:38
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