Skip to content
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

fix: merge main to base #126

Merged
merged 43 commits into from
Feb 3, 2025

Conversation

SebastianElvis
Copy link
Member

@SebastianElvis SebastianElvis commented Jan 30, 2025

Resolves #117

Lazar955 and others added 30 commits September 27, 2024 09:25
* adds babylond docker

* rm unused code

* lint

* cleanup

* chore(e2e): parallel e2e (#37)

* parallel go brrr

* cleanup

* pr comments
* Extend staker to support both flows

* Move inclusion proof generation to the caller

* Sending to Babylon in pre-approval flow

* Add new state and new loop

* Whole pre-approval flow closed
#53)

* Use only quorum number of covenant signature when building the witness

* Add change log entry
The libraries that we depend to use int64 for satoshi amount
denominations. To be fully compatible with them,
it is better if we use similar types instead of doing conversions.

Further, this PR fixes some other type conversions and
minor errors found by gosec.
* adjust change log
* run activation check in separate go routine after startup

* change log entry
* Refactor stakerApp logic in regards to two flows

* Remove unnecesary state
* Add used inputs tracking

* Add filtering of utxos used in transaction building
* Refactor stakerApp logic in regards to two flows

* Remove unnecesary state

* Fix: do not send signed staking transaction to btc

* change log entry

* add mising commands file

* fix linter

* chore: update babylon to branch rafilx/btc-staking-activation-height

* chore: update babylon new funciton names

* chore: update to babylon v013

* chore: add #66 to changelog

* chore: better changelog desc for #66

---------

Co-authored-by: KonradStaniec <[email protected]>
* Fix withdrawable transactions query
* bump babylon and remove unbonding sending
* fix lint config

* changelog

* batch 1 of fixes

* batch 2 of fixes

* batch 3 of fixes

* batch 4 of fixes
* bump babylon version

* add changelog entry

* fix docker build

* fix actions
* dissalow creating new stake if allow list is enabled

* change log
* bump babylon version

* Remove restaking test
* 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]>
* bump babylon and adjust params
KonradStaniec and others added 13 commits December 20, 2024 19:07
* bump babylon v1

* change log update

* adapt params retireval
* wip

* Update transition-phase-2.md

* Update transition-phase-2.md

* Update transition-phase-2.md

* review comments

* reviewal comments

* Update register-phase-1-stake.md

* Update register-phase-1-stake.md

* Update register-phase-1-stake.md

* Update register-phase-1-stake.md

* fix bech32

* Update register-phase-1-stake.md
* add command to generate pop
* refactor sign adr36 to separate function

* add command to delete pop payload
* add command to create cosmos adr36 signature
* add pop validation

* file output

* changelog

* linter

* fix comments
* bump babylon v1.0.0-rc.4

* cl

* add copy/pasted address parser

* fix linter
* use released btcd version

* cl
@SebastianElvis SebastianElvis force-pushed the merge-main-to-base-2025 branch from 3171dff to bfd5518 Compare January 31, 2025 01:02
@SebastianElvis SebastianElvis marked this pull request as ready for review January 31, 2025 01:21
Copy link
Contributor

@gusin13 gusin13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work, lgtm!

@filippos47 filippos47 merged commit 89e230f into base/consumer-chain-support Feb 3, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants