Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sai-deng committed Oct 3, 2024
1 parent 3eadb91 commit d04d0ff
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions evm_arithmetization/src/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,26 +234,24 @@ fn verify_proof<F: RichField + Extendable<D>, C: GenericConfig<D, F = F>, const
.as_ref()
.expect("Missing ctl_zs")
.clone()
} else if i == *Table::Keccak {
let (_, n, _) = CrossTableLookup::num_ctl_helpers_zs_all(
all_ctls,
*Table::Keccak,
config.num_challenges,
keccak_stark.constraint_degree(),
);
vec![F::ZERO; n]
} else if i == *Table::KeccakSponge {
let (_, n, _) = CrossTableLookup::num_ctl_helpers_zs_all(
all_ctls,
*Table::KeccakSponge,
config.num_challenges,
keccak_sponge_stark.constraint_degree(),
);
vec![F::ZERO; n]
} else {
if i == *Table::Keccak {
let (_, n, _) = CrossTableLookup::num_ctl_helpers_zs_all(
all_ctls,
*Table::Keccak,
config.num_challenges,
keccak_stark.constraint_degree(),
);
vec![F::ZERO; n]
} else if i == *Table::KeccakSponge {
let (_, n, _) = CrossTableLookup::num_ctl_helpers_zs_all(
all_ctls,
*Table::KeccakSponge,
config.num_challenges,
keccak_sponge_stark.constraint_degree(),
);
vec![F::ZERO; n]
} else {
panic!("Unable to find stark_proof");
}
panic!("Unable to find stark_proof");
}
}),
Some(&extra_looking_sums),
Expand Down

0 comments on commit d04d0ff

Please sign in to comment.