From e8eea4aa8873808ced62d11139a46c8f9bc4da1c Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Mon, 27 Mar 2023 11:30:49 +0200 Subject: [PATCH] Remove check_contract example --- CHANGELOG.md | 3 +++ packages/vm/Cargo.toml | 4 ---- packages/vm/examples/check_contract.rs | 9 --------- 3 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 packages/vm/examples/check_contract.rs diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e032aaaaf..74c9ed5a34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,10 @@ and this project adheres to - cosmwasm-vm: Add checks for table section of Wasm blob ([#1631]). - cosmwasm-vm: Limit number of imports during static validation ([#1629]). +- cosmwasm-vm: The `check_contract` example was removed. Please use the crate + [cosmwasm-check](https://crates.io/crates/cosmwasm-check) instead ([#1511]). +[#1511]: https://github.com/CosmWasm/cosmwasm/issues/1511 [#1629]: https://github.com/CosmWasm/cosmwasm/pull/1629 [#1631]: https://github.com/CosmWasm/cosmwasm/pull/1631 diff --git a/packages/vm/Cargo.toml b/packages/vm/Cargo.toml index e15ed48528..ff555d2121 100644 --- a/packages/vm/Cargo.toml +++ b/packages/vm/Cargo.toml @@ -34,10 +34,6 @@ allow_interface_version_7 = [] # See https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options bench = false -[[example]] -name = "check_contract" -required-features = ["iterator"] - [dependencies] clru = "0.4.0" # Uses the path when built locally; uses the given version from crates.io when published diff --git a/packages/vm/examples/check_contract.rs b/packages/vm/examples/check_contract.rs deleted file mode 100644 index 8b17dec808..0000000000 --- a/packages/vm/examples/check_contract.rs +++ /dev/null @@ -1,9 +0,0 @@ -pub fn main() { - eprintln!("`check_contract` has been removed from `cosmwasm-vm` examples - please use `cosmwasm-check` instead."); - eprintln!("See https://crates.io/crates/cosmwasm-check"); - eprintln!(); - eprintln!("> cargo install cosmwasm-check"); - eprintln!("> cosmwasm-check --help"); - eprintln!(); - std::process::exit(74); -}