Skip to content

Commit

Permalink
try another conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
yito88 committed Jun 17, 2024
1 parent d81b3d4 commit 15aa85e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions crates/core/src/time.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,10 +357,10 @@ impl TryFrom<DateTimeUtc> for crate::tendermint::time::Time {
}

impl TryFrom<crate::tendermint::time::Time> for DateTimeUtc {
type Error = prost_types::TimestampError;
type Error = ParseError;

fn try_from(t: crate::tendermint::time::Time) -> Result<Self, Self::Error> {
crate::tendermint_proto::google::protobuf::Timestamp::from(t).try_into()
Self::from_rfc3339(&t.to_rfc3339())
}
}

Expand Down
2 changes: 1 addition & 1 deletion crates/tests/src/e2e/ibc_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ fn run_two_nets(
wait_for_wasm_pre_compile(&mut ledger_a)?;
wait_for_wasm_pre_compile(&mut ledger_b)?;

sleep(30);
sleep(5);

Ok((ledger_a, ledger_b, test_a, test_b))
}
Expand Down

0 comments on commit 15aa85e

Please sign in to comment.