Repository navigation
fix(contracts): regenerate stale contract interface artifacts - #1579
Open
AlphaMaleBaDI wants to merge 1 commit into
Open
AlphaMaleBaDI wants to merge 1 commit into
AlphaMaleBaDI wants to merge 1 commit into
Conversation
The committed artifacts drifted from contracts/lib.rs and contracts/errors.rs: the AlreadyClaimed error (code 22), the ClaimEpoch/LastClaimEpoch storage keys, and several error doc strings were missing. Because CI runs verify:data-integrity, this drift fails the build and data-integrity jobs on every branch, including main.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm run verify:data-integritycurrently fails on every branch, includingmainat044976e:The committed artifacts have drifted from
contracts/lib.rsandcontracts/errors.rs. This PR is the output of running the generator — no hand edits.What drifted
AlreadyClaimed(error code22) was never generated into the interfaceClaimEpochandLastClaimEpochstorage keys were missingdocstrings were staleChanges
contracts/interface/splitnaira.contract-interface.jsonbackend/src/generated/contract-types.tsAlreadyClaimed: 22frontend/src/generated/contract-types.tsAlreadyClaimed: 22Validation
Why this is worth merging on its own
This failure is red on
mainand blocks thebuildanddata-integrityjobs for every pull request in the repository, including PRs that do not touch contracts. Fixing it here unblocks everyone.Related: #362 (the CI gate that detects this drift).
No linked issue — this is artifact drift, not a feature.