Skip to content

Commit

Permalink
change the epoch query interval
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Feb 15, 2024
1 parent af0a636 commit e0cef09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/tests/src/e2e/ibc_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,15 +393,15 @@ fn proposal_ibc_token_inflation() -> Result<()> {
let mut epoch = get_epoch(&test_b, &rpc_b).unwrap();
// Vote
while epoch <= start_epoch {
sleep(5);
sleep(10);
epoch = get_epoch(&test_b, &rpc_b).unwrap();
}
submit_votes(&test_b)?;

// wait for the grace
let grace_epoch = start_epoch + 12u64 + 6u64;
while epoch <= grace_epoch {
sleep(5);
sleep(10);
epoch = get_epoch(&test_b, &rpc_b).unwrap();
}
sleep(5);
Expand Down Expand Up @@ -465,7 +465,7 @@ fn proposal_ibc_token_inflation() -> Result<()> {
let next_epoch = epoch.next();
// wait the next epoch to dispense the rewrad
while epoch < next_epoch {
sleep(5);
sleep(10);
epoch = get_epoch(&test_b, &rpc_b).unwrap();
}

Expand Down

0 comments on commit e0cef09

Please sign in to comment.