Skip to content

Commit

Permalink
wait for wasm-precompile before expecting block hash
Browse files Browse the repository at this point in the history
  • Loading branch information
brentstone committed Jul 10, 2023
1 parent f61b635 commit 83d6ad0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/e2e/ledger_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4269,15 +4269,15 @@ fn test_genesis_validators() -> Result<()> {
non_validator.exp_string("Namada ledger node started")?;
non_validator.exp_string("This node is not a validator")?;

wait_for_wasm_pre_compile(&mut validator_0)?;
wait_for_wasm_pre_compile(&mut validator_1)?;
wait_for_wasm_pre_compile(&mut non_validator)?;

// Wait for a first block
validator_0.exp_string("Committed block hash")?;
validator_1.exp_string("Committed block hash")?;
non_validator.exp_string("Committed block hash")?;

wait_for_wasm_pre_compile(&mut validator_0)?;
wait_for_wasm_pre_compile(&mut validator_1)?;
wait_for_wasm_pre_compile(&mut non_validator)?;

// Wait for a first block
validator_0.exp_string("Committed block hash")?;
validator_1.exp_string("Committed block hash")?;
Expand Down

0 comments on commit 83d6ad0

Please sign in to comment.