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

Support for ICS 08 Wasm clients wrapping an ICS 07 Tendermint client #3958

Draft
wants to merge 23 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b26c442
Add dummy file
romac Apr 18, 2024
018e2f1
Support for creating and updating ICS 08 WASM clients wrapping an ICS…
romac Apr 22, 2024
8c19259
Merge branch 'master' into romac/wasm-client
romac Apr 22, 2024
13b91a1
Fetch contract from ibc-rs workflow artifacts
romac Apr 22, 2024
5992176
Build Wasm contract with Nix (#3969)
romac Apr 22, 2024
0b6ad87
Apply suggestions from code review
romac May 29, 2024
889dad0
Merge branch 'master' into romac/wasm-client
romac May 29, 2024
2d0e04e
Merge branch 'master' into romac/wasm-client
ljoss17 Jul 16, 2024
11ccd74
Add connection and channel handshake to wasm_client test
ljoss17 Jul 17, 2024
f466701
Increase trusting_period for clients in wasm client test
ljoss17 Jul 22, 2024
a2c14a5
Merge branch 'master' into romac/wasm-client
ljoss17 Aug 15, 2024
e6ce67a
Merge branch 'master' into romac/wasm-client
ljoss17 Aug 15, 2024
3663ca5
Fix voting on gov proposals in tests
ljoss17 Aug 15, 2024
8f93141
Remove Injective from CI
ljoss17 Aug 15, 2024
b96dc00
Add changelog entry
ljoss17 Aug 15, 2024
5ffc19e
Update nix flake
ljoss17 Aug 15, 2024
163f7e2
Fix Wasm client test
ljoss17 Aug 15, 2024
0727034
Use ibc-go v9 for wasm client test
ljoss17 Aug 15, 2024
963f051
Update tendermint client Wasm contract generation
ljoss17 Aug 20, 2024
f23995a
Update Nix generation of tendermint-wasm client contract
ljoss17 Aug 20, 2024
7b46b6a
Merge branch 'master' into romac/wasm-client
ljoss17 Oct 15, 2024
8044945
Use wasm enabled ibc-go v9 for wasm client test
ljoss17 Oct 15, 2024
f66b78a
Merge branch 'master' into romac/wasm-client
ljoss17 Oct 29, 2024
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
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Luca Joss <[email protected]>
Signed-off-by: Romain Ruetschi <[email protected]>
  • Loading branch information
romac and ljoss17 authored May 29, 2024
commit 0b6ad873949db1e11c7908de3a2da0e6daf31d89
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ pub enum WasmUnderlyingConsensusState {
impl Ics02ConsensusState for WasmUnderlyingConsensusState {
fn client_type(&self) -> ClientType {
match self {
Self::Tendermint(tm_client_state) => tm_client_state.client_type(),
Self::Tendermint(tm_consensus_state) => tm_consensus_state.client_type(),
}
}

fn root(&self) -> &CommitmentRoot {
match self {
Self::Tendermint(tm_client_state) => tm_client_state.root(),
Self::Tendermint(tm_consensus_state) => tm_consensus_state.root(),
}
}

fn timestamp(&self) -> Timestamp {
match self {
Self::Tendermint(tm_client_state) => tm_client_state.timestamp(),
Self::Tendermint(tm_consensus_state) => tm_consensus_state.timestamp(),
}
}
}
Expand Down