Skip to content

Conversation

@gjermundgaraba
Copy link
Contributor

Description

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Include changelog entry when appropriate (e.g. chores should be omitted from changelog).
  • Wrote unit and integration tests if relevant.
  • Updated documentation (docs/) if anything is changed.
  • Added godoc comments if relevant.
  • Self-reviewed Files changed in the GitHub PR explorer.
  • Provide a conventional commit message to follow the repository standards.

@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

❌ Patch coverage is 70.43011% with 110 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.62%. Comparing base (e6474de) to head (f52f0d7).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
modules/light-clients/attestations/client_state.go 67.92% 18 Missing and 16 partials ⚠️
.../light-clients/attestations/light_client_module.go 67.56% 12 Missing and 12 partials ⚠️
modules/light-clients/attestations/abi.go 78.57% 6 Missing and 6 partials ⚠️
modules/light-clients/attestations/module.go 47.61% 11 Missing ⚠️
modules/light-clients/attestations/store.go 66.66% 4 Missing and 4 partials ⚠️
modules/light-clients/attestations/update.go 72.72% 3 Missing and 3 partials ⚠️
...ules/light-clients/attestations/consensus_state.go 50.00% 4 Missing ⚠️
modules/light-clients/attestations/signature.go 84.00% 2 Missing and 2 partials ⚠️
modules/apps/callbacks/testing/simapp/app.go 0.00% 3 Missing ⚠️
e2e/testsuite/codec.go 0.00% 2 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8717      +/-   ##
==========================================
+ Coverage   58.38%   58.62%   +0.24%     
==========================================
  Files         319      329      +10     
  Lines       18093    18465     +372     
==========================================
+ Hits        10563    10825     +262     
- Misses       6923     6990      +67     
- Partials      607      650      +43     
Flag Coverage Δ
08-wasm 64.81% <ø> (ø)
e2e 0.95% <0.00%> (-0.01%) ⬇️
ibc-go 63.98% <70.81%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new attestation-based IBC light client (10-attestations) that uses ECDSA signatures from a fixed set of trusted attestors to verify counterparty chain state. This provides an alternative trust model to traditional light clients based on cryptographic verification of block headers.

Key changes:

  • Implements a quorum-based verification system requiring M-of-N attestor signatures
  • Supports client updates, membership/non-membership proofs for IBC packet flow
  • Integrates with the existing IBC infrastructure (simapp, e2e tests)

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
proto/ibc/lightclients/attestations/v1/attestations.proto Proto definitions for client state, consensus state, attestation proofs, and packet attestations
modules/light-clients/10-attestations/client_state.go Client state validation, membership/non-membership verification logic
modules/light-clients/10-attestations/signature.go ECDSA signature verification with quorum enforcement
modules/light-clients/10-attestations/update.go Client message verification and state updates
modules/light-clients/10-attestations/light_client_module.go LightClientModule interface implementation
modules/light-clients/10-attestations/*.go Supporting files for consensus state, codec registration, errors, store operations
modules/light-clients/10-attestations/*_test.go Comprehensive unit tests for all components
e2e/tests/attestations/attestations_test.go E2E tests demonstrating full IBC transfer flow with attestation client
simapp/app.go Integration of attestations client into simapp
modules/core/exported/client.go Addition of Attestations constant to exported types
e2e/testsuite/codec.go Codec registration for e2e tests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

gjermundgaraba and others added 2 commits November 30, 2025 07:23
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

gjermundgaraba and others added 6 commits December 1, 2025 13:18
Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com>
Co-authored-by: srdtrk <59252793+srdtrk@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 29 out of 29 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@srdtrk srdtrk changed the title feat: 10-attestation feat: attestation light client Dec 4, 2025
@srdtrk srdtrk merged commit 421839a into main Dec 4, 2025
53 checks passed
@srdtrk srdtrk deleted the gjermund/ibc-attestation-lc branch December 4, 2025 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants