Skip to content

Commit

Permalink
[fix]: Downgrade time library to remove panic
Browse files Browse the repository at this point in the history
Time versions 0.3.13 to 0.3.16 seem to panic upon seeing:

let res: Result<TimeAgain,_> = datetime!(9999-12-31 23:59:59 -00:00:01).try_into();

Downgrading the library removes the panic
  • Loading branch information
mariari committed Oct 27, 2022
1 parent 42332fe commit 7c6a483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tendermint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ signature = { version = "1.2", default-features = false }
subtle = { version = "2", default-features = false }
subtle-encoding = { version = "0.5", default-features = false, features = ["bech32-preview"] }
tendermint-proto = { version = "0.23.6", default-features = false, path = "../proto" }
time = { version = "0.3", default-features = false, features = ["macros", "parsing"] }
time = { version = "=0.3.11", default-features = false, features = ["macros", "parsing"] }
zeroize = { version = "1.1", default-features = false, features = ["zeroize_derive", "alloc"] }
flex-error = { version = "0.4.4", default-features = false }
k256 = { version = "0.10", optional = true, default-features = false, features = ["ecdsa", "sha256"] }
Expand Down

0 comments on commit 7c6a483

Please sign in to comment.