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

Featureless entrypoints #2246

Merged
merged 11 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ workflows:
- contract_ibc_callbacks
- contract_ibc_reflect
- contract_ibc_reflect_send
- contract_nested_contracts
- contract_queue
- contract_reflect
- contract_staking
Expand Down Expand Up @@ -763,6 +764,34 @@ jobs:
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_floaty-rust:1.74-{{ checksum "Cargo.lock" }}

contract_nested_contracts:
docker:
- image: rust:1.75
environment:
RUST_BACKTRACE: 1
working_directory: ~/cosmwasm/contracts/nested-contracts
steps:
- checkout:
path: ~/cosmwasm
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-v2-contract_nested_contracts-rust:1.75-{{ checksum "Cargo.lock" }}
- check_contract:
min_version: "1.4"
- save_cache:
paths:
- /usr/local/cargo/registry
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
- target/wasm32-unknown-unknown/release/.fingerprint
- target/wasm32-unknown-unknown/release/build
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_nested_contracts-rust:1.75-{{ checksum "Cargo.lock" }}

contract_queue:
docker:
- image: rust:1.74
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,16 @@ and this project adheres to
- cosmwasm-vm: Let `mock_env` return a contract address that is valid bech32 and
uses the same bech32 prefix as `MockApi`; Change `MOCK_CONTRACT_ADDR` value to
match the contract address from `mock_env`. ([#2211])
- cosmwasm-derive: Automatically detect whether the package is a dependency or
the primary package, only expanding entrypoints for the primary package. This
effectively deprecates the usage of the `library` feature pattern. ([#2246])
- cosmwasm-std: Deprecate `BankQuery::AllBalances` and `IbcQuery::ListChannels`.
Both are inherently problematic to use because the returned entries are
unbounded. ([#2247])

[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
[#2211]: https://github.com/CosmWasm/cosmwasm/issues/2211
[#2246]: https://github.com/CosmWasm/cosmwasm/pull/2246
[#2247]: https://github.com/CosmWasm/cosmwasm/pull/2247

## [2.1.3] - 2024-08-08
Expand Down
5 changes: 5 additions & 0 deletions contracts/nested-contracts/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[alias]
wasm = "build --release --lib --target wasm32-unknown-unknown"
unit-test = "test --lib"
schema = "run --bin schema"
integration-test = "test --lib integration_tests"
Loading
Loading