Skip to content

Commit 3b352a9

Browse files
committed
Add missing cosmwasm_1_2 features
1 parent 1558877 commit 3b352a9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,15 +358,15 @@ jobs:
358358
- run:
359359
name: Build library for native target (all features)
360360
working_directory: ~/project/packages/std
361-
command: cargo build --locked --features abort,iterator,staking,stargate,cosmwasm_1_1
361+
command: cargo build --locked --features abort,iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2
362362
- run:
363363
name: Build library for wasm target (all features)
364364
working_directory: ~/project/packages/std
365-
command: cargo wasm --locked --features abort,iterator,staking,stargate,cosmwasm_1_1
365+
command: cargo wasm --locked --features abort,iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2
366366
- run:
367367
name: Run unit tests (all features)
368368
working_directory: ~/project/packages/std
369-
command: cargo test --locked --features abort,iterator,staking,stargate,cosmwasm_1_1
369+
command: cargo test --locked --features abort,iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2
370370
- save_cache:
371371
paths:
372372
- /usr/local/cargo/registry
@@ -882,7 +882,7 @@ jobs:
882882
- run:
883883
name: Clippy linting on std (all feature flags)
884884
working_directory: ~/project/packages/std
885-
command: cargo clippy --all-targets --features abort,iterator,staking,stargate -- -D warnings
885+
command: cargo clippy --all-targets --features abort,iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2 -- -D warnings
886886
- run:
887887
name: Clippy linting on storage (no feature flags)
888888
working_directory: ~/project/packages/storage

devtools/check_workspace.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cargo fmt
88
(
99
cd packages/std
1010
cargo check
11-
cargo check --features iterator,staking,stargate
11+
cargo check --features iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2
1212
cargo wasm-debug
1313
cargo wasm-debug --features iterator,staking,stargate
1414
cargo clippy --all-targets --features iterator,staking,stargate -- -D warnings

packages/check/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use colored::Colorize;
1010
use cosmwasm_vm::capabilities_from_csv;
1111
use cosmwasm_vm::internals::{check_wasm, compile};
1212

13-
const DEFAULT_AVAILABLE_CAPABILITIES: &str = "iterator,staking,stargate,cosmwasm_1_1";
13+
const DEFAULT_AVAILABLE_CAPABILITIES: &str = "iterator,staking,stargate,cosmwasm_1_1,cosmwasm_1_2";
1414

1515
pub fn main() {
1616
let matches = App::new("Contract checking")

packages/vm/src/testing/instance.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub struct MockInstanceOptions<'a> {
9898
impl MockInstanceOptions<'_> {
9999
fn default_capabilities() -> HashSet<String> {
100100
#[allow(unused_mut)]
101-
let mut out = capabilities_from_csv("iterator,staking,cosmwasm_1_1");
101+
let mut out = capabilities_from_csv("iterator,staking,cosmwasm_1_1,cosmwasm_1_2");
102102
#[cfg(feature = "stargate")]
103103
out.insert("stargate".to_string());
104104
out

0 commit comments

Comments
 (0)