Skip to content

Commit

Permalink
fix semantic conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 27, 2024
1 parent 91dd2ca commit 142f8f0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl Fixture {
let tm_client_state: TmClientState = ClientStateConfig::builder()
.trusting_period(Duration::from_secs(1))
.build()
.into_client_state("test-chain".parse().unwrap(), self.trusted_height)
.into_client_state(self.chain_id.clone(), self.trusted_height)
.expect("never fails");

let tm_consensus_state = dummy_sov_consensus_state(self.trusted_timestamp);
Expand Down
2 changes: 1 addition & 1 deletion ibc-testkit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ typed-builder = { version = "0.18.0" }
# ibc dependencies
ibc = { workspace = true, features = ["std"] }
ibc-proto = { workspace = true }
ibc-query = { version = "0.51.0", path = "../ibc-query" }
ibc-query = { version = "0.52.0", path = "../ibc-query" }
basecoin-store = { git = "https://github.com/informalsystems/basecoin-rs", rev = "ce0d6c7" }

# cosmos dependencies
Expand Down
1 change: 0 additions & 1 deletion ibc-testkit/src/relayer/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ where
.next()
.expect("at least one")
.clone()
.into()
.into(),
signer,
}));
Expand Down
26 changes: 14 additions & 12 deletions ibc-testkit/tests/core/ics02_client/recover_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,18 +176,20 @@ fn test_recover_client_ok() {

// latest consensus state is copied.
assert_eq!(
ctx.consensus_state(&ClientConsensusStatePath::new(
msg.subject_client_id,
substitute_height.revision_number(),
substitute_height.revision_height(),
))
.unwrap(),
ctx.consensus_state(&ClientConsensusStatePath::new(
msg.substitute_client_id,
substitute_height.revision_number(),
substitute_height.revision_height(),
))
.unwrap(),
ctx.ibc_store()
.consensus_state(&ClientConsensusStatePath::new(
msg.subject_client_id,
substitute_height.revision_number(),
substitute_height.revision_height(),
))
.unwrap(),
ctx.ibc_store()
.consensus_state(&ClientConsensusStatePath::new(
msg.substitute_client_id,
substitute_height.revision_number(),
substitute_height.revision_height(),
))
.unwrap(),
);
}

Expand Down

0 comments on commit 142f8f0

Please sign in to comment.