Skip to content

Commit 82f3567

Browse files
authored
Merge pull request #2246 from CosmWasm/aw/featureless-entrypoint
Featureless entrypoints
2 parents 45b4629 + 9c9ec09 commit 82f3567

32 files changed

+2699
-8
lines changed

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ workflows:
8080
- contract_ibc_callbacks
8181
- contract_ibc_reflect
8282
- contract_ibc_reflect_send
83+
- contract_nested_contracts
8384
- contract_queue
8485
- contract_reflect
8586
- contract_staking
@@ -763,6 +764,34 @@ jobs:
763764
- target/wasm32-unknown-unknown/release/deps
764765
key: cargocache-v2-contract_floaty-rust:1.74-{{ checksum "Cargo.lock" }}
765766

767+
contract_nested_contracts:
768+
docker:
769+
- image: rust:1.75
770+
environment:
771+
RUST_BACKTRACE: 1
772+
working_directory: ~/cosmwasm/contracts/nested-contracts
773+
steps:
774+
- checkout:
775+
path: ~/cosmwasm
776+
- run:
777+
name: Version information
778+
command: rustc --version; cargo --version; rustup --version
779+
- restore_cache:
780+
keys:
781+
- cargocache-v2-contract_nested_contracts-rust:1.75-{{ checksum "Cargo.lock" }}
782+
- check_contract:
783+
min_version: "1.4"
784+
- save_cache:
785+
paths:
786+
- /usr/local/cargo/registry
787+
- target/debug/.fingerprint
788+
- target/debug/build
789+
- target/debug/deps
790+
- target/wasm32-unknown-unknown/release/.fingerprint
791+
- target/wasm32-unknown-unknown/release/build
792+
- target/wasm32-unknown-unknown/release/deps
793+
key: cargocache-v2-contract_nested_contracts-rust:1.75-{{ checksum "Cargo.lock" }}
794+
766795
contract_queue:
767796
docker:
768797
- image: rust:1.74

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,16 @@ and this project adheres to
4646
- cosmwasm-vm: Let `mock_env` return a contract address that is valid bech32 and
4747
uses the same bech32 prefix as `MockApi`; Change `MOCK_CONTRACT_ADDR` value to
4848
match the contract address from `mock_env`. ([#2211])
49+
- cosmwasm-derive: Automatically detect whether the package is a dependency or
50+
the primary package, only expanding entrypoints for the primary package. This
51+
effectively deprecates the usage of the `library` feature pattern. ([#2246])
4952
- cosmwasm-std: Deprecate `BankQuery::AllBalances` and `IbcQuery::ListChannels`.
5053
Both are inherently problematic to use because the returned entries are
5154
unbounded. ([#2247])
5255

5356
[#2118]: https://github.com/CosmWasm/cosmwasm/pull/2118
5457
[#2211]: https://github.com/CosmWasm/cosmwasm/issues/2211
58+
[#2246]: https://github.com/CosmWasm/cosmwasm/pull/2246
5559
[#2247]: https://github.com/CosmWasm/cosmwasm/pull/2247
5660

5761
## [2.1.3] - 2024-08-08
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[alias]
2+
wasm = "build --release --lib --target wasm32-unknown-unknown"
3+
unit-test = "test --lib"
4+
schema = "run --bin schema"
5+
integration-test = "test --lib integration_tests"

0 commit comments

Comments
 (0)