Skip to content

Commit

Permalink
Merge pull request #2025 from CosmWasm/ibc-callbacks
Browse files Browse the repository at this point in the history
IBC Callbacks
  • Loading branch information
chipshort authored May 21, 2024
2 parents d904fa2 + 9a3573c commit fa20c53
Show file tree
Hide file tree
Showing 25 changed files with 3,784 additions and 20 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ workflows:
- contract_empty
# - contract_floaty # This contract needs nightly Rust to compile
- contract_hackatom
- contract_ibc_callbacks
- contract_ibc_reflect
- contract_ibc_reflect_send
- contract_queue
Expand Down Expand Up @@ -653,6 +654,36 @@ jobs:
- target/wasm32-unknown-unknown/release/deps
key: cargocache-v2-contract_hackatom-rust:1.73-{{ checksum "Cargo.lock" }}

contract_ibc_callbacks:
docker:
- image: rust:1.73
environment:
RUST_BACKTRACE: 1
working_directory: ~/cosmwasm/contracts/ibc-callbacks
steps:
- checkout:
path: ~/cosmwasm
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version
- restore_cache:
keys:
- cargocache-v2-contract_ibc_callbacks-rust:1.73-{{ checksum "Cargo.lock" }}
# TODO: Enable this once 2.1 has been released to crates.io
- check_contract:
min_version: "2.1"
skip_cosmwasm_check: true
- 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_ibc_callbacks-rust:1.73-{{ checksum "Cargo.lock" }}

contract_ibc_reflect:
docker:
- image: rust:1.73
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ and this project adheres to
`bls12_381_pairing_equality`, `bls12_381_hash_to_g1`, and
`bls12_381_hash_to_g2` to enable BLS12-381 curve operations, such as verifying
pairing equalities ([#2106])
- cosmwasm-std: Add IBC Callbacks support, including two new entrypoints
`ibc_source_callback` and `ibc_destination_callback`, as well as the
`IbcCallbackRequest` type. ([#2025])
- cosmwasm-vm: Add support for the two new IBC Callbacks entrypoints. ([#2025])

[#1983]: https://github.com/CosmWasm/cosmwasm/pull/1983
[#2025]: https://github.com/CosmWasm/cosmwasm/pull/2025
[#2057]: https://github.com/CosmWasm/cosmwasm/pull/2057
[#2058]: https://github.com/CosmWasm/cosmwasm/pull/2058
[#2068]: https://github.com/CosmWasm/cosmwasm/pull/2068
Expand Down
6 changes: 6 additions & 0 deletions contracts/ibc-callbacks/.cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[alias]
wasm = "build --release --lib --target wasm32-unknown-unknown"
wasm-debug = "build --lib --target wasm32-unknown-unknown"
unit-test = "test --lib"
integration-test = "test --test integration"
schema = "run --bin schema"
Loading

0 comments on commit fa20c53

Please sign in to comment.