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

ADR011 light client extraction (first iteration) #2423

Merged
merged 28 commits into from
Jul 21, 2022

Conversation

hu55a1n1
Copy link
Member

@hu55a1n1 hu55a1n1 commented Jul 18, 2022

As discussed with @romac, this is the first iteration of ADR011 that there seems to be an agreement upon and something we can merge right away. The original PR (#2356) will remain open so that we can improve it iteratively.


PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

hu55a1n1 and others added 27 commits June 29, 2022 19:51
@hu55a1n1 hu55a1n1 marked this pull request as ready for review July 19, 2022 10:31
Copy link
Member

@romac romac left a comment

Choose a reason for hiding this comment

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

Amazing stuff! Thank you so much :)

@hu55a1n1 hu55a1n1 merged commit c10bf7c into master Jul 21, 2022
@hu55a1n1 hu55a1n1 deleted the hu55a1n1/adr011-light-client-extraction-iter-1 branch July 21, 2022 09:47
@hu55a1n1 hu55a1n1 mentioned this pull request Aug 25, 2022
6 tasks
hu55a1n1 added a commit to hu55a1n1/hermes that referenced this pull request Sep 13, 2022
* Initial draft

* Add object-safety related decisions

* More on object-safety

* Document proposal on downcasting support

* Special case AnyClient removal

* Ideas on splitting work

* Summarize rationale for Any* enums described in ADR003

* Address review feedback

* Apply suggestions from code review

Co-authored-by: Sean Chen <[email protected]>

* Add section on light client registry

* Long-lived branch

* Add section on domain types

* Proposal for handling light client specific code

* ADR table entry

* Add examples for light client specific module code

* Move `ClientState::client_def()` to `ClientReader::client_def()`

* Modify example describing need for client registry

* Add proposal to merge `ClientDef` into `ClientState`

* Add line about client registry reexporting concrete types

* Add .changelog entry

* Fix changelog links

* Add comments about object safe Protobuf trait

* Delete old comment regarding `Header::encode_any()`

Co-authored-by: Sean Chen <[email protected]>
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.

2 participants