Skip to content

Commit

Permalink
test/eth: init storage with PoS params where needed
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Sep 28, 2023
1 parent d8a29ef commit 8416f0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ethereum_bridge/src/protocol/transactions/votes/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ mod tests {
#[test]
fn test_apply_duplicate_votes() -> Result<()> {
let mut wl_storage = TestWlStorage::default();
test_utils::init_default_storage(&mut wl_storage);

let validator = address::testing::established_address_1();
let already_voted_height = BlockHeight(100);
Expand Down Expand Up @@ -411,6 +412,7 @@ mod tests {
#[test]
fn test_calculate_already_seen() -> Result<()> {
let mut wl_storage = TestWlStorage::default();
test_utils::init_default_storage(&mut wl_storage);
let event = default_event();
let keys = vote_tallies::Keys::from(&event);
let tally_pre = TallyParams {
Expand Down

0 comments on commit 8416f0b

Please sign in to comment.