@@ -29,6 +29,7 @@ type OperatorConfig struct {
2929 MaxBatchSize int64
3030 LastProcessedBatchFilePath string
3131 PollLatestBatchInterval time.Duration
32+ MinaVerifierEnabled bool
3233 }
3334}
3435
@@ -47,6 +48,7 @@ type OperatorConfigFromYaml struct {
4748 MaxBatchSize int64 `yaml:"max_batch_size"`
4849 LastProcessedBatchFilePath string `yaml:"last_processed_batch_filepath"`
4950 PollLatestBatchInterval string `yaml:"poll_latest_batch_interval"`
51+ MinaVerifierEnabled bool `yaml:"mina_verifier_enabled"`
5052 } `yaml:"operator"`
5153 BlsConfigFromYaml BlsConfigFromYaml `yaml:"bls"`
5254}
@@ -98,6 +100,7 @@ func NewOperatorConfig(configFilePath string) *OperatorConfig {
98100 MaxBatchSize int64
99101 LastProcessedBatchFilePath string
100102 PollLatestBatchInterval time.Duration
103+ MinaVerifierEnabled bool
101104 }{
102105 AggregatorServerIpPortAddress : operatorConfigFromYaml .Operator .AggregatorServerIpPortAddress ,
103106 OperatorTrackerIpPortAddress : operatorConfigFromYaml .Operator .OperatorTrackerIpPortAddress ,
@@ -112,6 +115,7 @@ func NewOperatorConfig(configFilePath string) *OperatorConfig {
112115 MaxBatchSize : operatorConfigFromYaml .Operator .MaxBatchSize ,
113116 LastProcessedBatchFilePath : operatorConfigFromYaml .Operator .LastProcessedBatchFilePath ,
114117 PollLatestBatchInterval : pollInterval ,
118+ MinaVerifierEnabled : operatorConfigFromYaml .Operator .MinaVerifierEnabled ,
115119 },
116120 }
117121}
0 commit comments