-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[ref](https://github.com/babylonlabs-io/pm/blob/main/adr/adr-026-pre-approval-staking-flow.md). This PR follows #111 by introducing a new message `MsgAddBTCDelegationInclusionProof` and modifying other message handlers. In particular, this PR: * introduced `MsgAddBTCDelegationInclusionProof` and the relevant handler * introduced `staking_time` to `btc_delegation` as db schema change. This is needed to calculate end height of the delegation when the inclusion proof is received * modified handlers `AddCovenantSigs` and `BTCUndelegate` to emit voting power event only if the inclusion proof is received instead of #115 in which commit history got a little borked --------- Co-authored-by: Fangyu Gai <greferry@gmail.com>
- Loading branch information
1 parent
8c3e778
commit 9599eb1
Showing
22 changed files
with
1,730 additions
and
365 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
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
Oops, something went wrong.