-
Notifications
You must be signed in to change notification settings - Fork 96
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
Make client events compatible with ibc-go v5.0.0 #138
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add ADRs * Update docs/architecture/adr-002-error.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-003-ics20-implementation.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-004-light-client-crates-extraction.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-001-handler-implementation.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-004-light-client-crates-extraction.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> Co-authored-by: Shoaib Ahmed <[email protected]>
* std crate enabled for tests * clippy no-default-features: still use clock feature * patch ibc-proto to not use latest * fix ibc-proto patch properly * Allow deprecated (for crossing hellos fields) * Remove ibc-proto rev for no-std * fix no-std ibc-proto patch * Remove comment
* init adr 12 * Host based API * Add appendices * Add section on event logging * Add .changelog entry * Fix TypedStore associated type (syntax only) * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Philippe Laferrière <[email protected]> * validation vs execution clarifications * Move ValidationContext and ExecutionContext methods to appendix * Context clarification * Rework Host-based API section * ValidationContext and ExecutionContext clarification * Move Event logging section + misc * typo * Remove statement. Was mentioned earlier already. * IbcStore blanket implementation * IbcValueForPath rework * Remove IbcSerde from main ADR * TypedStore -> SubStore * diagram * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Sean Chen <[email protected]> * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Sean Chen <[email protected]> * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Sean Chen <[email protected]> * add context for why the validation/execution split is necessary * add trait bounds * Rename ADR012 -> ADR005 * Apply suggestions from code review Change ADR status from Proposed to Accepted Co-authored-by: Philippe Laferrière <[email protected]> Signed-off-by: Shoaib Ahmed <[email protected]> Signed-off-by: Shoaib Ahmed <[email protected]> Co-authored-by: Philippe Laferriere <[email protected]> Co-authored-by: Sean Chen <[email protected]>
* Add filtered changelog with ibc relevant entries * Init unclog * Add unreleased changelog entries
hu55a1n1
approved these changes
Oct 11, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff! Preapproved with some minor suggestions.
Farhad-Shabani
pushed a commit
that referenced
this pull request
Sep 9, 2024
* client_id IbcEvent refactor * Remove NewBlock and ChainError events * Refactor update_client event * clippy * Improve CreateClient event type * Improve UpdateClient event type * refactor ClientMisbehaviour event * UpgradeClient event refactor * Remove Client Attributes * Add EventMessage * client handlers emit ibcevent message * Copy relevant ADRs from hermes repository (#147) * Add ADRs * Update docs/architecture/adr-002-error.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-003-ics20-implementation.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-004-light-client-crates-extraction.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-001-handler-implementation.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> * Update docs/architecture/adr-004-light-client-crates-extraction.md Co-authored-by: Shoaib Ahmed <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> Signed-off-by: Philippe Laferrière <[email protected]> Co-authored-by: Shoaib Ahmed <[email protected]> * Fix CI (#151) * std crate enabled for tests * clippy no-default-features: still use clock feature * patch ibc-proto to not use latest * fix ibc-proto patch properly * Allow deprecated (for crossing hellos fields) * Remove ibc-proto rev for no-std * fix no-std ibc-proto patch * Remove comment * fmt * Fix tests Events will be tested in their own test rather than spread across all tests. * ADR 012: Handlers validation and execution separation (#153) * init adr 12 * Host based API * Add appendices * Add section on event logging * Add .changelog entry * Fix TypedStore associated type (syntax only) * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Philippe Laferrière <[email protected]> * validation vs execution clarifications * Move ValidationContext and ExecutionContext methods to appendix * Context clarification * Rework Host-based API section * ValidationContext and ExecutionContext clarification * Move Event logging section + misc * typo * Remove statement. Was mentioned earlier already. * IbcStore blanket implementation * IbcValueForPath rework * Remove IbcSerde from main ADR * TypedStore -> SubStore * diagram * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Sean Chen <[email protected]> * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Sean Chen <[email protected]> * Update docs/architecture/adr-012-handlers-redesign.md Co-authored-by: Sean Chen <[email protected]> * add context for why the validation/execution split is necessary * add trait bounds * Rename ADR012 -> ADR005 * Apply suggestions from code review Change ADR status from Proposed to Accepted Co-authored-by: Philippe Laferrière <[email protected]> Signed-off-by: Shoaib Ahmed <[email protected]> Signed-off-by: Shoaib Ahmed <[email protected]> Co-authored-by: Philippe Laferriere <[email protected]> Co-authored-by: Sean Chen <[email protected]> * Setup unclog based changelog (#152) * Add filtered changelog with ibc relevant entries * Init unclog * Add unreleased changelog entries * clippy * Remove "message" ibc event * update_client event test * Remove unused function * upgrade client event * changelog * Revert "Remove unused function" This reverts commit 66459cc. * Remove EMPTY event * Use derive_more::From * Remove Display from IbcEvent * changelog Signed-off-by: Philippe Laferrière <[email protected]> Signed-off-by: Shoaib Ahmed <[email protected]> Co-authored-by: Shoaib Ahmed <[email protected]> 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #144
Description
Left to do:
Handlers also emit the(this is SDK-specific)EventTypeMessage
eventPR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.