Skip to content

Commit f824fb0

Browse files
authored
fix(coordinator): remove initialize euclid VKs (#1669)
1 parent a55c7bd commit f824fb0

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

common/types/message/message.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
)
1212

1313
const (
14-
EuclidFork = "euclid"
1514
EuclidV2Fork = "euclidV2"
1615

1716
EuclidV2ForkNameForProver = "euclidv2"
@@ -46,7 +45,7 @@ const (
4645

4746
// ChunkTaskDetail is a type containing ChunkTask detail for chunk task.
4847
type ChunkTaskDetail struct {
49-
// use one of the string of EuclidFork / EuclidV2Fork
48+
// use one of the string of "euclidv1" / "euclidv2"
5049
ForkName string `json:"fork_name"`
5150
BlockHashes []common.Hash `json:"block_hashes"`
5251
PrevMsgQueueHash common.Hash `json:"prev_msg_queue_hash"`
@@ -97,7 +96,7 @@ func (e *Byte48) UnmarshalJSON(input []byte) error {
9796

9897
// BatchTaskDetail is a type containing BatchTask detail.
9998
type BatchTaskDetail struct {
100-
// use one of the string of EuclidFork / EuclidV2Fork
99+
// use one of the string of "euclidv1" / "euclidv2"
101100
ForkName string `json:"fork_name"`
102101
ChunkInfos []*ChunkInfo `json:"chunk_infos"`
103102
ChunkProofs []*OpenVMChunkProof `json:"chunk_proofs"`
@@ -110,7 +109,7 @@ type BatchTaskDetail struct {
110109

111110
// BundleTaskDetail consists of all the information required to describe the task to generate a proof for a bundle of batches.
112111
type BundleTaskDetail struct {
113-
// use one of the string of EuclidFork / EuclidV2Fork
112+
// use one of the string of "euclidv1" / "euclidv2"
114113
ForkName string `json:"fork_name"`
115114
BatchProofs []*OpenVMBatchProof `json:"batch_proofs"`
116115
BundleInfo *OpenVMBundleInfo `json:"bundle_info,omitempty"`

common/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"runtime/debug"
66
)
77

8-
var tag = "v4.5.18"
8+
var tag = "v4.5.19"
99

1010
var commit = func() string {
1111
if info, ok := debug.ReadBuildInfo(); ok {

coordinator/internal/logic/verifier/verifier.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ func NewVerifier(cfg *config.VerifierConfig) (*Verifier, error) {
7979
OpenVMVkMap: make(map[string]struct{}),
8080
}
8181

82-
if err := v.loadOpenVMVks(message.EuclidFork); err != nil {
83-
return nil, err
84-
}
85-
8682
if err := v.loadOpenVMVks(message.EuclidV2Fork); err != nil {
8783
return nil, err
8884
}

0 commit comments

Comments
 (0)