From 6696ceb780423a8470b1614a554c7808ac30a22f Mon Sep 17 00:00:00 2001 From: Gjermund Garaba Date: Wed, 27 Nov 2024 11:45:40 +0100 Subject: [PATCH] code review cleanups --- Makefile | 2 +- .../08-wasm-light-clients/.cargo/config.toml | 3 --- .../08-wasm-light-clients/Cargo.lock | 4 ++-- .../08-wasm-light-clients/Cargo.toml | 16 ++++++++-------- 4 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 modules/light-clients/08-wasm-light-clients/.cargo/config.toml diff --git a/Makefile b/Makefile index 179361264bc..ee46fa2b01d 100644 --- a/Makefile +++ b/Makefile @@ -142,7 +142,7 @@ build-docker-wasm: .PHONY: build-docker-wasm build-wasm-light-clients: - cd modules/light-clients/08-wasm-light-clients && cargo wasm + cd modules/light-clients/08-wasm-light-clients && cargo build --release --lib --target wasm32-unknown-unknown .PHONY: build-wasm-light-clients diff --git a/modules/light-clients/08-wasm-light-clients/.cargo/config.toml b/modules/light-clients/08-wasm-light-clients/.cargo/config.toml deleted file mode 100644 index 86f292b69cd..00000000000 --- a/modules/light-clients/08-wasm-light-clients/.cargo/config.toml +++ /dev/null @@ -1,3 +0,0 @@ -[alias] -wasm = "build --release --lib --target wasm32-unknown-unknown" - diff --git a/modules/light-clients/08-wasm-light-clients/Cargo.lock b/modules/light-clients/08-wasm-light-clients/Cargo.lock index 7cd6d2cb9c4..1fd4ee0121d 100644 --- a/modules/light-clients/08-wasm-light-clients/Cargo.lock +++ b/modules/light-clients/08-wasm-light-clients/Cargo.lock @@ -734,9 +734,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.165" +version = "0.2.166" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcb4d3d38eab6c5239a362fa8bae48c03baf980a6e7079f063942d563ef3533e" +checksum = "c2ccc108bbc0b1331bd061864e7cd823c0cab660bbe6970e66e2c0614decde36" [[package]] name = "memchr" diff --git a/modules/light-clients/08-wasm-light-clients/Cargo.toml b/modules/light-clients/08-wasm-light-clients/Cargo.toml index ef8ce57b6db..e7a84019874 100644 --- a/modules/light-clients/08-wasm-light-clients/Cargo.toml +++ b/modules/light-clients/08-wasm-light-clients/Cargo.toml @@ -21,17 +21,17 @@ optimize = """docker run --rm -v "$(pwd)":/code \ ibc-go-proto = { path = "packages/ibc-go-proto" } # CosmWasm related dependencies -cosmwasm-schema = "2.1.4" -cosmwasm-std = "2.1.4" -cw-storage-plus = "2.0.0" +cosmwasm-schema = "2.1" +cosmwasm-std = "2.1" +cw-storage-plus = "2.0" serde = { version = "1.0.215", default-features = false, features = ["derive"] } -thiserror = "2.0.3" +thiserror = "2.0" # Proto related dependencies -ics23 = { version = "0.12.0", default-features = false } -tendermint-proto = { version = "0.40.0", default-features = false } -cosmos-sdk-proto = { version = "0.26.1", default-features = false } -prost = { version = "0.13.3", default-features = false, features = ["prost-derive"] } +ics23 = { version = "0.12", default-features = false } +tendermint-proto = { version = "0.40", default-features = false } +cosmos-sdk-proto = { version = "0.26", default-features = false } +prost = { version = "0.13", default-features = false, features = ["prost-derive"] } # dev-dependencies cw-multi-test = "2.2.0"