This commit is contained in:
Zhang Zhuo
2024-08-27 14:56:12 +08:00
parent 6369109567
commit 3868cbf2de
2 changed files with 2 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ impl<'a> Prover<'a> {
CircuitsHandlerProvider::new(prover_type, config, params_map, geth_client.clone())
.context("failed to create circuits handler provider")?;
let vks = provider.init_vks(prover_type, config, geth_client.clone());
let vks = provider.init_vks(prover_type, config);
let key_signer = Rc::new(KeySigner::new(keystore_path, keystore_password)?);
let coordinator_client =

View File

@@ -128,12 +128,7 @@ impl<'a, 'b> CircuitsHandlerProvider<'a, 'b> {
}
}
pub fn init_vks(
&self,
prover_type: ProverType,
config: &'a Config,
geth_client: Option<Rc<RefCell<GethClient>>>,
) -> Vec<String> {
pub fn init_vks(&self, prover_type: ProverType, config: &'a Config) -> Vec<String> {
[
&config.low_version_circuit.hard_fork_name,
&config.high_version_circuit.hard_fork_name,