Cargo Features

[dependencies]
abstract-cw-multi-test = { version = "2.2.4", default-features = false, features = ["backtrace", "staking", "stargate", "cosmwasm_1_1", "cosmwasm_1_2", "cosmwasm_1_3", "cosmwasm_1_4", "cosmwasm_2_0", "cosmwasm_2_1"] }
default = staking, stargate

These default features are set whenever abstract-cw-multi-test is added without default-features = false somewhere in the dependency tree.

backtrace

Enables backtrace of anyhow

staking default

Enables staking of cosmwasm-std

cosmwasm-std:

staking exposes bindings to a required staking moudle in the runtime, via new CosmosMsg types, and new QueryRequest types. This should only be enabled on contracts that require these types, so other contracts can be used on systems with eg. PoA consensus

Affects featured::staking

stargate default

Enables stargate of cosmwasm-std

cosmwasm-std:

stargate enables stargate-dependent messages and queries, like raw protobuf messages as well as ibc-related functionality

cosmwasm_1_1 cosmwasm_1_2?

Enables cosmwasm_1_1 of cosmwasm-std

cosmwasm-std:

This feature makes BankQuery::Supply available for the contract to call, but requires the host blockchain to run CosmWasm 1.1.0 or higher.

cosmwasm_1_2 cosmwasm_1_3? = cosmwasm_1_1

Enables cosmwasm_1_2 of cosmwasm-std

cosmwasm-std:

This feature makes GovMsg::VoteWeighted available for the contract to call, but requires the host blockchain to run CosmWasm 1.2.0 or higher.

Affects executor::Executor.instantiate2_contract

cosmwasm_1_3 cosmwasm_1_4? = cosmwasm_1_2

Enables cosmwasm_1_3 of cosmwasm-std

cosmwasm-std:

This feature makes BankQuery::DenomMetadata available for the contract to call, but requires the host blockchain to run CosmWasm 1.3.0 or higher.

cosmwasm_1_4 cosmwasm_2_0? = cosmwasm_1_3

Enables cosmwasm_1_4 of cosmwasm-std

cosmwasm-std:

Together with the iterator feature this enables additional imports for more efficient iteration over DB keys or values. It also makes DistributionQuery::{DelegationRewards, DelegationTotalRewards, DelegatorValidators} available for the contract to call. It requires the host blockchain to run CosmWasm 1.4.0 or higher.

cosmwasm_2_0 cosmwasm_2_1? = cosmwasm_1_4

Enables cosmwasm_2_0 of cosmwasm-std

cosmwasm-std:

This enables functionality that is only available on 2.0 chains. It adds CosmosMsg::Any, replacing CosmosMsg::Stargate. It also adds QueryRequest::Grpc.

cosmwasm_2_1 = cosmwasm_2_0

Enables cosmwasm_2_1 of cosmwasm-std

cosmwasm-std:

This enables functionality that is only available on 2.1 chains.
It adds verification and key recovery for the secp256r1 elliptic curve.