Skip to content

Commit

Permalink
refactor(state-sync): Refer to other nodes by PeerId
Browse files Browse the repository at this point in the history
  • Loading branch information
nikurt committed Oct 2, 2023
1 parent 0e60c8e commit 60d4174
Show file tree
Hide file tree
Showing 3 changed files with 2,467 additions and 5 deletions.
2 changes: 1 addition & 1 deletion chain/chain/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub fn setup_with_tx_validity_period(
tx_validity_period: NumBlocks,
) -> (Chain, Arc<MockEpochManager>, Arc<KeyValueRuntime>, Arc<InMemoryValidatorSigner>) {
let store = create_test_store();
let epoch_length = 1000;
let epoch_length = 10;
let epoch_manager = MockEpochManager::new(store.clone(), epoch_length);
let shard_tracker = ShardTracker::new_empty(epoch_manager.clone());
let runtime = KeyValueRuntime::new(store, epoch_manager.as_ref());
Expand Down
Loading

0 comments on commit 60d4174

Please sign in to comment.