Skip to content

quantum phase 2: finalize manual verification and auto-apply lifecycle gas floor — adds fork-side key_id == 0 invariant on bootstrap requests, moves KeyVault lifecycle-selector rejection into cast send pre-build (matching both Solidity and raw-hex sel#3

Merged
eacet merged 1 commit intomasterfrom
eng-2098-phase-2
May 1, 2026

Conversation

@eacet
Copy link
Copy Markdown
Member

@eacet eacet commented Apr 17, 2026

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b763274efc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/cast/src/cmd/send.rs
Comment thread crates/cast/src/cmd/send.rs
Copy link
Copy Markdown
Member Author

eacet commented May 1, 2026

Merge activity

  • May 1, 6:46 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • May 1, 6:49 AM UTC: Graphite rebased this pull request as part of a merge.
  • May 1, 6:50 AM UTC: @eacet merged this pull request with Graphite.

@eacet eacet changed the base branch from feature/eng-2098 to graphite-base/3 May 1, 2026 06:47
@eacet eacet changed the base branch from graphite-base/3 to master May 1, 2026 06:48
…e gas floor — adds fork-side `key_id == 0` invariant on bootstrap requests, moves KeyVault lifecycle-selector rejection into `cast send` pre-build (matching both Solidity and raw-hex selector forms), and auto-applies `QUANTUM_LIFECYCLE_GAS_FLOOR` when `cast send` detects a bootstrap call so the path bypasses `eth_estimateGas` (which cannot simulate validator-published bootstrap transient state). Adds the `QUANTUM_LIFECYCLE_GAS_FLOOR` constant (parity with quantum-send-tx) and a regression test for the new bootstrap key_id guard.
@eacet eacet force-pushed the eng-2098-phase-2 branch from b763274 to 76c74fa Compare May 1, 2026 06:49
@eacet eacet merged commit 975b38d into master May 1, 2026
4 of 15 checks passed
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.

1 participant