mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
clippy
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user