Skip to content

Commit

Permalink
feat(prover): Use new shivini function for 4844 circuits (#1205)
Browse files Browse the repository at this point in the history
## What ❔

* Start using the new shivini function for  4844 circuit

## Why ❔

* Needed for GPU provers
  • Loading branch information
mm-zk authored Feb 22, 2024
1 parent ecb4118 commit 376c09e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion prover/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions prover/prover_fri/src/socket_listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ pub mod gpu_socket_listener {

use anyhow::Context as _;
use shivini::synthesis_utils::{
init_base_layer_cs_for_repeated_proving, init_recursive_layer_cs_for_repeated_proving,
init_base_layer_cs_for_repeated_proving, init_eip4844_cs_for_repeated_proving,
init_recursive_layer_cs_for_repeated_proving,
};
use tokio::{
io::copy,
Expand Down Expand Up @@ -196,13 +197,12 @@ pub mod gpu_socket_listener {
.context("get_finalization_hints()")?;
init_recursive_layer_cs_for_repeated_proving(recursive_circuit, &finalization_hint)
}
CircuitWrapper::Eip4844(_) => {
CircuitWrapper::Eip4844(circuit) => {
let key = ProverServiceDataKey::eip4844();
let finalization_hint = keystore
.load_finalization_hints(key)
.context("get_finalization_hints()")?;
// Check shivini support.
todo!();
init_eip4844_cs_for_repeated_proving(circuit, &finalization_hint)
}
};
tracing::info!(
Expand Down

0 comments on commit 376c09e

Please sign in to comment.