Skip to content

Commit

Permalink
Enable cosmwasm_2_1 feature where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed May 23, 2024
1 parent e15bc91 commit 783b783
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,15 +438,15 @@ jobs:
- run:
name: Build library for native target (all features)
working_directory: ~/project/packages/std
command: cargo build --locked --features abort,iterator,staking,stargate,cosmwasm_2_0
command: cargo build --locked --features abort,iterator,staking,stargate,cosmwasm_2_1
- run:
name: Build library for wasm target (all features)
working_directory: ~/project/packages/std
command: cargo wasm --locked --features abort,iterator,staking,stargate,cosmwasm_2_0
command: cargo wasm --locked --features abort,iterator,staking,stargate,cosmwasm_2_1
- run:
name: Run unit tests (all features)
working_directory: ~/project/packages/std
command: cargo test --locked --features abort,iterator,staking,stargate,cosmwasm_2_0
command: cargo test --locked --features abort,iterator,staking,stargate,cosmwasm_2_1
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down Expand Up @@ -1037,7 +1037,7 @@ jobs:
- run:
name: Clippy linting on std (all feature flags)
working_directory: ~/project/packages/std
command: cargo clippy --all-targets --tests --features abort,iterator,staking,stargate,cosmwasm_2_0 -- -D warnings
command: cargo clippy --all-targets --tests --features abort,iterator,staking,stargate,cosmwasm_2_1 -- -D warnings
- run:
name: Clippy linting on vm (no feature flags)
working_directory: ~/project/packages/vm
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"abort",
"stargate",
"staking",
"cosmwasm_2_0"
"cosmwasm_2_1"
]
}
2 changes: 1 addition & 1 deletion packages/go-gen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
publish = false

[dependencies]
cosmwasm-std = { version = "2.0.1", path = "../std", features = ["cosmwasm_2_0", "staking", "stargate"] }
cosmwasm-std = { version = "2.0.1", path = "../std", features = ["cosmwasm_2_1", "staking", "stargate"] }
cosmwasm-schema = { version = "2.0.1", path = "../schema" }
anyhow = "1"
Inflector = "0.11.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/std/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "Apache-2.0"
readme = "README.md"

[package.metadata.docs.rs]
features = ["abort", "stargate", "staking", "cosmwasm_2_0"]
features = ["abort", "stargate", "staking", "cosmwasm_2_1"]

[features]
default = ["iterator", "abort"]
Expand Down

0 comments on commit 783b783

Please sign in to comment.