Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
dubbelosix committed Nov 13, 2023
1 parent e3daead commit 670a7cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/rollup/tests/bank/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async fn bank_tx_tests() -> Result<(), anyhow::Error> {
let rollup_task = tokio::spawn(async {
start_rollup(
port_tx,
GenesisPaths::from_dir("../../test-data/genesis/"),
GenesisPaths::from_dir("../../test-data/genesis/mock/"),
Some(RollupProverConfig::Execute),
)
.await;
Expand Down
6 changes: 3 additions & 3 deletions crates/rollup/tests/test_helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::net::SocketAddr;

use sov_mock_da::{MockAddress, MockDaConfig};
use sov_modules_rollup_blueprint::{RollupBlueprint, RollupProverConfig};
use sov_rollup_starter::StarterRollup;
use sov_rollup_starter::mock_rollup::MockRollup;
use sov_stf_runner::{RollupConfig, RpcConfig, RunnerConfig, StorageConfig};
use stf_starter::genesis_config::GenesisPaths;
use tokio::sync::oneshot;
Expand Down Expand Up @@ -31,9 +31,9 @@ pub async fn start_rollup(
},
};

let starter_rollup = StarterRollup {};
let mock_rollup = MockRollup {};

let rollup = starter_rollup
let rollup = mock_rollup
.create_new_rollup(&genesis_paths, rollup_config, rollup_prover_config)
.await
.unwrap();
Expand Down

0 comments on commit 670a7cd

Please sign in to comment.