Skip to content

Conversation

@mirgee
Copy link
Contributor

@mirgee mirgee commented Oct 31, 2025

Adds the following BAL-related CLI options:

  • --Xbal-optimization-enabled (default: true) - allows enabling or disabling BAL-based state root pre-computation (and possibly other optimizations in the future)
  • --Xbal-trust-state-root (default: false) - defines whether the state root computed from BALs should be trusted; if not, it will be re-computed synchronously and the results compared
  • --Xbal-lenient-on-mismatch (default: false) - defines whether to only log an error message or invalidate the block on mismatch between state root computed based on BAL and synchronously
  • --Xbal-state-root-timeout (default: 1000) - the duration for which to wait for the BAL-based state root computation future to complete

Renames --Xapi-block-access-list-enabled to --Xbal-api-enabled.

This PR must be merged only after #9373 is merged since it's based on it.

@mirgee mirgee force-pushed the bal-config branch 2 times, most recently from a37294d to 87620fb Compare October 31, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants