mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
fix lint issue
This commit is contained in:
@@ -2,7 +2,7 @@ mod darwin;
|
||||
mod darwin_v2;
|
||||
|
||||
use anyhow::{bail, Result};
|
||||
use darwin::DarwinVerifier;
|
||||
// use darwin::DarwinVerifier;
|
||||
use darwin_v2::DarwinV2Verifier;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{cell::OnceCell, rc::Rc};
|
||||
@@ -36,7 +36,7 @@ type HardForkName = String;
|
||||
struct VerifierPair(HardForkName, Rc<Box<dyn ProofVerifier>>);
|
||||
|
||||
static mut VERIFIER_HIGH: OnceCell<VerifierPair> = OnceCell::new();
|
||||
static mut VERIFIER_LOW: OnceCell<VerifierPair> = OnceCell::new();
|
||||
// static mut VERIFIER_LOW: OnceCell<VerifierPair> = OnceCell::new();
|
||||
|
||||
pub fn init(config: VerifierConfig) {
|
||||
// let low_conf = config.low_version_circuit;
|
||||
|
||||
@@ -14,7 +14,7 @@ pub struct DarwinVerifier {
|
||||
}
|
||||
|
||||
impl DarwinVerifier {
|
||||
pub fn new(params_dir: &str, assets_dir: &str) -> Self {
|
||||
#[allow(dead_code)] pub fn new(params_dir: &str, assets_dir: &str) -> Self {
|
||||
env::set_var("SCROLL_PROVER_ASSETS_DIR", assets_dir);
|
||||
let verifier = Verifier::from_dirs(params_dir, assets_dir);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user