zkparty / trusted-setup-frontend

The KZG Ceremony web browser implementation
https://ceremony.ethereum.org
229 stars 66 forks source link

# What ❔ #235

Open Vtalike opened 7 months ago

Vtalike commented 7 months ago

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

最初由 @ilitteri 在 https://github.com/matter-labs/era-contracts/pull/224 发布