Skip to content

Commit b4ae667

Browse files
committed
cleanups
1 parent d4bfec6 commit b4ae667

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

bin/prover-perf/src/programs/asm_stf.rs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
use std::{fs, sync::LazyLock};
22

33
use moho_runtime_impl::RuntimeInput;
4-
use moho_types::MohoAttestation;
54
use sp1_sdk::HashableKey;
6-
use ssz::{Decode, Encode};
5+
use ssz::Encode;
76
use strata_asm_proof_impl::{
87
program::AsmStfProofProgram,
98
test_utils::{
@@ -35,21 +34,7 @@ pub(crate) fn create_runtime_input() -> RuntimeInput {
3534
)
3635
}
3736

38-
pub(crate) fn check_proof_and_execution() {
39-
let input = create_runtime_input();
40-
let executed_moho_transition = AsmStfProofProgram::execute(&input).unwrap();
41-
42-
let asm_stf_proof = ProofReceiptWithMetadata::load("asm-stf_SP1_v5.0.0.proof.bin")
43-
.expect("failed to open proof");
44-
let proven_moho_transition =
45-
MohoAttestation::from_ssz_bytes(asm_stf_proof.receipt().public_values().as_bytes())
46-
.unwrap();
47-
48-
assert_eq!(executed_moho_transition, proven_moho_transition);
49-
}
50-
5137
pub(crate) fn gen_perf_report() -> PerformanceReport {
52-
check_proof_and_execution();
5338
let input = create_runtime_input();
5439
AsmStfProofProgram::perf_report(&input, &*ASM_HOST)
5540
.expect("failed to generate performance report")

0 commit comments

Comments
 (0)