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

Open
eacet wants to merge 1 commit intofeature/eng-2098from
eng-2098-phase-2

Conversation

@eacet
Copy link
Copy Markdown
Member

@eacet eacet commented Apr 17, 2026

Motivation

Solution

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

…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.
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
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