diff --git a/pytest/tests/mocknet/helpers/neard_runner.py b/pytest/tests/mocknet/helpers/neard_runner.py index c6ece996863..86604f5d4bd 100644 --- a/pytest/tests/mocknet/helpers/neard_runner.py +++ b/pytest/tests/mocknet/helpers/neard_runner.py @@ -386,8 +386,6 @@ def neard_init(self, rpc_port, protocol_port, validator_id): config['consensus']['min_block_production_delay']['nanos'] = 300000000 config['consensus']['max_block_production_delay']['secs'] = 3 config['consensus']['max_block_production_delay']['nanos'] = 0 - if self.is_traffic_generator(): - config['archive'] = True with open(self.tmp_near_home_path('config.json'), 'w') as f: json.dump(config, f, indent=2) diff --git a/tools/mirror/src/lib.rs b/tools/mirror/src/lib.rs index 9cf4fefd749..027c60a8ec6 100644 --- a/tools/mirror/src/lib.rs +++ b/tools/mirror/src/lib.rs @@ -837,13 +837,6 @@ impl TxMirror { let target_config = nearcore::config::load_config(target_home, GenesisValidationMode::UnsafeFast) .with_context(|| format!("Error loading target config from {:?}", target_home))?; - if !target_config.client_config.archive { - // this is probably not going to come up, but we want to avoid a situation where - // we go offline for a long time and then come back online, and we state sync to - // the head of the target chain without looking for our outcomes that made it on - // chain right before we went offline - anyhow::bail!("config file in {} has archive: false, but archive must be set to true for the target chain", target_home.display()); - } let db = match mirror_db_path { Some(mirror_db_path) => open_db(mirror_db_path), None => {