Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
fix: rename jerigon params to proof params
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Jun 14, 2024
1 parent 50d7e25 commit bf05f9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions leader/src/jerigon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use proof_gen::proof_types::GeneratedBlockProof;
use tracing::{error, warn};

#[derive(Debug, Default)]
pub struct JerigonParams {
pub struct ProofParams {
pub checkpoint_block_number: u64,
pub previous_proof: Option<GeneratedBlockProof>,
pub proof_output_dir: Option<PathBuf>,
Expand All @@ -22,7 +22,7 @@ pub(crate) async fn jerigon_main(
runtime: Runtime,
rpc_url: &str,
block_interval: BlockInterval,
mut params: JerigonParams,
mut params: ProofParams,
) -> Result<()> {
let prover_input = rpc::prover_input(
RootProvider::new_http(rpc_url.parse()?),
Expand Down
4 changes: 2 additions & 2 deletions leader/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use paladin::runtime::Runtime;
use proof_gen::proof_types::GeneratedBlockProof;
use tracing::info;

use crate::jerigon::{jerigon_main, JerigonParams};
use crate::jerigon::{jerigon_main, ProofParams};
use crate::utils::get_package_version;

mod cli;
Expand Down Expand Up @@ -112,7 +112,7 @@ async fn main() -> Result<()> {
runtime,
&rpc_url,
block_interval,
JerigonParams {
ProofParams {
checkpoint_block_number,
previous_proof,
proof_output_dir,
Expand Down

0 comments on commit bf05f9c

Please sign in to comment.