Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bkolad committed Oct 31, 2023
1 parent b41b561 commit 9b81ec9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/provers/risc0/guest-mock/src/bin/mock_da.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
//! of the zkvm in order to generate proofs for the rollup.
use sov_modules_api::default_context::ZkDefaultContext;
use sov_modules_stf_template::kernels::basic::BasicKernel;
use sov_modules_stf_template::AppTemplate;
use sov_risc0_adapter::guest::Risc0Guest;
use sov_rollup_interface::mocks::MockDaVerifier;
Expand Down
4 changes: 4 additions & 0 deletions crates/rollup/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use async_trait::async_trait;
use sov_db::ledger_db::LedgerDB;
use sov_modules_api::default_context::{DefaultContext, ZkDefaultContext};
use sov_modules_api::Spec;
use sov_modules_stf_template::kernels::basic::BasicKernel;
use sov_risc0_adapter::host::Risc0Host;
use sov_rollup_interface::mocks::{MockDaConfig, MockDaService, MockDaSpec};
use sov_rollup_interface::services::da::DaService;
Expand Down Expand Up @@ -41,6 +42,9 @@ impl sov_modules_rollup_template::RollupTemplate for StarterRollup {
type ZkRuntime = Runtime<Self::ZkContext, Self::DaSpec>;
/// Runtime for the Native environment.
type NativeRuntime = Runtime<Self::NativeContext, Self::DaSpec>;
/// Kernels.
type NativeKernel = BasicKernel<Self::NativeContext>;
type ZkKernel = BasicKernel<Self::ZkContext>;

/// This function generates RPC methods for the rollup, allowing for extension with custom endpoints.
fn create_rpc_methods(
Expand Down

0 comments on commit 9b81ec9

Please sign in to comment.