Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miner: empty pending block by default on rollup #81

Closed
wants to merge 1 commit into from

Conversation

protolambda
Copy link
Collaborator

Description

This changes the default pending-block construction behavior on OP-stack chains to produce empty pending blocks.

The pending-block gas-limit was, and is still, configurable with --miner.gaslimit=XYZ

The old pending-block functionality can be re-enabled by --rollup.enablependingtxs.

The pending block is used for gas estimation, and so the gas-limit is important. At the same time, the pending block should be empty on shared-node RPC providers, to preserve tx-privacy.

Tests

Work in progress, op-e2e.

Metadata

Fix CLI-3793

TODOs

@protolambda
Copy link
Collaborator Author

Closing in favor of #93

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