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

feat(Validium): Add getter to Executor.sol for retrieving the init mode (Validium or Rollup) #224

Conversation

ilitteri
Copy link
Contributor

What ❔

Add a getter for the mode (Validium or Rollup for the moment) for the server to be able to cross-check said mode to avoid inconsistencies in the config.

Why ❔

It is now possible to run the node with an incorrect config that doesn’t match the L1 config.

We should force the node to ask the pre-deployed contracts on L1 in which mode it should run.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Documentation comments have been added / updated.

@ilitteri ilitteri requested a review from popzxc February 27, 2024 13:20
@ilitteri ilitteri merged commit 9d20f8f into matter-labs:feat_validium_mode Feb 27, 2024
16 checks passed
@ilitteri ilitteri deleted the feat_mode_getter_in_executor branch February 27, 2024 17:01
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.

3 participants