Skip to content

Commit

Permalink
update version to v19.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iboss-ptk committed Sep 7, 2023
1 parent 9d2c936 commit 5489d6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/osmosis-std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description = "Standard library for Osmosis with CosmWasm support included"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "osmosis-std"
version = "0.17.0-rc0"
version = "0.19.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -12,10 +12,10 @@ backtraces = ["cosmwasm-std/backtraces", "osmosis-std-derive/backtraces"]

[dependencies]
chrono = {version = "0.4.22", default-features = false}
cosmwasm-std = {version = "1.1.2", features = ["stargate"]}
cosmwasm-std = {version = "1.4.0", features = ["stargate"]}
osmosis-std-derive = {version = "0.16.2", path = "../osmosis-std-derive"}
prost = {version = "0.11.0", default-features = false, features = ["prost-derive"]}
prost-types = {version = "0.11.1", default-features = false}
prost = {version = "0.12.0", default-features = false, features = ["prost-derive"]}
prost-types = {version = "0.12.0", default-features = false}
schemars = "0.8.8"

# for query
Expand Down
2 changes: 1 addition & 1 deletion packages/osmosis-std/src/shim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ impl Serialize for Timestamp {
ts.normalize();
let dt = NaiveDateTime::from_timestamp_opt(ts.seconds, ts.nanos as u32)
.expect("invalid or out-of-range datetime");
let dt: DateTime<Utc> = DateTime::from_utc(dt, Utc);
let dt: DateTime<Utc> = DateTime::from_naive_utc_and_offset(dt, Utc);
serializer.serialize_str(format!("{:?}", dt).as_str())
}
}
Expand Down

0 comments on commit 5489d6f

Please sign in to comment.