From 4778b380dffb958da213aeadc39ffa677d542ee9 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Mon, 26 May 2025 15:21:13 +0800 Subject: [PATCH 1/2] fix(coordinator): init verifier --- common/version/version.go | 2 +- coordinator/internal/logic/verifier/verifier.go | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/common/version/version.go b/common/version/version.go index a98e4f17ca..61f863e707 100644 --- a/common/version/version.go +++ b/common/version/version.go @@ -5,7 +5,7 @@ import ( "runtime/debug" ) -var tag = "v4.5.18" +var tag = "v4.5.19" var commit = func() string { if info, ok := debug.ReadBuildInfo(); ok { diff --git a/coordinator/internal/logic/verifier/verifier.go b/coordinator/internal/logic/verifier/verifier.go index 7bf7f670c0..2b1f5b31ca 100644 --- a/coordinator/internal/logic/verifier/verifier.go +++ b/coordinator/internal/logic/verifier/verifier.go @@ -79,10 +79,6 @@ func NewVerifier(cfg *config.VerifierConfig) (*Verifier, error) { OpenVMVkMap: make(map[string]struct{}), } - if err := v.loadOpenVMVks(message.EuclidFork); err != nil { - return nil, err - } - if err := v.loadOpenVMVks(message.EuclidV2Fork); err != nil { return nil, err } From 4f5d3c658c71e234b8b8de6bfc57c2b29224461c Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Mon, 26 May 2025 15:29:18 +0800 Subject: [PATCH 2/2] fix --- common/types/message/message.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/common/types/message/message.go b/common/types/message/message.go index 97005ced82..596c13f875 100644 --- a/common/types/message/message.go +++ b/common/types/message/message.go @@ -11,7 +11,6 @@ import ( ) const ( - EuclidFork = "euclid" EuclidV2Fork = "euclidV2" EuclidV2ForkNameForProver = "euclidv2" @@ -46,7 +45,7 @@ const ( // ChunkTaskDetail is a type containing ChunkTask detail for chunk task. type ChunkTaskDetail struct { - // use one of the string of EuclidFork / EuclidV2Fork + // use one of the string of "euclidv1" / "euclidv2" ForkName string `json:"fork_name"` BlockHashes []common.Hash `json:"block_hashes"` PrevMsgQueueHash common.Hash `json:"prev_msg_queue_hash"` @@ -97,7 +96,7 @@ func (e *Byte48) UnmarshalJSON(input []byte) error { // BatchTaskDetail is a type containing BatchTask detail. type BatchTaskDetail struct { - // use one of the string of EuclidFork / EuclidV2Fork + // use one of the string of "euclidv1" / "euclidv2" ForkName string `json:"fork_name"` ChunkInfos []*ChunkInfo `json:"chunk_infos"` ChunkProofs []*OpenVMChunkProof `json:"chunk_proofs"` @@ -110,7 +109,7 @@ type BatchTaskDetail struct { // BundleTaskDetail consists of all the information required to describe the task to generate a proof for a bundle of batches. type BundleTaskDetail struct { - // use one of the string of EuclidFork / EuclidV2Fork + // use one of the string of "euclidv1" / "euclidv2" ForkName string `json:"fork_name"` BatchProofs []*OpenVMBatchProof `json:"batch_proofs"` BundleInfo *OpenVMBundleInfo `json:"bundle_info,omitempty"`