Skip to content

Commit

Permalink
Merge pull request #72 from neutron-org/chore/bump_optimizer_0.12.13
Browse files Browse the repository at this point in the history
chore: bump workspace-optimizer to v0.12.13
  • Loading branch information
pr0n00gler authored Jun 27, 2023
2 parents ddd9cec + 5944cfa commit 22d8bbd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
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"

0 comments on commit 22d8bbd

Please sign in to comment.