Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Mar 20, 2024
1 parent af03258 commit 03d659f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ibc-testkit/tests/core/ics02_client/update_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ fn test_update_client_with_prev_header() {
) -> MsgEnvelope {
let mut tm_block = TendermintHost::build(HostParams::builder().chain_id(chain_id).build())
.generate_block(
Vec::new(),
target_height.revision_height(),
Timestamp::now(),
&Default::default(),
Expand Down Expand Up @@ -1230,6 +1231,7 @@ fn test_misbehaviour_synthetic_tendermint_equivocation() {
let mut tm_block =
TendermintHost::build(HostParams::builder().chain_id(chain_id_b).build())
.generate_block(
Vec::new(),
misbehaviour_height.revision_height(),
Timestamp::now(),
&Default::default(),
Expand Down Expand Up @@ -1282,6 +1284,7 @@ fn test_misbehaviour_synthetic_tendermint_bft_time() {
let mut tm_block =
TendermintHost::build(HostParams::builder().chain_id(chain_id_b.clone()).build())
.generate_block(
Vec::new(),
misbehaviour_height.revision_height(),
Timestamp::now(),
&Default::default(),
Expand All @@ -1299,6 +1302,7 @@ fn test_misbehaviour_synthetic_tendermint_bft_time() {
let mut tm_block =
TendermintHost::build(HostParams::builder().chain_id(chain_id_b).build())
.generate_block(
Vec::new(),
misbehaviour_height.revision_height(),
timestamp,
&Default::default(),
Expand Down
2 changes: 1 addition & 1 deletion ibc-testkit/tests/core/ics03_connection/conn_open_try.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn conn_open_try_fixture(ctx_variant: Ctx, msg_variant: Msg) -> Fixture<MsgConne
}
};

ctx.prune_consensus_states_till(&pruned_height);
ctx.prune_host_consensus_states_till(&pruned_height);
Fixture { ctx, msg }
}

Expand Down

0 comments on commit 03d659f

Please sign in to comment.