-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new command phase1 stake to BTC delegation (#90)
* chore: init command draft * chore: add get tx details from tx hash only * chore: add initial impl to btc staking from phase 1 * feat: add cli to create babylon create btc delegation from staking tx * chore: add #90 to changelog * chore: add stake command to CLI * fix: lint * chore: move cli and manager to separated file * chore: manager split btc data * chore: split func to generate covenant pk * chore: add staking of phase 1 test * fix: lint * trytest: stuck at including finality provider to running chain * chore: add last err to debug * pass json serializable params * chore: refactory send transaction to phase 1 * chore: fix comment * chore: address PR comments * chore: rollback rand * chore: use rand previous created * chore: add possible responde of BTC delegation to consumer * chore: try to refactory to receive BTC delegation tx hash * chore: moved to use command * chore: add todo * chore: fix lint and allow nonamedreturns * chore: remove go routine of mine empty blocks * chore: add new field to transaction tracked of tx hash of btc delegation * tryfix: get btc delegation tx hash * fix: lint removed unused func * chore: add goroutine to return the cmd request * chore: address pr comment and simplified the stking tx migration * chore: add btc del tx hash to delegation sent to babylon * fix: lint removed unused func * chore: removed txInclusionHeightFlag flag and getting the block height by querying the btc * chore: rename BtcDelegationTxHash to BabylonBTCDelegationTxHash * chore: update error msg * fix: lint * chore: add back tx-inclusion-height as optional, if not set queries the tx hash --------- Co-authored-by: KonradStaniec <[email protected]>
- Loading branch information
1 parent
5a1c0c2
commit 35c690a
Showing
23 changed files
with
2,238 additions
and
1,435 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
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.