From 529058a79d75d2c3bea39702532956390044dae1 Mon Sep 17 00:00:00 2001 From: Albert Andrejev Date: Wed, 18 Dec 2024 13:38:11 +0200 Subject: [PATCH] Bump toolchain version --- .github/workflows/tests.yml | 8 ++++---- Makefile | 5 ++--- integration_tests/src/tests.yml | 8 ++++---- packages/proto/Cargo.toml | 1 + packages/proto/src/liquidstaking.distribution.v1beta1.rs | 2 +- rust-toolchain.toml | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f03ced35..d85699ca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 components: clippy profile: minimal override: true @@ -67,7 +67,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 components: rustfmt profile: minimal override: true @@ -81,7 +81,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 profile: minimal - run: cargo fetch --verbose - run: cargo build @@ -144,7 +144,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 profile: minimal override: true - run: make compile diff --git a/Makefile b/Makefile index 6d7ae807..7505ff3e 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ compile: --mount type=volume,source="$(notdir $(CURDIR))_cache",target=/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ --platform linux/amd64 \ - cosmwasm/workspace-optimizer:0.15.1 + cosmwasm/optimizer:0.16.1 @sudo chown -R $(shell id -u):$(shell id -g) artifacts compile_arm64: @@ -29,8 +29,7 @@ compile_arm64: --mount type=volume,source="$(notdir $(CURDIR))_cache",target=/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ --platform linux/arm64 \ - cosmwasm/workspace-optimizer-arm64:0.15.1 - @cd artifacts && for file in *-aarch64.wasm; do cp -f "$$file" "$${file%-aarch64.wasm}.wasm"; done + cosmwasm/optimizer-arm64:0.16.1 check_contracts: @cargo install cosmwasm-check --locked diff --git a/integration_tests/src/tests.yml b/integration_tests/src/tests.yml index ab6f771d..2526aa08 100644 --- a/integration_tests/src/tests.yml +++ b/integration_tests/src/tests.yml @@ -15,7 +15,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 components: clippy profile: minimal override: true @@ -88,7 +88,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 components: rustfmt profile: minimal override: true @@ -103,7 +103,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 profile: minimal - run: cargo fetch --verbose - run: cargo build @@ -163,7 +163,7 @@ jobs: fetch-depth: 1 - uses: actions-rs/toolchain@v1 with: - toolchain: 1.75.0 + toolchain: 1.81.0 profile: minimal override: true - run: make compile diff --git a/packages/proto/Cargo.toml b/packages/proto/Cargo.toml index 05cc3293..87ccda61 100644 --- a/packages/proto/Cargo.toml +++ b/packages/proto/Cargo.toml @@ -21,6 +21,7 @@ crate-type = ["cdylib", "rlib"] backtraces = ["cosmwasm-std/backtraces"] # use library feature to disable all instantiate/execute/query exports library = [] +grpc = [] [dependencies] prost = { workspace = true } diff --git a/packages/proto/src/liquidstaking.distribution.v1beta1.rs b/packages/proto/src/liquidstaking.distribution.v1beta1.rs index 06fcc711..090238fa 100644 --- a/packages/proto/src/liquidstaking.distribution.v1beta1.rs +++ b/packages/proto/src/liquidstaking.distribution.v1beta1.rs @@ -22,7 +22,7 @@ pub struct Params { /// number of outstanding delegations which ended the associated period (and /// might need to read that record) /// + number of slashes which ended the associated period (and might need to -/// read that record) +/// read that record) /// + one per validator for the zeroeth period, set on initialization #[allow(clippy::derive_partial_eq_without_eq)] #[derive(Clone, PartialEq, ::prost::Message)] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 7897a24d..1de01fa4 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "1.75.0" +channel = "1.81.0"