Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump workspace-optimizer to v0.12.13 #72

Merged
merged 1 commit into from
Jun 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
inputs:
toolchain:
description: 'Default Rust Toolchain'
default: "1.63.0"
default: "1.68.2"
required: true
type: string
target:
Expand All @@ -31,7 +31,7 @@ on:
type: string

env:
TOOLCHAIN: ${{ inputs.toolchain || '1.63.0' }}
TOOLCHAIN: ${{ inputs.toolchain || '1.68.2' }}
TARGET: ${{ inputs.target || 'wasm32-unknown-unknown' }}
REF: ${{ github.event_name == 'push' && github.ref || inputs.branch || 'main' }}
ID: ${{ inputs.id || 'scheduled' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.63.0
toolchain: 1.68.2
components: clippy
profile: minimal
override: true
Expand All @@ -31,7 +31,7 @@ jobs:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.63.0
toolchain: 1.68.2
components: rustfmt
profile: minimal
override: true
Expand All @@ -49,7 +49,7 @@ jobs:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.63.0
toolchain: 1.68.2
profile: minimal
- run: cargo fetch --verbose
- run: cargo build
Expand Down
2 changes: 1 addition & 1 deletion build_release.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker run --rm -v "$(pwd)":/code \
--mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
cosmwasm/workspace-optimizer:0.12.8
cosmwasm/workspace-optimizer:0.12.13
1 change: 0 additions & 1 deletion contracts/tokenomics/distribution/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ pub fn execute_fund(deps: DepsMut, info: MessageInfo) -> Result<Response, Contra
}
let shares = SHARES
.range(deps.storage, None, None, Order::Ascending)
.into_iter()
.collect::<StdResult<Vec<_>>>()?;
if shares.is_empty() {
return Err(ContractError::NoSharesSent {});
Expand Down
4 changes: 2 additions & 2 deletions packages/cw-denom/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ impl UncheckedDenom {

impl CheckedDenom {
/// Queries WHO's balance for the denomination.
pub fn query_balance<'a, C: CustomQuery>(
pub fn query_balance<C: CustomQuery>(
&self,
querier: &QuerierWrapper<'a, C>,
querier: &QuerierWrapper<C>,
who: &Addr,
) -> StdResult<Uint128> {
match self {
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.63.0"
channel = "1.68.2"