You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defines a set of values that identify the network:
- L1 chain ID
- L1 rollup contract
- L2 protocol version
- L2 circuits vk tree root (ie noir-circuits)
- L2 protocol contracts tree root (ie noir-protocol-contracts)
Returns these values as custom http headers on the json-rpc server, and
all json-rpc clients now check those values. On mismatch, they throw. If
a value is missing due to incomplete config, it is ignored.
These values are also "compressed" (sliced and concatenated) and
injected as a value in the node's ENR in the p2p layer. Nodes only
connect to a bootstrap node if their versions matches the bootstrap
node's ENR (they warn if they don't) and ignore peers (with debug level)
if their ENRs don't match.
Fixes#11577
Props to @Maddiaa0 for the help with the p2p side of things
PR ended up larger than expected but commits are grouped together so
that they can be reviewed one at a time.
---------
Co-authored-by: Maddiaa <[email protected]>
0 commit comments