Skip to content

Commit fa20c53

Browse files
authored
Merge pull request #2025 from CosmWasm/ibc-callbacks
IBC Callbacks
2 parents d904fa2 + 9a3573c commit fa20c53

File tree

25 files changed

+3784
-20
lines changed

25 files changed

+3784
-20
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ workflows:
7777
- contract_empty
7878
# - contract_floaty # This contract needs nightly Rust to compile
7979
- contract_hackatom
80+
- contract_ibc_callbacks
8081
- contract_ibc_reflect
8182
- contract_ibc_reflect_send
8283
- contract_queue
@@ -653,6 +654,36 @@ jobs:
653654
- target/wasm32-unknown-unknown/release/deps
654655
key: cargocache-v2-contract_hackatom-rust:1.73-{{ checksum "Cargo.lock" }}
655656

657+
contract_ibc_callbacks:
658+
docker:
659+
- image: rust:1.73
660+
environment:
661+
RUST_BACKTRACE: 1
662+
working_directory: ~/cosmwasm/contracts/ibc-callbacks
663+
steps:
664+
- checkout:
665+
path: ~/cosmwasm
666+
- run:
667+
name: Version information
668+
command: rustc --version; cargo --version; rustup --version
669+
- restore_cache:
670+
keys:
671+
- cargocache-v2-contract_ibc_callbacks-rust:1.73-{{ checksum "Cargo.lock" }}
672+
# TODO: Enable this once 2.1 has been released to crates.io
673+
- check_contract:
674+
min_version: "2.1"
675+
skip_cosmwasm_check: true
676+
- save_cache:
677+
paths:
678+
- /usr/local/cargo/registry
679+
- target/debug/.fingerprint
680+
- target/debug/build
681+
- target/debug/deps
682+
- target/wasm32-unknown-unknown/release/.fingerprint
683+
- target/wasm32-unknown-unknown/release/build
684+
- target/wasm32-unknown-unknown/release/deps
685+
key: cargocache-v2-contract_ibc_callbacks-rust:1.73-{{ checksum "Cargo.lock" }}
686+
656687
contract_ibc_reflect:
657688
docker:
658689
- image: rust:1.73

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ and this project adheres to
4141
`bls12_381_pairing_equality`, `bls12_381_hash_to_g1`, and
4242
`bls12_381_hash_to_g2` to enable BLS12-381 curve operations, such as verifying
4343
pairing equalities ([#2106])
44+
- cosmwasm-std: Add IBC Callbacks support, including two new entrypoints
45+
`ibc_source_callback` and `ibc_destination_callback`, as well as the
46+
`IbcCallbackRequest` type. ([#2025])
47+
- cosmwasm-vm: Add support for the two new IBC Callbacks entrypoints. ([#2025])
4448

4549
[#1983]: https://github.com/CosmWasm/cosmwasm/pull/1983
50+
[#2025]: https://github.com/CosmWasm/cosmwasm/pull/2025
4651
[#2057]: https://github.com/CosmWasm/cosmwasm/pull/2057
4752
[#2058]: https://github.com/CosmWasm/cosmwasm/pull/2058
4853
[#2068]: https://github.com/CosmWasm/cosmwasm/pull/2068

contracts/ibc-callbacks/.cargo/config

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

0 commit comments

Comments
 (0)