Uh oh!
There was an error while loading. Please reload this page.
fix: fail CLI writes on execution errors - #345
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Uh oh!
There was an error while loading. Please reload this page.
The OIDC upload fails on ubuntu/windows independent of this PR (#345 merged with identical failures); tests/build stay blocking.
…he leader's execution result (#346) * fix(contracts)!: require consensus acceptance for success, not just leader execution result - assertSuccessfulExecution now requires status ∈ {ACCEPTED, FINALIZED} via the SDK's isSuccessful in addition to FINISHED_WITH_RETURN: txExecutionResult is the LEADER's result and exists even on UNDETERMINED — previously an undetermined deploy printed 'deployed successfully' with an address that would never materialize - failure messages now name both the consensus outcome and the leader result ('decided as UNDETERMINED (no validator majority); leader execution result: FINISHED_WITH_RETURN') - map VoteType 3 (TIMEOUT) / 4 (NONDET_DISAGREE) with real diagnoses instead of 'did not expose an execution result' - deploy/write use waitUntil: 'decided' (new SDK API) and report the reached consensus status; explicit fee deposits are echoed before sending - callKey derivation deduplicated: import from genlayer-js (incl. new DEPLOY_CALL_KEY for deploy-targeted Mode-2 allocations) * build: pin genlayer-js to the v2 feature branch until the npm release npm 1.1.8 lacks the new fee APIs (isSuccessful, DEPLOY_CALL_KEY, waitUntil), so CI cannot build against it. github:genlayerlabs/genlayer-js#feat/ v06-fee-estimation-rework builds via the SDK's new prepare script (verified: fresh install produces dist + exports). Re-pin to the npm semver once genlayer-js v2 ships (release-sequencing item). * ci: run validate-code on pushes to the v0.40 line Push trigger was pinned to v0.39 — merges to v0.40-dev/v0.40 got no post-merge CI. * ci: make codecov upload non-blocking The OIDC upload fails on ubuntu/windows independent of this PR (#345 merged with identical failures); tests/build stay blocking. * build: re-pin genlayer-js to v2-dev (feature branch merged)
Summary
Validation
Known train status: full v0.6 E2E is still expected to be red on the consensus validatorPrime/AlreadyClaimed blocker.