Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
wacban committed Nov 16, 2024
1 parent d6a6bb3 commit 04e68df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
3 changes: 1 addition & 2 deletions chain/chain/src/runtime/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ fn test_state_sync() {
let staking_transaction = stake(1, &signer, &block_producers[0], TESTING_INIT_STAKE + 1);
env.step_default(vec![staking_transaction]);
env.step_default(vec![]);
let block_hash = hash(&[env.head.height as u8]); // what is this madness?
let block_hash = hash(&[env.head.height as u8]);

let shard_layout =
env.epoch_manager.get_shard_layout_from_prev_block(&env.head.prev_block_hash).unwrap();
Expand Down Expand Up @@ -828,7 +828,6 @@ fn test_get_validator_info() {
.map(|i| AccountId::try_from(format!("test{}", i + 1)).unwrap())
.collect::<Vec<_>>();
let mut env = TestEnv::new(vec![validators.clone()], 2, false);

let block_producers: Vec<_> =
validators.iter().map(|id| create_test_signer(id.as_str())).collect();
let signer =
Expand Down
7 changes: 0 additions & 7 deletions chain/chain/src/tests/.simple_chain.rs.pending-snap

This file was deleted.

0 comments on commit 04e68df

Please sign in to comment.