-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-vault-stake-bug
- Loading branch information
Showing
10 changed files
with
1,153 additions
and
54 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Hybrid Client | ||
|
||
This package provides a hybrid client implementation that maintains compatibility between Cosmos SDK v47 and v50 event handling. | ||
|
||
## Background | ||
|
||
In Cosmos SDK v50, there were significant changes to block event handling: | ||
- `BeginBlockEvents` and `EndBlockEvents` were deprecated | ||
- A new event type `FinalizeBlockEvents` was introduced to replace them | ||
|
||
This hybrid client seamlessly handles both versions by: | ||
- Supporting the legacy `BeginBlockEvents` and `EndBlockEvents` for v47 compatibility | ||
- Supporting the new `FinalizeBlockEvents` for v50 compatibility | ||
- Aggregating all events into `FinalizeBlockEvents` for consistent downstream handling | ||
|
||
This allows applications to work with both v47 and v50 chains without needing version-specific event handling logic. |
Oops, something went wrong.