Skip to content

Commit

Permalink
Merge pull request #2246 from CosmWasm/aw/featureless-entrypoint
Browse files Browse the repository at this point in the history
Featureless entrypoints
  • Loading branch information
aumetra authored Sep 23, 2024
2 parents 45b4629 + 9c9ec09 commit 82f3567
Show file tree
Hide file tree
Showing 32 changed files with 2,699 additions and 8 deletions.
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

0 comments on commit 82f3567

Please sign in to comment.