Skip to content

Add global activation height for precompiles to avoid a state read checking their individual activation state#3036

Open
theodorebugnet wants to merge 1 commit into
devfrom
theodore/precompile-global-activation-height
Open

Add global activation height for precompiles to avoid a state read checking their individual activation state#3036
theodorebugnet wants to merge 1 commit into
devfrom
theodore/precompile-global-activation-height

Conversation

@theodorebugnet

Copy link
Copy Markdown
Contributor

Description

An edge case that the acceptance tests didn't catch was that if you add a custom precompile to a rollup that had none, the rollup gets one extra state access for every EVM TX. Add an activation height to allow deploying a precompile without forking execution.

  • I have updated CHANGELOG.md with a new entry if my PR makes any breaking changes or fixes a bug. If my PR removes a feature or changes its behavior, I provide help for users on how to migrate to the new behavior.
  • I have carefully reviewed all my Cargo.toml changes before opening the PRs. (Are all new dependencies necessary? Is any module dependency leaked into the full-node (hint: it shouldn't)?)

Linked Issues

  • Fixes # (issue, if applicable)
  • Related to # (issue)

Testing

Describe how these changes were tested. If you've added new features, have you added unit tests?

Docs

Describe where this code is documented. If it changes a documented interface, have the docs been updated?

Rendered docs are available at https://sovlabs-ci-rustdoc-artifacts.us-east-1.amazonaws.com/<BRANCH_NAME>/index.html

@theodorebugnet
theodorebugnet force-pushed the theodore/precompile-global-activation-height branch from 24e4c61 to 2d7af7f Compare July 17, 2026 12:19
@theodorebugnet
theodorebugnet force-pushed the theodore/precompile-global-activation-height branch from 2d7af7f to 055588a Compare July 17, 2026 12:24
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