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

Update to wasmer 4 #1701

Merged
merged 13 commits into from
Jun 27, 2023
150 changes: 75 additions & 75 deletions .circleci/config.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: 1.64.0
toolchain: 1.67.0
target: wasm32-unknown-unknown
profile: minimal
override: true
Expand Down
2 changes: 1 addition & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pull_request_rules:
- "status-success=macOS"
- "status-success=Windows"
- "status-success=ci/circleci: arm64"
- "status-success=ci/circleci: clippy-1.60.0"
- "status-success=ci/circleci: clippy-1.67.0"
- "status-success=ci/circleci: clippy-1.68.2"
- "status-success=ci/circleci: contract_burner"
- "status-success=ci/circleci: contract_crypto_verify"
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ and this project adheres to
- cosmwasm-vm: Add `Instance::set_debug_handler`/`unset_debug_handler` to allow
customizing the handling of debug messages emitted by the contract ([#1667]).
- cosmwasm-vm: Add `.wasm` extension to stored wasm files ([#1686]).
- cosmwasm-vm: Upgrade Wasmer to version 3.3.0.
- cosmwasm-vm: Upgrade Wasmer to version 4.0.0.
- cosmwasm-check: Update clap dependency to version 4 ([#1677])
- cosmwasm-std: Coin uses shorter `Coin { 123 "ucosm" }` format for Debug
([#1704])
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions contracts/burner/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions contracts/crypto-verify/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion contracts/crypto-verify/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ mod tests {
source: RecoverPubkeyError::UnknownErr { .. },
..
} => {}
err => panic!("Unexpected error: {:?}", err),
err => panic!("Unexpected error: {err:?}"),
}
}

Expand Down
3 changes: 1 addition & 2 deletions contracts/crypto-verify/src/ethereum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ pub fn get_recovery_param_with_chain_id(v: u64, chain_id: u64) -> StdResult<u8>
match recovery {
0 | 1 => Ok(recovery as u8),
_ => Err(StdError::generic_err(format!(
"Calculated recovery parameter must be 0 or 1 but is {}.",
recovery
"Calculated recovery parameter must be 0 or 1 but is {recovery}."
))),
}
}
Expand Down
Loading