-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(stakingEventWatcher): implement ADR-26 pre-approval staking flow…
… and inclusion proof reporting (#70) ### Summary This PR implements the necessary changes to support the [ADR-26](https://github.com/babylonlabs-io/pm/blob/main/adr/adr-026-pre-approval-staking-flow.md) pre-approval staking flow. ### Key Changes - **Renaming:** The `unbondingWatcher` has been renamed to `stakingEventWatcher` to reflect its broader responsibilities. - **Functionality Updates:** - Continues to report unbonding transactions as before. - Now reports inclusion proofs for staking transactions to Babylon. - **E2E** Introduced a new e2e test that verifies a delegation created without an inclusion proof will become active once the proof is provided. ### Related Issue Closes [#67](#67)
- Loading branch information
Showing
15 changed files
with
1,097 additions
and
570 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
55 changes: 43 additions & 12 deletions
55
...r/unbondingwatcher/mock_babylon_client.go → ...takingeventwatcher/mock_babylon_client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.