Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

feat: Sovereign light client implementation - first iteration #17

Merged
merged 41 commits into from
Jan 30, 2024

Conversation

Farhad-Shabani
Copy link
Member

@Farhad-Shabani Farhad-Shabani commented Oct 20, 2023

Closes: #18

Description

This PR marks the initial phase of the Sovereign light client implementation. The key highlights include:

  • Implementation of the ICS-08 Wasm client types. It is migrated to ibc-rs. This is utilized for the CosmWasm contract implementation.
  • Definition of relevant proto files and construction of Rust proto types within a feature branch in ibc-proto-rs.
  • Establishment of light client data structures and types under the sov-celestia-client-types crate.
  • Partial implementation of the light client logic in the sov-celestia-client crate. The remaining methods (specifically verifications) will be addressed in a subsequent PR, once we have solid data structures and understanding of the ZK proof verifier.
  • First iteration of CosmWasm contract implementation in the sov-celestia-client-cw crate.
  • Addition of a test for updating the Sovereign light client on a mock Cosmos chain. The Sovereign light client has been integrated into the basecoin-rs in a feature branch.
  • Definition of dummy ClientState, ConsensusState, and Header builders utilized for writing tests.

PR author checklist

  • Linked to GitHub issue.
  • Added tests.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

@Farhad-Shabani Farhad-Shabani changed the title Develop Sovereign light client for CosmWasm environments feat: Sovereign light client implementation for CW environments Oct 20, 2023
@Farhad-Shabani Farhad-Shabani marked this pull request as ready for review October 20, 2023 21:36
@Farhad-Shabani Farhad-Shabani changed the title feat: Sovereign light client implementation for CW environments feat: Sovereign light client implementation - first iteration Jan 30, 2024
@Farhad-Shabani Farhad-Shabani merged commit 6e75185 into main Jan 30, 2024
8 checks passed
@Farhad-Shabani Farhad-Shabani deleted the farhad/impl-sov-light-client branch January 30, 2024 07:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Initial CosmWasm client implementation for Sovereign rollups on cosmos chains
1 participant