Skip to content

Commit 5abb55d

Browse files
committed
Add Mina in proving system enum
1 parent 14ec4f0 commit 5abb55d

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

batcher/aligned-batcher-lib/src/types/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub enum ProvingSystemId {
1515
Halo2KZG,
1616
Halo2IPA,
1717
Risc0,
18+
Mina,
1819
}
1920

2021
#[derive(Debug, Serialize, Deserialize, Default, Clone)]

batcher/aligned-batcher/src/zk_utils/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,6 @@ pub(crate) fn verify(verification_data: &VerificationData) -> bool {
7373
debug!("Gnark proof is valid: {}", is_valid);
7474
is_valid
7575
}
76+
ProvingSystemId::Mina => todo!(),
7677
}
7778
}

batcher/aligned/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ pub enum ProvingSystemArg {
147147
Halo2IPA,
148148
#[clap(name = "Risc0")]
149149
Risc0,
150+
#[clap(name = "Mina")]
151+
Mina,
150152
}
151153

152154
impl From<ProvingSystemArg> for ProvingSystemId {
@@ -159,6 +161,7 @@ impl From<ProvingSystemArg> for ProvingSystemId {
159161
ProvingSystemArg::Halo2KZG => ProvingSystemId::Halo2KZG,
160162
ProvingSystemArg::Halo2IPA => ProvingSystemId::Halo2IPA,
161163
ProvingSystemArg::Risc0 => ProvingSystemId::Risc0,
164+
ProvingSystemArg::Mina => ProvingSystemId::Mina,
162165
}
163166
}
164167
}
@@ -384,6 +387,7 @@ fn verification_data_from_args(args: SubmitArgs) -> Result<VerificationData, Bat
384387
args.pub_input_file_name,
385388
)?);
386389
}
390+
ProvingSystemId::Mina => todo!(),
387391
}
388392

389393
let proof_generator_addr = Address::from_str(&args.proof_generator_addr).unwrap();

0 commit comments

Comments
 (0)