From 7e56d89f069c7172b2086ed6b0ca12fb47cbcac8 Mon Sep 17 00:00:00 2001 From: protolambda Date: Thu, 30 Nov 2023 02:10:16 +0100 Subject: [PATCH] params: add note about Delta, update protocol version to indicate Delta pre-release support --- params/config.go | 1 + params/superchain.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/params/config.go b/params/config.go index 3f9cabc159ac..fdfe45490254 100644 --- a/params/config.go +++ b/params/config.go @@ -358,6 +358,7 @@ type ChainConfig struct { BedrockBlock *big.Int `json:"bedrockBlock,omitempty"` // Bedrock switch block (nil = no fork, 0 = already on optimism bedrock) RegolithTime *uint64 `json:"regolithTime,omitempty"` // Regolith switch time (nil = no fork, 0 = already on optimism regolith) CanyonTime *uint64 `json:"canyonTime,omitempty"` // Canyon switch time (nil = no fork, 0 = already on optimism canyon) + // Delta: the Delta upgrade does not affect the execution-layer, and is thus not configurable in the chain config. InteropTime *uint64 `json:"interopTime,omitempty"` // Interop switch time (nil = no fork, 0 = already on optimism interop) diff --git a/params/superchain.go b/params/superchain.go index 3928153fbe66..174b0a16b176 100644 --- a/params/superchain.go +++ b/params/superchain.go @@ -11,7 +11,7 @@ import ( "github.com/ethereum/go-ethereum/common" ) -var OPStackSupport = ProtocolVersionV0{Build: [8]byte{}, Major: 4, Minor: 0, Patch: 0, PreRelease: 1}.Encode() +var OPStackSupport = ProtocolVersionV0{Build: [8]byte{}, Major: 5, Minor: 0, Patch: 0, PreRelease: 1}.Encode() func init() { for id, ch := range superchain.OPChains {