mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-09 14:08:03 -05:00
fix(coordinator): remove initialize euclid VKs (#1669)
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
EuclidFork = "euclid"
|
|
||||||
EuclidV2Fork = "euclidV2"
|
EuclidV2Fork = "euclidV2"
|
||||||
|
|
||||||
EuclidV2ForkNameForProver = "euclidv2"
|
EuclidV2ForkNameForProver = "euclidv2"
|
||||||
@@ -46,7 +45,7 @@ const (
|
|||||||
|
|
||||||
// ChunkTaskDetail is a type containing ChunkTask detail for chunk task.
|
// ChunkTaskDetail is a type containing ChunkTask detail for chunk task.
|
||||||
type ChunkTaskDetail struct {
|
type ChunkTaskDetail struct {
|
||||||
// use one of the string of EuclidFork / EuclidV2Fork
|
// use one of the string of "euclidv1" / "euclidv2"
|
||||||
ForkName string `json:"fork_name"`
|
ForkName string `json:"fork_name"`
|
||||||
BlockHashes []common.Hash `json:"block_hashes"`
|
BlockHashes []common.Hash `json:"block_hashes"`
|
||||||
PrevMsgQueueHash common.Hash `json:"prev_msg_queue_hash"`
|
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.
|
// BatchTaskDetail is a type containing BatchTask detail.
|
||||||
type BatchTaskDetail struct {
|
type BatchTaskDetail struct {
|
||||||
// use one of the string of EuclidFork / EuclidV2Fork
|
// use one of the string of "euclidv1" / "euclidv2"
|
||||||
ForkName string `json:"fork_name"`
|
ForkName string `json:"fork_name"`
|
||||||
ChunkInfos []*ChunkInfo `json:"chunk_infos"`
|
ChunkInfos []*ChunkInfo `json:"chunk_infos"`
|
||||||
ChunkProofs []*OpenVMChunkProof `json:"chunk_proofs"`
|
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.
|
// BundleTaskDetail consists of all the information required to describe the task to generate a proof for a bundle of batches.
|
||||||
type BundleTaskDetail struct {
|
type BundleTaskDetail struct {
|
||||||
// use one of the string of EuclidFork / EuclidV2Fork
|
// use one of the string of "euclidv1" / "euclidv2"
|
||||||
ForkName string `json:"fork_name"`
|
ForkName string `json:"fork_name"`
|
||||||
BatchProofs []*OpenVMBatchProof `json:"batch_proofs"`
|
BatchProofs []*OpenVMBatchProof `json:"batch_proofs"`
|
||||||
BundleInfo *OpenVMBundleInfo `json:"bundle_info,omitempty"`
|
BundleInfo *OpenVMBundleInfo `json:"bundle_info,omitempty"`
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"runtime/debug"
|
"runtime/debug"
|
||||||
)
|
)
|
||||||
|
|
||||||
var tag = "v4.5.18"
|
var tag = "v4.5.19"
|
||||||
|
|
||||||
var commit = func() string {
|
var commit = func() string {
|
||||||
if info, ok := debug.ReadBuildInfo(); ok {
|
if info, ok := debug.ReadBuildInfo(); ok {
|
||||||
|
|||||||
@@ -79,10 +79,6 @@ func NewVerifier(cfg *config.VerifierConfig) (*Verifier, error) {
|
|||||||
OpenVMVkMap: make(map[string]struct{}),
|
OpenVMVkMap: make(map[string]struct{}),
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := v.loadOpenVMVks(message.EuclidFork); err != nil {
|
|
||||||
return nil, err
|
|
||||||
}
|
|
||||||
|
|
||||||
if err := v.loadOpenVMVks(message.EuclidV2Fork); err != nil {
|
if err := v.loadOpenVMVks(message.EuclidV2Fork); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user