From f7c17b17e6ec546ac9370b9a3d21686eeb5e12a7 Mon Sep 17 00:00:00 2001 From: Runchao Han Date: Wed, 31 Jul 2024 09:56:57 +1000 Subject: [PATCH 1/3] rename dependency for BabylonLabs (#1) This PR replaces the Babylon dependency with the Babylon labs' one, and updates the license. --------- Co-authored-by: Cirrus Gai Co-authored-by: Rafael Tenfen --- CHANGELOG.md | 472 +++++++++--------- Dockerfile | 10 +- Makefile | 4 +- README.md | 6 +- clientcontroller/babylon.go | 16 +- clientcontroller/interface.go | 6 +- clientcontroller/retry_utils.go | 4 +- eotsmanager/client/rpcclient.go | 6 +- eotsmanager/cmd/eotsd/daemon/init.go | 4 +- eotsmanager/cmd/eotsd/daemon/keys.go | 8 +- eotsmanager/cmd/eotsd/daemon/pop.go | 12 +- eotsmanager/cmd/eotsd/daemon/pop_test.go | 10 +- eotsmanager/cmd/eotsd/daemon/sign.go | 8 +- eotsmanager/cmd/eotsd/daemon/sign_test.go | 4 +- eotsmanager/cmd/eotsd/daemon/start.go | 10 +- eotsmanager/cmd/eotsd/main.go | 2 +- eotsmanager/config/config.go | 4 +- eotsmanager/eotsmanager.go | 2 +- eotsmanager/localmanager.go | 14 +- eotsmanager/localmanager_test.go | 10 +- eotsmanager/proto/buf.yaml | 2 +- eotsmanager/proto/eotsmanager.pb.go | 12 +- eotsmanager/proto/eotsmanager.proto | 2 +- eotsmanager/proto/eotsmanager_grpc.pb.go | 37 +- eotsmanager/randgenerator/randgenerator.go | 2 +- eotsmanager/service/rpcserver.go | 4 +- eotsmanager/service/server.go | 6 +- eotsmanager/store/eotsstore_test.go | 8 +- finality-provider/cmd/cmd.go | 4 +- finality-provider/cmd/cmd_test.go | 8 +- .../cmd/fpd/daemon/daemon_commands.go | 8 +- finality-provider/cmd/fpd/daemon/export.go | 10 +- finality-provider/cmd/fpd/daemon/init.go | 6 +- finality-provider/cmd/fpd/daemon/keys.go | 4 +- finality-provider/cmd/fpd/daemon/start.go | 12 +- finality-provider/cmd/fpd/daemon/tx.go | 4 +- finality-provider/cmd/fpd/daemon/tx_test.go | 18 +- finality-provider/cmd/fpd/main.go | 6 +- finality-provider/config/babylon.go | 2 +- finality-provider/config/config.go | 6 +- finality-provider/proto/buf.yaml | 2 +- finality-provider/proto/finality_providers.go | 2 +- .../proto/finality_providers.pb.go | 14 +- .../proto/finality_providers.proto | 2 +- .../proto/finality_providers_grpc.pb.go | 42 +- finality-provider/service/app.go | 22 +- finality-provider/service/app_test.go | 18 +- finality-provider/service/chain_poller.go | 8 +- .../service/chain_poller_test.go | 12 +- finality-provider/service/client/rpcclient.go | 4 +- .../service/eots_manager_adapter.go | 4 +- finality-provider/service/fastsync.go | 2 +- finality-provider/service/fastsync_test.go | 8 +- finality-provider/service/fp_instance.go | 20 +- finality-provider/service/fp_instance_test.go | 22 +- finality-provider/service/fp_manager.go | 18 +- finality-provider/service/fp_manager_test.go | 30 +- finality-provider/service/fp_store_adapter.go | 8 +- .../service/pub_rand_store_adapter.go | 2 +- finality-provider/service/rpcserver.go | 8 +- finality-provider/service/server.go | 4 +- finality-provider/store/fpstore.go | 2 +- finality-provider/store/fpstore_test.go | 8 +- finality-provider/store/storedfp.go | 4 +- go.mod | 15 +- go.sum | 22 +- itest/babylon_node_handler.go | 2 +- itest/e2e_test.go | 8 +- itest/eotsmanager_handler.go | 6 +- itest/test_manager.go | 30 +- keyring/keyring.go | 2 +- keyring/keyringcontroller.go | 4 +- keyring/keyringcontroller_test.go | 10 +- log/log.go | 2 +- metrics/fp_collectors.go | 4 +- testutil/datagen.go | 18 +- testutil/mocks/babylon.go | 4 +- testutil/utils.go | 4 +- tools/go.mod | 11 +- tools/go.sum | 18 +- tools/tools.go | 2 +- types/pub_rand_commit.go | 2 +- 82 files changed, 589 insertions(+), 614 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d083cff..d77d8092 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,275 +1,275 @@ # Changelog -## [v0.2.0](https://github.com/babylonchain/finality-provider/tree/v0.2.0) (2024-05-14) +## [v0.2.0](https://github.com/babylonlabs-io/finality-provider/tree/v0.2.0) (2024-05-14) -[Full Changelog](https://github.com/babylonchain/finality-provider/compare/euphrates-0.1.0-rc.0...v0.2.0) +[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/euphrates-0.1.0-rc.0...v0.2.0) **Closed issues:** -- eotsd verify signature command from input file, pub key [\#311](https://github.com/babylonchain/finality-provider/issues/311) -- Generate EOTS key [\#306](https://github.com/babylonchain/finality-provider/issues/306) -- Finality Provider issues [\#302](https://github.com/babylonchain/finality-provider/issues/302) -- Requires DATA Prune solutions [\#297](https://github.com/babylonchain/finality-provider/issues/297) -- Suggest Add Delete Provider Instance [\#295](https://github.com/babylonchain/finality-provider/issues/295) -- Add e2e test using CLI `export-finality-provider` and importing the result on genesis [\#289](https://github.com/babylonchain/finality-provider/issues/289) -- failed to register finality-provider \(not found: key not found\) [\#279](https://github.com/babylonchain/finality-provider/issues/279) -- "unauthorized" error with fpcli register-finality-provider [\#273](https://github.com/babylonchain/finality-provider/issues/273) +- eotsd verify signature command from input file, pub key [\#311](https://github.com/babylonlabs-io/finality-provider/issues/311) +- Generate EOTS key [\#306](https://github.com/babylonlabs-io/finality-provider/issues/306) +- Finality Provider issues [\#302](https://github.com/babylonlabs-io/finality-provider/issues/302) +- Requires DATA Prune solutions [\#297](https://github.com/babylonlabs-io/finality-provider/issues/297) +- Suggest Add Delete Provider Instance [\#295](https://github.com/babylonlabs-io/finality-provider/issues/295) +- Add e2e test using CLI `export-finality-provider` and importing the result on genesis [\#289](https://github.com/babylonlabs-io/finality-provider/issues/289) +- failed to register finality-provider \(not found: key not found\) [\#279](https://github.com/babylonlabs-io/finality-provider/issues/279) +- "unauthorized" error with fpcli register-finality-provider [\#273](https://github.com/babylonlabs-io/finality-provider/issues/273) -## [euphrates-0.1.0-rc.0](https://github.com/babylonchain/finality-provider/tree/euphrates-0.1.0-rc.0) (2024-03-26) +## [euphrates-0.1.0-rc.0](https://github.com/babylonlabs-io/finality-provider/tree/euphrates-0.1.0-rc.0) (2024-03-26) -[Full Changelog](https://github.com/babylonchain/finality-provider/compare/v0.1.0...euphrates-0.1.0-rc.0) +[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/v0.1.0...euphrates-0.1.0-rc.0) **Fixed bugs:** -- Finality provider status `CREATED` is not changed to `REGISTERED` in some cases [\#253](https://github.com/babylonchain/finality-provider/issues/253) +- Finality provider status `CREATED` is not changed to `REGISTERED` in some cases [\#253](https://github.com/babylonlabs-io/finality-provider/issues/253) **Closed issues:** -- eotsd init panics [\#266](https://github.com/babylonchain/finality-provider/issues/266) -- DB needs refactoring [\#252](https://github.com/babylonchain/finality-provider/issues/252) -- failed to register the finality-provider to Babylon: error in json rpc client [\#249](https://github.com/babylonchain/finality-provider/issues/249) -- `fpcli ls` should return all the managed fps with different status [\#244](https://github.com/babylonchain/finality-provider/issues/244) -- Change the default parameters to ones used in a stable devnet [\#230](https://github.com/babylonchain/finality-provider/issues/230) -- Crash recovery potentially causes inconsistent state [\#196](https://github.com/babylonchain/finality-provider/issues/196) -- Command for collecting finality provider rewards [\#176](https://github.com/babylonchain/finality-provider/issues/176) -- Drop blocks when a block channel of a validator gets full [\#72](https://github.com/babylonchain/finality-provider/issues/72) +- eotsd init panics [\#266](https://github.com/babylonlabs-io/finality-provider/issues/266) +- DB needs refactoring [\#252](https://github.com/babylonlabs-io/finality-provider/issues/252) +- failed to register the finality-provider to Babylon: error in json rpc client [\#249](https://github.com/babylonlabs-io/finality-provider/issues/249) +- `fpcli ls` should return all the managed fps with different status [\#244](https://github.com/babylonlabs-io/finality-provider/issues/244) +- Change the default parameters to ones used in a stable devnet [\#230](https://github.com/babylonlabs-io/finality-provider/issues/230) +- Crash recovery potentially causes inconsistent state [\#196](https://github.com/babylonlabs-io/finality-provider/issues/196) +- Command for collecting finality provider rewards [\#176](https://github.com/babylonlabs-io/finality-provider/issues/176) +- Drop blocks when a block channel of a validator gets full [\#72](https://github.com/babylonlabs-io/finality-provider/issues/72) -## [v0.1.0](https://github.com/babylonchain/finality-provider/tree/v0.1.0) (2024-02-08) +## [v0.1.0](https://github.com/babylonlabs-io/finality-provider/tree/v0.1.0) (2024-02-08) -[Full Changelog](https://github.com/babylonchain/finality-provider/compare/v0.1.0-rc.0...v0.1.0) +[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/v0.1.0-rc.0...v0.1.0) **Fixed bugs:** -- Fast-sync inconsistent with poller [\#234](https://github.com/babylonchain/finality-provider/issues/234) -- Fast-sync fails upon `ErrDuplicatedFinalitySig` [\#233](https://github.com/babylonchain/finality-provider/issues/233) -- Zero voting power when querying for the best block [\#223](https://github.com/babylonchain/finality-provider/issues/223) -- Data inconsistency leads to Validator termination [\#113](https://github.com/babylonchain/finality-provider/issues/113) +- Fast-sync inconsistent with poller [\#234](https://github.com/babylonlabs-io/finality-provider/issues/234) +- Fast-sync fails upon `ErrDuplicatedFinalitySig` [\#233](https://github.com/babylonlabs-io/finality-provider/issues/233) +- Zero voting power when querying for the best block [\#223](https://github.com/babylonlabs-io/finality-provider/issues/223) +- Data inconsistency leads to Validator termination [\#113](https://github.com/babylonlabs-io/finality-provider/issues/113) **Closed issues:** -- Existing retry loops to safely proceed but the error still exists [\#229](https://github.com/babylonchain/finality-provider/issues/229) -- bug: `LastProcessedHeight` leads to blocks never being voted if previously skipped [\#227](https://github.com/babylonchain/finality-provider/issues/227) -- bug: shouldSubmitFinalitySignature does not check whether randomness is committed [\#226](https://github.com/babylonchain/finality-provider/issues/226) -- Inconsistent LastVotedHeight with Babylon would cause loss of liveness [\#222](https://github.com/babylonchain/finality-provider/issues/222) -- Finality provider crashes over duplicated finality signature submission [\#220](https://github.com/babylonchain/finality-provider/issues/220) -- Finality Providers stop sending Finality sigs [\#219](https://github.com/babylonchain/finality-provider/issues/219) -- Cycle dependency issue with covenant-emulator [\#206](https://github.com/babylonchain/finality-provider/issues/206) -- EOTS manager still asks passphrase from terminal in `file` KeyringBackend [\#145](https://github.com/babylonchain/finality-provider/issues/145) -- Mnemonic for created keyrings should not be stored in the logs [\#78](https://github.com/babylonchain/finality-provider/issues/78) +- Existing retry loops to safely proceed but the error still exists [\#229](https://github.com/babylonlabs-io/finality-provider/issues/229) +- bug: `LastProcessedHeight` leads to blocks never being voted if previously skipped [\#227](https://github.com/babylonlabs-io/finality-provider/issues/227) +- bug: shouldSubmitFinalitySignature does not check whether randomness is committed [\#226](https://github.com/babylonlabs-io/finality-provider/issues/226) +- Inconsistent LastVotedHeight with Babylon would cause loss of liveness [\#222](https://github.com/babylonlabs-io/finality-provider/issues/222) +- Finality provider crashes over duplicated finality signature submission [\#220](https://github.com/babylonlabs-io/finality-provider/issues/220) +- Finality Providers stop sending Finality sigs [\#219](https://github.com/babylonlabs-io/finality-provider/issues/219) +- Cycle dependency issue with covenant-emulator [\#206](https://github.com/babylonlabs-io/finality-provider/issues/206) +- EOTS manager still asks passphrase from terminal in `file` KeyringBackend [\#145](https://github.com/babylonlabs-io/finality-provider/issues/145) +- Mnemonic for created keyrings should not be stored in the logs [\#78](https://github.com/babylonlabs-io/finality-provider/issues/78) **Merged pull requests:** -- chore: Bump Babylon to v0.8.0 [\#239](https://github.com/babylonchain/finality-provider/pull/239) ([gitferry](https://github.com/gitferry)) -- chore: Change default config value [\#238](https://github.com/babylonchain/finality-provider/pull/238) ([gitferry](https://github.com/gitferry)) -- Bumps babylon to latest version [\#236](https://github.com/babylonchain/finality-provider/pull/236) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix\(poller\): Next height should not be set with a lower value [\#235](https://github.com/babylonchain/finality-provider/pull/235) ([gitferry](https://github.com/gitferry)) -- chore: Change default ports to 12581 and 12582 [\#232](https://github.com/babylonchain/finality-provider/pull/232) ([vitsalis](https://github.com/vitsalis)) -- fix: Query best block causing flaky voting power result [\#231](https://github.com/babylonchain/finality-provider/pull/231) ([gitferry](https://github.com/gitferry)) -- fix: `LastProcessedHeight` should be set ensuring public randomness committed [\#228](https://github.com/babylonchain/finality-provider/pull/228) ([gitferry](https://github.com/gitferry)) -- fix: Only clean up blocks buffer up to the fast-synced height [\#225](https://github.com/babylonchain/finality-provider/pull/225) ([vitsalis](https://github.com/vitsalis)) -- chore: Fix panicking upon expected error during retrying [\#221](https://github.com/babylonchain/finality-provider/pull/221) ([gitferry](https://github.com/gitferry)) -- CI: Remove redundant SSH key logic [\#218](https://github.com/babylonchain/finality-provider/pull/218) ([filippos47](https://github.com/filippos47)) -- chore: Remove `--all` flag when starting `fpd` daemon [\#216](https://github.com/babylonchain/finality-provider/pull/216) ([gitferry](https://github.com/gitferry)) -- fix\(doc\): Inconsistency of keyringbackend in doc [\#214](https://github.com/babylonchain/finality-provider/pull/214) ([gitferry](https://github.com/gitferry)) -- docs: Add note regarding randomness commitments [\#213](https://github.com/babylonchain/finality-provider/pull/213) ([filippos47](https://github.com/filippos47)) +- chore: Bump Babylon to v0.8.0 [\#239](https://github.com/babylonlabs-io/finality-provider/pull/239) ([gitferry](https://github.com/gitferry)) +- chore: Change default config value [\#238](https://github.com/babylonlabs-io/finality-provider/pull/238) ([gitferry](https://github.com/gitferry)) +- Bumps babylon to latest version [\#236](https://github.com/babylonlabs-io/finality-provider/pull/236) ([KonradStaniec](https://github.com/KonradStaniec)) +- fix\(poller\): Next height should not be set with a lower value [\#235](https://github.com/babylonlabs-io/finality-provider/pull/235) ([gitferry](https://github.com/gitferry)) +- chore: Change default ports to 12581 and 12582 [\#232](https://github.com/babylonlabs-io/finality-provider/pull/232) ([vitsalis](https://github.com/vitsalis)) +- fix: Query best block causing flaky voting power result [\#231](https://github.com/babylonlabs-io/finality-provider/pull/231) ([gitferry](https://github.com/gitferry)) +- fix: `LastProcessedHeight` should be set ensuring public randomness committed [\#228](https://github.com/babylonlabs-io/finality-provider/pull/228) ([gitferry](https://github.com/gitferry)) +- fix: Only clean up blocks buffer up to the fast-synced height [\#225](https://github.com/babylonlabs-io/finality-provider/pull/225) ([vitsalis](https://github.com/vitsalis)) +- chore: Fix panicking upon expected error during retrying [\#221](https://github.com/babylonlabs-io/finality-provider/pull/221) ([gitferry](https://github.com/gitferry)) +- CI: Remove redundant SSH key logic [\#218](https://github.com/babylonlabs-io/finality-provider/pull/218) ([filippos47](https://github.com/filippos47)) +- chore: Remove `--all` flag when starting `fpd` daemon [\#216](https://github.com/babylonlabs-io/finality-provider/pull/216) ([gitferry](https://github.com/gitferry)) +- fix\(doc\): Inconsistency of keyringbackend in doc [\#214](https://github.com/babylonlabs-io/finality-provider/pull/214) ([gitferry](https://github.com/gitferry)) +- docs: Add note regarding randomness commitments [\#213](https://github.com/babylonlabs-io/finality-provider/pull/213) ([filippos47](https://github.com/filippos47)) -## [v0.1.0-rc.0](https://github.com/babylonchain/finality-provider/tree/v0.1.0-rc.0) (2024-01-22) +## [v0.1.0-rc.0](https://github.com/babylonlabs-io/finality-provider/tree/v0.1.0-rc.0) (2024-01-22) -[Full Changelog](https://github.com/babylonchain/finality-provider/compare/f88f8884fd415300ac85c24384652df8ef744f36...v0.1.0-rc.0) +[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/f88f8884fd415300ac85c24384652df8ef744f36...v0.1.0-rc.0) **Fixed bugs:** -- Panicking when querying for public randomness [\#199](https://github.com/babylonchain/finality-provider/issues/199) -- `fpcli --daemon-address` flag inconsistencies [\#197](https://github.com/babylonchain/finality-provider/issues/197) -- Cannot manually submit finality signature [\#187](https://github.com/babylonchain/finality-provider/issues/187) -- `fpcli ls`: Finality provider description is base64 encoded [\#186](https://github.com/babylonchain/finality-provider/issues/186) -- Finality providers don't start after daemon restart [\#183](https://github.com/babylonchain/finality-provider/issues/183) -- btc-validator doesn't report errors when connected to non-existent remote EOTS manager [\#169](https://github.com/babylonchain/finality-provider/issues/169) -- Indirect dependency on `cosmossdk.io/tools/confix/cmd` [\#158](https://github.com/babylonchain/finality-provider/issues/158) -- BTC Validator daemon freezes after attack execution [\#131](https://github.com/babylonchain/finality-provider/issues/131) -- BTC Validator skipped voting for a block [\#114](https://github.com/babylonchain/finality-provider/issues/114) -- btc-validator freezes after creating additional BTC Validators [\#106](https://github.com/babylonchain/finality-provider/issues/106) -- Slashed validators' status not shifting to `3` on `valcli dn ls` output [\#98](https://github.com/babylonchain/finality-provider/issues/98) -- Account sequence mismatch error [\#84](https://github.com/babylonchain/finality-provider/issues/84) -- Create validator: BTC PKs always have prefix 02 in logs [\#77](https://github.com/babylonchain/finality-provider/issues/77) +- Panicking when querying for public randomness [\#199](https://github.com/babylonlabs-io/finality-provider/issues/199) +- `fpcli --daemon-address` flag inconsistencies [\#197](https://github.com/babylonlabs-io/finality-provider/issues/197) +- Cannot manually submit finality signature [\#187](https://github.com/babylonlabs-io/finality-provider/issues/187) +- `fpcli ls`: Finality provider description is base64 encoded [\#186](https://github.com/babylonlabs-io/finality-provider/issues/186) +- Finality providers don't start after daemon restart [\#183](https://github.com/babylonlabs-io/finality-provider/issues/183) +- btc-validator doesn't report errors when connected to non-existent remote EOTS manager [\#169](https://github.com/babylonlabs-io/finality-provider/issues/169) +- Indirect dependency on `cosmossdk.io/tools/confix/cmd` [\#158](https://github.com/babylonlabs-io/finality-provider/issues/158) +- BTC Validator daemon freezes after attack execution [\#131](https://github.com/babylonlabs-io/finality-provider/issues/131) +- BTC Validator skipped voting for a block [\#114](https://github.com/babylonlabs-io/finality-provider/issues/114) +- btc-validator freezes after creating additional BTC Validators [\#106](https://github.com/babylonlabs-io/finality-provider/issues/106) +- Slashed validators' status not shifting to `3` on `valcli dn ls` output [\#98](https://github.com/babylonlabs-io/finality-provider/issues/98) +- Account sequence mismatch error [\#84](https://github.com/babylonlabs-io/finality-provider/issues/84) +- Create validator: BTC PKs always have prefix 02 in logs [\#77](https://github.com/babylonlabs-io/finality-provider/issues/77) **Closed issues:** -- Inconsistency between the local LastCommittedHeight and Babylon [\#193](https://github.com/babylonchain/finality-provider/issues/193) -- LastCommittedHeight inconsistancy [\#191](https://github.com/babylonchain/finality-provider/issues/191) -- `fpcli cfp`: `--key-name` flag removed [\#184](https://github.com/babylonchain/finality-provider/issues/184) -- Show descriptive validator statuses [\#177](https://github.com/babylonchain/finality-provider/issues/177) -- Split covenant into a different repository [\#175](https://github.com/babylonchain/finality-provider/issues/175) -- Ensure the check of delegation/undelegation is consistent with Babylon [\#173](https://github.com/babylonchain/finality-provider/issues/173) -- Key Management Commands [\#170](https://github.com/babylonchain/finality-provider/issues/170) -- Configuration option specifying max number of validators concurrently running [\#165](https://github.com/babylonchain/finality-provider/issues/165) -- Rename btc-validator to finality-provider [\#163](https://github.com/babylonchain/finality-provider/issues/163) -- Use common Dockerfile for covenant, eots-manager, and finality provider [\#162](https://github.com/babylonchain/finality-provider/issues/162) -- btc-validator: Wrong config file path [\#160](https://github.com/babylonchain/finality-provider/issues/160) -- Use `zap` logger to replace `logrus` logger [\#157](https://github.com/babylonchain/finality-provider/issues/157) -- `vald` and `eotsd` can start even if there is no config file present. [\#155](https://github.com/babylonchain/finality-provider/issues/155) -- `KeyDirectory` in `vald.conf` creates another subdirectory to store keys [\#154](https://github.com/babylonchain/finality-provider/issues/154) -- `vald` shows successfully connected to EOTS manager even when `eotsd` is not running [\#153](https://github.com/babylonchain/finality-provider/issues/153) -- `eotsd` provides `--rpclistener` flag requiring full address but `vald` provides `--rpclisten` flag which accepts port or full address [\#151](https://github.com/babylonchain/finality-provider/issues/151) -- Have an `init` command that initializes the home directory instead of `dump-config`. [\#150](https://github.com/babylonchain/finality-provider/issues/150) -- Show more information about babylon account of the validator using cmd [\#148](https://github.com/babylonchain/finality-provider/issues/148) -- Check chaining before sending finality signature [\#143](https://github.com/babylonchain/finality-provider/issues/143) -- Specify validator instance when starting a daemon [\#142](https://github.com/babylonchain/finality-provider/issues/142) -- Remove global Babylon account [\#141](https://github.com/babylonchain/finality-provider/issues/141) -- Separate Covenant functionalities from Validator [\#140](https://github.com/babylonchain/finality-provider/issues/140) -- Anti-slashing mechanism [\#136](https://github.com/babylonchain/finality-provider/issues/136) -- Enable passphrase to encrypt keys [\#135](https://github.com/babylonchain/finality-provider/issues/135) -- Rename Jury to Covenant [\#134](https://github.com/babylonchain/finality-provider/issues/134) -- Jury does not check slashing address of delegations [\#133](https://github.com/babylonchain/finality-provider/issues/133) -- BTC Validator daemon stability issues [\#132](https://github.com/babylonchain/finality-provider/issues/132) -- Should remove chain-id in keymanagement [\#122](https://github.com/babylonchain/finality-provider/issues/122) -- Delegations stuck in pending state [\#120](https://github.com/babylonchain/finality-provider/issues/120) -- BTC Validator registration crushes the daemon [\#118](https://github.com/babylonchain/finality-provider/issues/118) -- `valcli dn cv`: Add commission as CLI argument [\#107](https://github.com/babylonchain/finality-provider/issues/107) -- Jury keeps trying to sign unbonding transaction [\#105](https://github.com/babylonchain/finality-provider/issues/105) -- Use BTC PK as the unique ID of a validator instead of Babylon PK [\#104](https://github.com/babylonchain/finality-provider/issues/104) -- Flaky tests results [\#99](https://github.com/babylonchain/finality-provider/issues/99) -- Proper termination of validator instances [\#96](https://github.com/babylonchain/finality-provider/issues/96) -- Concurrent sending of finality signatures [\#95](https://github.com/babylonchain/finality-provider/issues/95) -- Add description CLI flag to `valcli dn cv` [\#94](https://github.com/babylonchain/finality-provider/issues/94) -- Bump Babylon version [\#73](https://github.com/babylonchain/finality-provider/issues/73) -- Contention for rpc-client lock [\#71](https://github.com/babylonchain/finality-provider/issues/71) -- Manage validator instances within `ValidatorManager` [\#69](https://github.com/babylonchain/finality-provider/issues/69) -- add-finality-signature: Return decoded transaction hash [\#68](https://github.com/babylonchain/finality-provider/issues/68) -- Handle validators in separate Goroutines [\#64](https://github.com/babylonchain/finality-provider/issues/64) -- Refactor DB [\#63](https://github.com/babylonchain/finality-provider/issues/63) -- The chain poller may infinitely retry to get initial latest height [\#62](https://github.com/babylonchain/finality-provider/issues/62) -- The chain poller will not work when there is more than one consumer [\#61](https://github.com/babylonchain/finality-provider/issues/61) -- Validators should use their own Babylon account to submit txs to Babylon [\#58](https://github.com/babylonchain/finality-provider/issues/58) -- Catchup mechanism [\#56](https://github.com/babylonchain/finality-provider/issues/56) -- Finality sig lagging due to sequential sending of public randomness [\#54](https://github.com/babylonchain/finality-provider/issues/54) -- Follow Babylon's height instead of maintaining relative height [\#47](https://github.com/babylonchain/finality-provider/issues/47) -- Replace lens client with a rpc client that supports async broadcast mode [\#37](https://github.com/babylonchain/finality-provider/issues/37) -- Poller starts from a higher height [\#36](https://github.com/babylonchain/finality-provider/issues/36) -- Batching voting messages [\#35](https://github.com/babylonchain/finality-provider/issues/35) -- Improvement of error handling [\#34](https://github.com/babylonchain/finality-provider/issues/34) +- Inconsistency between the local LastCommittedHeight and Babylon [\#193](https://github.com/babylonlabs-io/finality-provider/issues/193) +- LastCommittedHeight inconsistancy [\#191](https://github.com/babylonlabs-io/finality-provider/issues/191) +- `fpcli cfp`: `--key-name` flag removed [\#184](https://github.com/babylonlabs-io/finality-provider/issues/184) +- Show descriptive validator statuses [\#177](https://github.com/babylonlabs-io/finality-provider/issues/177) +- Split covenant into a different repository [\#175](https://github.com/babylonlabs-io/finality-provider/issues/175) +- Ensure the check of delegation/undelegation is consistent with Babylon [\#173](https://github.com/babylonlabs-io/finality-provider/issues/173) +- Key Management Commands [\#170](https://github.com/babylonlabs-io/finality-provider/issues/170) +- Configuration option specifying max number of validators concurrently running [\#165](https://github.com/babylonlabs-io/finality-provider/issues/165) +- Rename btc-validator to finality-provider [\#163](https://github.com/babylonlabs-io/finality-provider/issues/163) +- Use common Dockerfile for covenant, eots-manager, and finality provider [\#162](https://github.com/babylonlabs-io/finality-provider/issues/162) +- btc-validator: Wrong config file path [\#160](https://github.com/babylonlabs-io/finality-provider/issues/160) +- Use `zap` logger to replace `logrus` logger [\#157](https://github.com/babylonlabs-io/finality-provider/issues/157) +- `vald` and `eotsd` can start even if there is no config file present. [\#155](https://github.com/babylonlabs-io/finality-provider/issues/155) +- `KeyDirectory` in `vald.conf` creates another subdirectory to store keys [\#154](https://github.com/babylonlabs-io/finality-provider/issues/154) +- `vald` shows successfully connected to EOTS manager even when `eotsd` is not running [\#153](https://github.com/babylonlabs-io/finality-provider/issues/153) +- `eotsd` provides `--rpclistener` flag requiring full address but `vald` provides `--rpclisten` flag which accepts port or full address [\#151](https://github.com/babylonlabs-io/finality-provider/issues/151) +- Have an `init` command that initializes the home directory instead of `dump-config`. [\#150](https://github.com/babylonlabs-io/finality-provider/issues/150) +- Show more information about babylon account of the validator using cmd [\#148](https://github.com/babylonlabs-io/finality-provider/issues/148) +- Check chaining before sending finality signature [\#143](https://github.com/babylonlabs-io/finality-provider/issues/143) +- Specify validator instance when starting a daemon [\#142](https://github.com/babylonlabs-io/finality-provider/issues/142) +- Remove global Babylon account [\#141](https://github.com/babylonlabs-io/finality-provider/issues/141) +- Separate Covenant functionalities from Validator [\#140](https://github.com/babylonlabs-io/finality-provider/issues/140) +- Anti-slashing mechanism [\#136](https://github.com/babylonlabs-io/finality-provider/issues/136) +- Enable passphrase to encrypt keys [\#135](https://github.com/babylonlabs-io/finality-provider/issues/135) +- Rename Jury to Covenant [\#134](https://github.com/babylonlabs-io/finality-provider/issues/134) +- Jury does not check slashing address of delegations [\#133](https://github.com/babylonlabs-io/finality-provider/issues/133) +- BTC Validator daemon stability issues [\#132](https://github.com/babylonlabs-io/finality-provider/issues/132) +- Should remove chain-id in keymanagement [\#122](https://github.com/babylonlabs-io/finality-provider/issues/122) +- Delegations stuck in pending state [\#120](https://github.com/babylonlabs-io/finality-provider/issues/120) +- BTC Validator registration crushes the daemon [\#118](https://github.com/babylonlabs-io/finality-provider/issues/118) +- `valcli dn cv`: Add commission as CLI argument [\#107](https://github.com/babylonlabs-io/finality-provider/issues/107) +- Jury keeps trying to sign unbonding transaction [\#105](https://github.com/babylonlabs-io/finality-provider/issues/105) +- Use BTC PK as the unique ID of a validator instead of Babylon PK [\#104](https://github.com/babylonlabs-io/finality-provider/issues/104) +- Flaky tests results [\#99](https://github.com/babylonlabs-io/finality-provider/issues/99) +- Proper termination of validator instances [\#96](https://github.com/babylonlabs-io/finality-provider/issues/96) +- Concurrent sending of finality signatures [\#95](https://github.com/babylonlabs-io/finality-provider/issues/95) +- Add description CLI flag to `valcli dn cv` [\#94](https://github.com/babylonlabs-io/finality-provider/issues/94) +- Bump Babylon version [\#73](https://github.com/babylonlabs-io/finality-provider/issues/73) +- Contention for rpc-client lock [\#71](https://github.com/babylonlabs-io/finality-provider/issues/71) +- Manage validator instances within `ValidatorManager` [\#69](https://github.com/babylonlabs-io/finality-provider/issues/69) +- add-finality-signature: Return decoded transaction hash [\#68](https://github.com/babylonlabs-io/finality-provider/issues/68) +- Handle validators in separate Goroutines [\#64](https://github.com/babylonlabs-io/finality-provider/issues/64) +- Refactor DB [\#63](https://github.com/babylonlabs-io/finality-provider/issues/63) +- The chain poller may infinitely retry to get initial latest height [\#62](https://github.com/babylonlabs-io/finality-provider/issues/62) +- The chain poller will not work when there is more than one consumer [\#61](https://github.com/babylonlabs-io/finality-provider/issues/61) +- Validators should use their own Babylon account to submit txs to Babylon [\#58](https://github.com/babylonlabs-io/finality-provider/issues/58) +- Catchup mechanism [\#56](https://github.com/babylonlabs-io/finality-provider/issues/56) +- Finality sig lagging due to sequential sending of public randomness [\#54](https://github.com/babylonlabs-io/finality-provider/issues/54) +- Follow Babylon's height instead of maintaining relative height [\#47](https://github.com/babylonlabs-io/finality-provider/issues/47) +- Replace lens client with a rpc client that supports async broadcast mode [\#37](https://github.com/babylonlabs-io/finality-provider/issues/37) +- Poller starts from a higher height [\#36](https://github.com/babylonlabs-io/finality-provider/issues/36) +- Batching voting messages [\#35](https://github.com/babylonlabs-io/finality-provider/issues/35) +- Improvement of error handling [\#34](https://github.com/babylonlabs-io/finality-provider/issues/34) **Merged pull requests:** -- chore: Remove dependency on covenant-emulator [\#212](https://github.com/babylonchain/finality-provider/pull/212) ([gitferry](https://github.com/gitferry)) -- chore: Upgrade bbn to 0.8.0-rc.0 [\#211](https://github.com/babylonchain/finality-provider/pull/211) ([vitsalis](https://github.com/vitsalis)) -- chore: Remove private repo thingy [\#210](https://github.com/babylonchain/finality-provider/pull/210) ([gitferry](https://github.com/gitferry)) -- chore: Add account address in the output of `keys add` [\#205](https://github.com/babylonchain/finality-provider/pull/205) ([gitferry](https://github.com/gitferry)) -- chore: Bump public dependency [\#204](https://github.com/babylonchain/finality-provider/pull/204) ([gitferry](https://github.com/gitferry)) -- chore: Ensure all the Babylon queries are using rpc-client [\#203](https://github.com/babylonchain/finality-provider/pull/203) ([gitferry](https://github.com/gitferry)) -- fix: Add BLS flags in make [\#202](https://github.com/babylonchain/finality-provider/pull/202) ([gusin13](https://github.com/gusin13)) -- fix: Slashing finality-provider caused program panicking [\#201](https://github.com/babylonchain/finality-provider/pull/201) ([gitferry](https://github.com/gitferry)) -- chore: Remove global flag [\#198](https://github.com/babylonchain/finality-provider/pull/198) ([gitferry](https://github.com/gitferry)) -- chore: Remove covenant legacy [\#195](https://github.com/babylonchain/finality-provider/pull/195) ([gitferry](https://github.com/gitferry)) -- chore: Clean up cli usage [\#194](https://github.com/babylonchain/finality-provider/pull/194) ([gitferry](https://github.com/gitferry)) -- chore: replace local last committed height with remote query [\#192](https://github.com/babylonchain/finality-provider/pull/192) ([gitferry](https://github.com/gitferry)) -- chore: Bump Babylon version and add unbonding time validation [\#190](https://github.com/babylonchain/finality-provider/pull/190) ([gitferry](https://github.com/gitferry)) -- chore: Improve output of finality provider [\#189](https://github.com/babylonchain/finality-provider/pull/189) ([gitferry](https://github.com/gitferry)) -- chore: Add `start --all` for `fpd` [\#188](https://github.com/babylonchain/finality-provider/pull/188) ([gitferry](https://github.com/gitferry)) -- chore: Add `key-name` flag back to `create-finality-provider` cmd [\#185](https://github.com/babylonchain/finality-provider/pull/185) ([gitferry](https://github.com/gitferry)) -- chore: fix minor issues in the documentation [\#182](https://github.com/babylonchain/finality-provider/pull/182) ([yangl1996](https://github.com/yangl1996)) -- feat: Add key management [\#181](https://github.com/babylonchain/finality-provider/pull/181) ([gitferry](https://github.com/gitferry)) -- feat: Covenant handles pre-signed unbonding txs [\#180](https://github.com/babylonchain/finality-provider/pull/180) ([vitsalis](https://github.com/vitsalis)) -- chore: Rename btc-validator to finality-provider [\#179](https://github.com/babylonchain/finality-provider/pull/179) ([vitsalis](https://github.com/vitsalis)) -- docs: Combine docs into less pages, update overview, and finality renaming [\#178](https://github.com/babylonchain/finality-provider/pull/178) ([vitsalis](https://github.com/vitsalis)) -- chore: Add configurable limit on running multiple validators [\#172](https://github.com/babylonchain/finality-provider/pull/172) ([gitferry](https://github.com/gitferry)) -- feat: Refactor configuration and cli of programs [\#168](https://github.com/babylonchain/finality-provider/pull/168) ([vitsalis](https://github.com/vitsalis)) -- feat: Use a single docker file [\#167](https://github.com/babylonchain/finality-provider/pull/167) ([vitsalis](https://github.com/vitsalis)) -- fix: Do not perform conversions on the commission [\#166](https://github.com/babylonchain/finality-provider/pull/166) ([vitsalis](https://github.com/vitsalis)) -- chore: Replace logrus with zap as logger [\#164](https://github.com/babylonchain/finality-provider/pull/164) ([gitferry](https://github.com/gitferry)) -- feat: Refactor to separate validator operation to separate directory [\#161](https://github.com/babylonchain/finality-provider/pull/161) ([vitsalis](https://github.com/vitsalis)) -- Fix make file [\#159](https://github.com/babylonchain/finality-provider/pull/159) ([KonradStaniec](https://github.com/KonradStaniec)) -- CI: Push images for covenant [\#156](https://github.com/babylonchain/finality-provider/pull/156) ([filippos47](https://github.com/filippos47)) -- docs: Improvements [\#152](https://github.com/babylonchain/finality-provider/pull/152) ([gusin13](https://github.com/gusin13)) -- Chore: Bump Babylon version and use rpc-client to replace cosmos provider [\#149](https://github.com/babylonchain/finality-provider/pull/149) ([gitferry](https://github.com/gitferry)) -- docs: Add documentation for EOTS and Validator daemons [\#147](https://github.com/babylonchain/finality-provider/pull/147) ([gusin13](https://github.com/gusin13)) -- chore: Refactor validator app [\#146](https://github.com/babylonchain/finality-provider/pull/146) ([gitferry](https://github.com/gitferry)) -- chore: Separate covenant functionalities into a different binary [\#144](https://github.com/babylonchain/finality-provider/pull/144) ([gitferry](https://github.com/gitferry)) -- feat: Add support for file backend for keyrings [\#139](https://github.com/babylonchain/finality-provider/pull/139) ([gitferry](https://github.com/gitferry)) -- chore: Add slashing address validation and rename Jury to Covenant [\#137](https://github.com/babylonchain/finality-provider/pull/137) ([gitferry](https://github.com/gitferry)) -- chore: Generalize client controller [\#130](https://github.com/babylonchain/finality-provider/pull/130) ([gitferry](https://github.com/gitferry)) -- chore: Bump babylon version to fix flaky issue in e2e tests [\#129](https://github.com/babylonchain/finality-provider/pull/129) ([gitferry](https://github.com/gitferry)) -- Improve randomness management in the EOTS manager [\#128](https://github.com/babylonchain/finality-provider/pull/128) ([gitferry](https://github.com/gitferry)) -- CI: Build/push images for eotsmanager [\#127](https://github.com/babylonchain/finality-provider/pull/127) ([filippos47](https://github.com/filippos47)) -- chore: Remove chain-id in creating key [\#125](https://github.com/babylonchain/finality-provider/pull/125) ([gitferry](https://github.com/gitferry)) -- chore: Add docker file to EOTS manager [\#124](https://github.com/babylonchain/finality-provider/pull/124) ([gitferry](https://github.com/gitferry)) -- chore: Add e2e tests for EOTS manager server [\#123](https://github.com/babylonchain/finality-provider/pull/123) ([gitferry](https://github.com/gitferry)) -- Fix: bug when a validator is registered using rpc [\#119](https://github.com/babylonchain/finality-provider/pull/119) ([gitferry](https://github.com/gitferry)) -- chore: Bump babylon version [\#117](https://github.com/babylonchain/finality-provider/pull/117) ([gitferry](https://github.com/gitferry)) -- feat: Add remote eots manager [\#116](https://github.com/babylonchain/finality-provider/pull/116) ([gitferry](https://github.com/gitferry)) -- Integrate EOTS manager [\#115](https://github.com/babylonchain/finality-provider/pull/115) ([gitferry](https://github.com/gitferry)) -- chore: Modularize EOTS manager [\#112](https://github.com/babylonchain/finality-provider/pull/112) ([gitferry](https://github.com/gitferry)) -- feat: Add periodic status update to managed validators [\#110](https://github.com/babylonchain/finality-provider/pull/110) ([gitferry](https://github.com/gitferry)) -- feat: Add commission as cli flag [\#109](https://github.com/babylonchain/finality-provider/pull/109) ([gitferry](https://github.com/gitferry)) -- chore: Fix indefinite loop bug while fast sync [\#108](https://github.com/babylonchain/finality-provider/pull/108) ([gitferry](https://github.com/gitferry)) -- chore: Add proper termination upon critical error [\#103](https://github.com/babylonchain/finality-provider/pull/103) ([gitferry](https://github.com/gitferry)) -- chore: Fix issues before panicking and after restart [\#102](https://github.com/babylonchain/finality-provider/pull/102) ([gitferry](https://github.com/gitferry)) -- chore: Fix panic situation when the latest block is not queried [\#101](https://github.com/babylonchain/finality-provider/pull/101) ([gitferry](https://github.com/gitferry)) -- feat: Add cli flags for description [\#100](https://github.com/babylonchain/finality-provider/pull/100) ([gitferry](https://github.com/gitferry)) -- chore: Update BBN version [\#97](https://github.com/babylonchain/finality-provider/pull/97) ([vitsalis](https://github.com/vitsalis)) -- chore: Separate submission loop [\#93](https://github.com/babylonchain/finality-provider/pull/93) ([gitferry](https://github.com/gitferry)) -- chore: Replace retriable error list with unrecoverable one [\#92](https://github.com/babylonchain/finality-provider/pull/92) ([gitferry](https://github.com/gitferry)) -- Jury unbonding sigs submission [\#91](https://github.com/babylonchain/finality-provider/pull/91) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add fast sync mechanism [\#90](https://github.com/babylonchain/finality-provider/pull/90) ([gitferry](https://github.com/gitferry)) -- Validator ubtx sig [\#89](https://github.com/babylonchain/finality-provider/pull/89) ([KonradStaniec](https://github.com/KonradStaniec)) -- Bump babylon version and update methods [\#88](https://github.com/babylonchain/finality-provider/pull/88) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Add client support to arbitrary consumer chain [\#87](https://github.com/babylonchain/finality-provider/pull/87) ([gitferry](https://github.com/gitferry)) -- fix: Add key file lock to fix the concurrency issue in submission [\#86](https://github.com/babylonchain/finality-provider/pull/86) ([gitferry](https://github.com/gitferry)) -- chore: terminate goroutine with err instead of crashing the entire program [\#85](https://github.com/babylonchain/finality-provider/pull/85) ([gitferry](https://github.com/gitferry)) -- chore: Bump Cosmos relayer version [\#82](https://github.com/babylonchain/finality-provider/pull/82) ([gitferry](https://github.com/gitferry)) -- fix: `uint64` type error when checking commitment gap [\#81](https://github.com/babylonchain/finality-provider/pull/81) ([gitferry](https://github.com/gitferry)) -- chore: Adds `reliableSendMsg` with retriable error list and expected error list [\#80](https://github.com/babylonchain/finality-provider/pull/80) ([gitferry](https://github.com/gitferry)) -- chore: Proper handling err in submitting finality signature [\#79](https://github.com/babylonchain/finality-provider/pull/79) ([gitferry](https://github.com/gitferry)) -- chore: Bump Babylon version and fixed bugs in performing the double-signing attack [\#76](https://github.com/babylonchain/finality-provider/pull/76) ([gitferry](https://github.com/gitferry)) -- chore: Fix tx hash format [\#75](https://github.com/babylonchain/finality-provider/pull/75) ([gitferry](https://github.com/gitferry)) -- chore: Refactor managing of validators [\#74](https://github.com/babylonchain/finality-provider/pull/74) ([gitferry](https://github.com/gitferry)) -- feat: Handle validators different goroutines [\#67](https://github.com/babylonchain/finality-provider/pull/67) ([gitferry](https://github.com/gitferry)) -- chore: Fix error handling of committing public randomness [\#66](https://github.com/babylonchain/finality-provider/pull/66) ([gitferry](https://github.com/gitferry)) -- chore: fixing the handling equivocated votes [\#65](https://github.com/babylonchain/finality-provider/pull/65) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Concurrent commitment of public randomness [\#55](https://github.com/babylonchain/finality-provider/pull/55) ([gitferry](https://github.com/gitferry)) -- nit: Bump Babylon and update corresponding requests [\#53](https://github.com/babylonchain/finality-provider/pull/53) ([vitsalis](https://github.com/vitsalis)) -- feat: Add `validator-info` daemon cmd to show the information of a validator [\#52](https://github.com/babylonchain/finality-provider/pull/52) ([gitferry](https://github.com/gitferry)) -- fix: Remove pointer from StaticChainScanningStartHeight [\#50](https://github.com/babylonchain/finality-provider/pull/50) ([vitsalis](https://github.com/vitsalis)) -- feat: Add option to automatically calculate the starting height [\#48](https://github.com/babylonchain/finality-provider/pull/48) ([vitsalis](https://github.com/vitsalis)) -- nit: Add error message for failed queries [\#46](https://github.com/babylonchain/finality-provider/pull/46) ([vitsalis](https://github.com/vitsalis)) -- Add add-finality-sig cmd [\#45](https://github.com/babylonchain/finality-provider/pull/45) ([gitferry](https://github.com/gitferry)) -- Add concurrent sends of finality sigs [\#44](https://github.com/babylonchain/finality-provider/pull/44) ([KonradStaniec](https://github.com/KonradStaniec)) -- Fix closing of validator App [\#43](https://github.com/babylonchain/finality-provider/pull/43) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Add e2e tests about finality sig [\#42](https://github.com/babylonchain/finality-provider/pull/42) ([gitferry](https://github.com/gitferry)) -- CI: Build and push images to ECR [\#41](https://github.com/babylonchain/finality-provider/pull/41) ([filippos47](https://github.com/filippos47)) -- Change rpc client [\#40](https://github.com/babylonchain/finality-provider/pull/40) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Refactor e2e tests and add tests about jury sig [\#39](https://github.com/babylonchain/finality-provider/pull/39) ([gitferry](https://github.com/gitferry)) -- Add finality signature signing and submission [\#33](https://github.com/babylonchain/finality-provider/pull/33) ([gitferry](https://github.com/gitferry)) -- nit: Output jury PK hex of Babylon BIP340Pk type [\#32](https://github.com/babylonchain/finality-provider/pull/32) ([vitsalis](https://github.com/vitsalis)) -- Add Jury sig submission into the main event loop [\#31](https://github.com/babylonchain/finality-provider/pull/31) ([gitferry](https://github.com/gitferry)) -- Add CommitPubRand into event loop [\#30](https://github.com/babylonchain/finality-provider/pull/30) ([gitferry](https://github.com/gitferry)) -- chore: fix typo in create validator cmd [\#29](https://github.com/babylonchain/finality-provider/pull/29) ([SebastianElvis](https://github.com/SebastianElvis)) -- Work on registration [\#28](https://github.com/babylonchain/finality-provider/pull/28) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: register-validator command accepts key name instead of pk [\#27](https://github.com/babylonchain/finality-provider/pull/27) ([vitsalis](https://github.com/vitsalis)) -- nit: Move daemon commands under dn subcommand [\#26](https://github.com/babylonchain/finality-provider/pull/26) ([vitsalis](https://github.com/vitsalis)) -- fix: Proper usage message for daemon create-validator [\#25](https://github.com/babylonchain/finality-provider/pull/25) ([vitsalis](https://github.com/vitsalis)) -- fix: Use the keyring directory from the Babylon configuration [\#24](https://github.com/babylonchain/finality-provider/pull/24) ([vitsalis](https://github.com/vitsalis)) -- Add Jury mode and Jury sig submission [\#23](https://github.com/babylonchain/finality-provider/pull/23) ([gitferry](https://github.com/gitferry)) -- chore: fix codec for new modules [\#22](https://github.com/babylonchain/finality-provider/pull/22) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: moving the db functionality in valcli to daemon subcommand [\#21](https://github.com/babylonchain/finality-provider/pull/21) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Change pkbytes to hex in register-validator cmd [\#20](https://github.com/babylonchain/finality-provider/pull/20) ([gitferry](https://github.com/gitferry)) -- chore: Capitalize cmd and flag usage sentences and change BTC to Bitcoin in text [\#19](https://github.com/babylonchain/finality-provider/pull/19) ([gitferry](https://github.com/gitferry)) -- Initial event loop [\#18](https://github.com/babylonchain/finality-provider/pull/18) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add dump config command and use `vald` everywhere [\#15](https://github.com/babylonchain/finality-provider/pull/15) ([vitsalis](https://github.com/vitsalis)) -- feat: Proto generation with buf, Babylon config file, and minor nitpicks [\#14](https://github.com/babylonchain/finality-provider/pull/14) ([vitsalis](https://github.com/vitsalis)) -- Add initial poller implementation [\#13](https://github.com/babylonchain/finality-provider/pull/13) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: fix typo in cli arguments [\#12](https://github.com/babylonchain/finality-provider/pull/12) ([SebastianElvis](https://github.com/SebastianElvis)) -- Add commit randomness [\#11](https://github.com/babylonchain/finality-provider/pull/11) ([gitferry](https://github.com/gitferry)) -- Add integration test setup [\#10](https://github.com/babylonchain/finality-provider/pull/10) ([KonradStaniec](https://github.com/KonradStaniec)) -- Add docker file [\#9](https://github.com/babylonchain/finality-provider/pull/9) ([gitferry](https://github.com/gitferry)) -- Add babylon client controller [\#8](https://github.com/babylonchain/finality-provider/pull/8) ([gitferry](https://github.com/gitferry)) -- Add register validator rpc [\#7](https://github.com/babylonchain/finality-provider/pull/7) ([gitferry](https://github.com/gitferry)) -- Add babylon client interfaces [\#6](https://github.com/babylonchain/finality-provider/pull/6) ([gitferry](https://github.com/gitferry)) -- Add keyring [\#5](https://github.com/babylonchain/finality-provider/pull/5) ([gitferry](https://github.com/gitferry)) -- Setup validator daemon [\#4](https://github.com/babylonchain/finality-provider/pull/4) ([gitferry](https://github.com/gitferry)) -- Add save validator to db and list validators from db [\#3](https://github.com/babylonchain/finality-provider/pull/3) ([gitferry](https://github.com/gitferry)) -- Add create-validator command and KV store [\#2](https://github.com/babylonchain/finality-provider/pull/2) ([gitferry](https://github.com/gitferry)) -- Add project skeleton [\#1](https://github.com/babylonchain/finality-provider/pull/1) ([gitferry](https://github.com/gitferry)) +- chore: Remove dependency on covenant-emulator [\#212](https://github.com/babylonlabs-io/finality-provider/pull/212) ([gitferry](https://github.com/gitferry)) +- chore: Upgrade bbn to 0.8.0-rc.0 [\#211](https://github.com/babylonlabs-io/finality-provider/pull/211) ([vitsalis](https://github.com/vitsalis)) +- chore: Remove private repo thingy [\#210](https://github.com/babylonlabs-io/finality-provider/pull/210) ([gitferry](https://github.com/gitferry)) +- chore: Add account address in the output of `keys add` [\#205](https://github.com/babylonlabs-io/finality-provider/pull/205) ([gitferry](https://github.com/gitferry)) +- chore: Bump public dependency [\#204](https://github.com/babylonlabs-io/finality-provider/pull/204) ([gitferry](https://github.com/gitferry)) +- chore: Ensure all the Babylon queries are using rpc-client [\#203](https://github.com/babylonlabs-io/finality-provider/pull/203) ([gitferry](https://github.com/gitferry)) +- fix: Add BLS flags in make [\#202](https://github.com/babylonlabs-io/finality-provider/pull/202) ([gusin13](https://github.com/gusin13)) +- fix: Slashing finality-provider caused program panicking [\#201](https://github.com/babylonlabs-io/finality-provider/pull/201) ([gitferry](https://github.com/gitferry)) +- chore: Remove global flag [\#198](https://github.com/babylonlabs-io/finality-provider/pull/198) ([gitferry](https://github.com/gitferry)) +- chore: Remove covenant legacy [\#195](https://github.com/babylonlabs-io/finality-provider/pull/195) ([gitferry](https://github.com/gitferry)) +- chore: Clean up cli usage [\#194](https://github.com/babylonlabs-io/finality-provider/pull/194) ([gitferry](https://github.com/gitferry)) +- chore: replace local last committed height with remote query [\#192](https://github.com/babylonlabs-io/finality-provider/pull/192) ([gitferry](https://github.com/gitferry)) +- chore: Bump Babylon version and add unbonding time validation [\#190](https://github.com/babylonlabs-io/finality-provider/pull/190) ([gitferry](https://github.com/gitferry)) +- chore: Improve output of finality provider [\#189](https://github.com/babylonlabs-io/finality-provider/pull/189) ([gitferry](https://github.com/gitferry)) +- chore: Add `start --all` for `fpd` [\#188](https://github.com/babylonlabs-io/finality-provider/pull/188) ([gitferry](https://github.com/gitferry)) +- chore: Add `key-name` flag back to `create-finality-provider` cmd [\#185](https://github.com/babylonlabs-io/finality-provider/pull/185) ([gitferry](https://github.com/gitferry)) +- chore: fix minor issues in the documentation [\#182](https://github.com/babylonlabs-io/finality-provider/pull/182) ([yangl1996](https://github.com/yangl1996)) +- feat: Add key management [\#181](https://github.com/babylonlabs-io/finality-provider/pull/181) ([gitferry](https://github.com/gitferry)) +- feat: Covenant handles pre-signed unbonding txs [\#180](https://github.com/babylonlabs-io/finality-provider/pull/180) ([vitsalis](https://github.com/vitsalis)) +- chore: Rename btc-validator to finality-provider [\#179](https://github.com/babylonlabs-io/finality-provider/pull/179) ([vitsalis](https://github.com/vitsalis)) +- docs: Combine docs into less pages, update overview, and finality renaming [\#178](https://github.com/babylonlabs-io/finality-provider/pull/178) ([vitsalis](https://github.com/vitsalis)) +- chore: Add configurable limit on running multiple validators [\#172](https://github.com/babylonlabs-io/finality-provider/pull/172) ([gitferry](https://github.com/gitferry)) +- feat: Refactor configuration and cli of programs [\#168](https://github.com/babylonlabs-io/finality-provider/pull/168) ([vitsalis](https://github.com/vitsalis)) +- feat: Use a single docker file [\#167](https://github.com/babylonlabs-io/finality-provider/pull/167) ([vitsalis](https://github.com/vitsalis)) +- fix: Do not perform conversions on the commission [\#166](https://github.com/babylonlabs-io/finality-provider/pull/166) ([vitsalis](https://github.com/vitsalis)) +- chore: Replace logrus with zap as logger [\#164](https://github.com/babylonlabs-io/finality-provider/pull/164) ([gitferry](https://github.com/gitferry)) +- feat: Refactor to separate validator operation to separate directory [\#161](https://github.com/babylonlabs-io/finality-provider/pull/161) ([vitsalis](https://github.com/vitsalis)) +- Fix make file [\#159](https://github.com/babylonlabs-io/finality-provider/pull/159) ([KonradStaniec](https://github.com/KonradStaniec)) +- CI: Push images for covenant [\#156](https://github.com/babylonlabs-io/finality-provider/pull/156) ([filippos47](https://github.com/filippos47)) +- docs: Improvements [\#152](https://github.com/babylonlabs-io/finality-provider/pull/152) ([gusin13](https://github.com/gusin13)) +- Chore: Bump Babylon version and use rpc-client to replace cosmos provider [\#149](https://github.com/babylonlabs-io/finality-provider/pull/149) ([gitferry](https://github.com/gitferry)) +- docs: Add documentation for EOTS and Validator daemons [\#147](https://github.com/babylonlabs-io/finality-provider/pull/147) ([gusin13](https://github.com/gusin13)) +- chore: Refactor validator app [\#146](https://github.com/babylonlabs-io/finality-provider/pull/146) ([gitferry](https://github.com/gitferry)) +- chore: Separate covenant functionalities into a different binary [\#144](https://github.com/babylonlabs-io/finality-provider/pull/144) ([gitferry](https://github.com/gitferry)) +- feat: Add support for file backend for keyrings [\#139](https://github.com/babylonlabs-io/finality-provider/pull/139) ([gitferry](https://github.com/gitferry)) +- chore: Add slashing address validation and rename Jury to Covenant [\#137](https://github.com/babylonlabs-io/finality-provider/pull/137) ([gitferry](https://github.com/gitferry)) +- chore: Generalize client controller [\#130](https://github.com/babylonlabs-io/finality-provider/pull/130) ([gitferry](https://github.com/gitferry)) +- chore: Bump babylon version to fix flaky issue in e2e tests [\#129](https://github.com/babylonlabs-io/finality-provider/pull/129) ([gitferry](https://github.com/gitferry)) +- Improve randomness management in the EOTS manager [\#128](https://github.com/babylonlabs-io/finality-provider/pull/128) ([gitferry](https://github.com/gitferry)) +- CI: Build/push images for eotsmanager [\#127](https://github.com/babylonlabs-io/finality-provider/pull/127) ([filippos47](https://github.com/filippos47)) +- chore: Remove chain-id in creating key [\#125](https://github.com/babylonlabs-io/finality-provider/pull/125) ([gitferry](https://github.com/gitferry)) +- chore: Add docker file to EOTS manager [\#124](https://github.com/babylonlabs-io/finality-provider/pull/124) ([gitferry](https://github.com/gitferry)) +- chore: Add e2e tests for EOTS manager server [\#123](https://github.com/babylonlabs-io/finality-provider/pull/123) ([gitferry](https://github.com/gitferry)) +- Fix: bug when a validator is registered using rpc [\#119](https://github.com/babylonlabs-io/finality-provider/pull/119) ([gitferry](https://github.com/gitferry)) +- chore: Bump babylon version [\#117](https://github.com/babylonlabs-io/finality-provider/pull/117) ([gitferry](https://github.com/gitferry)) +- feat: Add remote eots manager [\#116](https://github.com/babylonlabs-io/finality-provider/pull/116) ([gitferry](https://github.com/gitferry)) +- Integrate EOTS manager [\#115](https://github.com/babylonlabs-io/finality-provider/pull/115) ([gitferry](https://github.com/gitferry)) +- chore: Modularize EOTS manager [\#112](https://github.com/babylonlabs-io/finality-provider/pull/112) ([gitferry](https://github.com/gitferry)) +- feat: Add periodic status update to managed validators [\#110](https://github.com/babylonlabs-io/finality-provider/pull/110) ([gitferry](https://github.com/gitferry)) +- feat: Add commission as cli flag [\#109](https://github.com/babylonlabs-io/finality-provider/pull/109) ([gitferry](https://github.com/gitferry)) +- chore: Fix indefinite loop bug while fast sync [\#108](https://github.com/babylonlabs-io/finality-provider/pull/108) ([gitferry](https://github.com/gitferry)) +- chore: Add proper termination upon critical error [\#103](https://github.com/babylonlabs-io/finality-provider/pull/103) ([gitferry](https://github.com/gitferry)) +- chore: Fix issues before panicking and after restart [\#102](https://github.com/babylonlabs-io/finality-provider/pull/102) ([gitferry](https://github.com/gitferry)) +- chore: Fix panic situation when the latest block is not queried [\#101](https://github.com/babylonlabs-io/finality-provider/pull/101) ([gitferry](https://github.com/gitferry)) +- feat: Add cli flags for description [\#100](https://github.com/babylonlabs-io/finality-provider/pull/100) ([gitferry](https://github.com/gitferry)) +- chore: Update BBN version [\#97](https://github.com/babylonlabs-io/finality-provider/pull/97) ([vitsalis](https://github.com/vitsalis)) +- chore: Separate submission loop [\#93](https://github.com/babylonlabs-io/finality-provider/pull/93) ([gitferry](https://github.com/gitferry)) +- chore: Replace retriable error list with unrecoverable one [\#92](https://github.com/babylonlabs-io/finality-provider/pull/92) ([gitferry](https://github.com/gitferry)) +- Jury unbonding sigs submission [\#91](https://github.com/babylonlabs-io/finality-provider/pull/91) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Add fast sync mechanism [\#90](https://github.com/babylonlabs-io/finality-provider/pull/90) ([gitferry](https://github.com/gitferry)) +- Validator ubtx sig [\#89](https://github.com/babylonlabs-io/finality-provider/pull/89) ([KonradStaniec](https://github.com/KonradStaniec)) +- Bump babylon version and update methods [\#88](https://github.com/babylonlabs-io/finality-provider/pull/88) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Add client support to arbitrary consumer chain [\#87](https://github.com/babylonlabs-io/finality-provider/pull/87) ([gitferry](https://github.com/gitferry)) +- fix: Add key file lock to fix the concurrency issue in submission [\#86](https://github.com/babylonlabs-io/finality-provider/pull/86) ([gitferry](https://github.com/gitferry)) +- chore: terminate goroutine with err instead of crashing the entire program [\#85](https://github.com/babylonlabs-io/finality-provider/pull/85) ([gitferry](https://github.com/gitferry)) +- chore: Bump Cosmos relayer version [\#82](https://github.com/babylonlabs-io/finality-provider/pull/82) ([gitferry](https://github.com/gitferry)) +- fix: `uint64` type error when checking commitment gap [\#81](https://github.com/babylonlabs-io/finality-provider/pull/81) ([gitferry](https://github.com/gitferry)) +- chore: Adds `reliableSendMsg` with retriable error list and expected error list [\#80](https://github.com/babylonlabs-io/finality-provider/pull/80) ([gitferry](https://github.com/gitferry)) +- chore: Proper handling err in submitting finality signature [\#79](https://github.com/babylonlabs-io/finality-provider/pull/79) ([gitferry](https://github.com/gitferry)) +- chore: Bump Babylon version and fixed bugs in performing the double-signing attack [\#76](https://github.com/babylonlabs-io/finality-provider/pull/76) ([gitferry](https://github.com/gitferry)) +- chore: Fix tx hash format [\#75](https://github.com/babylonlabs-io/finality-provider/pull/75) ([gitferry](https://github.com/gitferry)) +- chore: Refactor managing of validators [\#74](https://github.com/babylonlabs-io/finality-provider/pull/74) ([gitferry](https://github.com/gitferry)) +- feat: Handle validators different goroutines [\#67](https://github.com/babylonlabs-io/finality-provider/pull/67) ([gitferry](https://github.com/gitferry)) +- chore: Fix error handling of committing public randomness [\#66](https://github.com/babylonlabs-io/finality-provider/pull/66) ([gitferry](https://github.com/gitferry)) +- chore: fixing the handling equivocated votes [\#65](https://github.com/babylonlabs-io/finality-provider/pull/65) ([SebastianElvis](https://github.com/SebastianElvis)) +- feat: Concurrent commitment of public randomness [\#55](https://github.com/babylonlabs-io/finality-provider/pull/55) ([gitferry](https://github.com/gitferry)) +- nit: Bump Babylon and update corresponding requests [\#53](https://github.com/babylonlabs-io/finality-provider/pull/53) ([vitsalis](https://github.com/vitsalis)) +- feat: Add `validator-info` daemon cmd to show the information of a validator [\#52](https://github.com/babylonlabs-io/finality-provider/pull/52) ([gitferry](https://github.com/gitferry)) +- fix: Remove pointer from StaticChainScanningStartHeight [\#50](https://github.com/babylonlabs-io/finality-provider/pull/50) ([vitsalis](https://github.com/vitsalis)) +- feat: Add option to automatically calculate the starting height [\#48](https://github.com/babylonlabs-io/finality-provider/pull/48) ([vitsalis](https://github.com/vitsalis)) +- nit: Add error message for failed queries [\#46](https://github.com/babylonlabs-io/finality-provider/pull/46) ([vitsalis](https://github.com/vitsalis)) +- Add add-finality-sig cmd [\#45](https://github.com/babylonlabs-io/finality-provider/pull/45) ([gitferry](https://github.com/gitferry)) +- Add concurrent sends of finality sigs [\#44](https://github.com/babylonlabs-io/finality-provider/pull/44) ([KonradStaniec](https://github.com/KonradStaniec)) +- Fix closing of validator App [\#43](https://github.com/babylonlabs-io/finality-provider/pull/43) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Add e2e tests about finality sig [\#42](https://github.com/babylonlabs-io/finality-provider/pull/42) ([gitferry](https://github.com/gitferry)) +- CI: Build and push images to ECR [\#41](https://github.com/babylonlabs-io/finality-provider/pull/41) ([filippos47](https://github.com/filippos47)) +- Change rpc client [\#40](https://github.com/babylonlabs-io/finality-provider/pull/40) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: Refactor e2e tests and add tests about jury sig [\#39](https://github.com/babylonlabs-io/finality-provider/pull/39) ([gitferry](https://github.com/gitferry)) +- Add finality signature signing and submission [\#33](https://github.com/babylonlabs-io/finality-provider/pull/33) ([gitferry](https://github.com/gitferry)) +- nit: Output jury PK hex of Babylon BIP340Pk type [\#32](https://github.com/babylonlabs-io/finality-provider/pull/32) ([vitsalis](https://github.com/vitsalis)) +- Add Jury sig submission into the main event loop [\#31](https://github.com/babylonlabs-io/finality-provider/pull/31) ([gitferry](https://github.com/gitferry)) +- Add CommitPubRand into event loop [\#30](https://github.com/babylonlabs-io/finality-provider/pull/30) ([gitferry](https://github.com/gitferry)) +- chore: fix typo in create validator cmd [\#29](https://github.com/babylonlabs-io/finality-provider/pull/29) ([SebastianElvis](https://github.com/SebastianElvis)) +- Work on registration [\#28](https://github.com/babylonlabs-io/finality-provider/pull/28) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: register-validator command accepts key name instead of pk [\#27](https://github.com/babylonlabs-io/finality-provider/pull/27) ([vitsalis](https://github.com/vitsalis)) +- nit: Move daemon commands under dn subcommand [\#26](https://github.com/babylonlabs-io/finality-provider/pull/26) ([vitsalis](https://github.com/vitsalis)) +- fix: Proper usage message for daemon create-validator [\#25](https://github.com/babylonlabs-io/finality-provider/pull/25) ([vitsalis](https://github.com/vitsalis)) +- fix: Use the keyring directory from the Babylon configuration [\#24](https://github.com/babylonlabs-io/finality-provider/pull/24) ([vitsalis](https://github.com/vitsalis)) +- Add Jury mode and Jury sig submission [\#23](https://github.com/babylonlabs-io/finality-provider/pull/23) ([gitferry](https://github.com/gitferry)) +- chore: fix codec for new modules [\#22](https://github.com/babylonlabs-io/finality-provider/pull/22) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: moving the db functionality in valcli to daemon subcommand [\#21](https://github.com/babylonlabs-io/finality-provider/pull/21) ([SebastianElvis](https://github.com/SebastianElvis)) +- chore: Change pkbytes to hex in register-validator cmd [\#20](https://github.com/babylonlabs-io/finality-provider/pull/20) ([gitferry](https://github.com/gitferry)) +- chore: Capitalize cmd and flag usage sentences and change BTC to Bitcoin in text [\#19](https://github.com/babylonlabs-io/finality-provider/pull/19) ([gitferry](https://github.com/gitferry)) +- Initial event loop [\#18](https://github.com/babylonlabs-io/finality-provider/pull/18) ([KonradStaniec](https://github.com/KonradStaniec)) +- feat: Add dump config command and use `vald` everywhere [\#15](https://github.com/babylonlabs-io/finality-provider/pull/15) ([vitsalis](https://github.com/vitsalis)) +- feat: Proto generation with buf, Babylon config file, and minor nitpicks [\#14](https://github.com/babylonlabs-io/finality-provider/pull/14) ([vitsalis](https://github.com/vitsalis)) +- Add initial poller implementation [\#13](https://github.com/babylonlabs-io/finality-provider/pull/13) ([KonradStaniec](https://github.com/KonradStaniec)) +- chore: fix typo in cli arguments [\#12](https://github.com/babylonlabs-io/finality-provider/pull/12) ([SebastianElvis](https://github.com/SebastianElvis)) +- Add commit randomness [\#11](https://github.com/babylonlabs-io/finality-provider/pull/11) ([gitferry](https://github.com/gitferry)) +- Add integration test setup [\#10](https://github.com/babylonlabs-io/finality-provider/pull/10) ([KonradStaniec](https://github.com/KonradStaniec)) +- Add docker file [\#9](https://github.com/babylonlabs-io/finality-provider/pull/9) ([gitferry](https://github.com/gitferry)) +- Add babylon client controller [\#8](https://github.com/babylonlabs-io/finality-provider/pull/8) ([gitferry](https://github.com/gitferry)) +- Add register validator rpc [\#7](https://github.com/babylonlabs-io/finality-provider/pull/7) ([gitferry](https://github.com/gitferry)) +- Add babylon client interfaces [\#6](https://github.com/babylonlabs-io/finality-provider/pull/6) ([gitferry](https://github.com/gitferry)) +- Add keyring [\#5](https://github.com/babylonlabs-io/finality-provider/pull/5) ([gitferry](https://github.com/gitferry)) +- Setup validator daemon [\#4](https://github.com/babylonlabs-io/finality-provider/pull/4) ([gitferry](https://github.com/gitferry)) +- Add save validator to db and list validators from db [\#3](https://github.com/babylonlabs-io/finality-provider/pull/3) ([gitferry](https://github.com/gitferry)) +- Add create-validator command and KV store [\#2](https://github.com/babylonlabs-io/finality-provider/pull/2) ([gitferry](https://github.com/gitferry)) +- Add project skeleton [\#1](https://github.com/babylonlabs-io/finality-provider/pull/1) ([gitferry](https://github.com/gitferry)) diff --git a/Dockerfile b/Dockerfile index a54bf816..5849ddbd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,12 +13,12 @@ RUN apk add --no-cache --update openssh git make build-base linux-headers libc-d # Build -WORKDIR /go/src/github.com/babylonchain/finality-provider +WORKDIR /go/src/github.com/babylonlabs-io/finality-provider # Cache dependencies -COPY go.mod go.sum /go/src/github.com/babylonchain/finality-provider/ +COPY go.mod go.sum /go/src/github.com/babylonlabs-io/finality-provider/ RUN go mod download # Copy the rest of the files -COPY ./ /go/src/github.com/babylonchain/finality-provider/ +COPY ./ /go/src/github.com/babylonlabs-io/finality-provider/ # Cosmwasm - Download correct libwasmvm version RUN WASMVM_VERSION=$(grep github.com/CosmWasm/wasmvm go.mod | cut -d' ' -f2) && \ @@ -41,8 +41,8 @@ RUN addgroup --gid 1138 -S finality-provider && adduser --uid 1138 -S finality-p RUN apk add bash curl jq -COPY --from=builder /go/src/github.com/babylonchain/finality-provider/build/fpd /bin/fpd -COPY --from=builder /go/src/github.com/babylonchain/finality-provider/build/eotsd /bin/eotsd +COPY --from=builder /go/src/github.com/babylonlabs-io/finality-provider/build/fpd /bin/fpd +COPY --from=builder /go/src/github.com/babylonlabs-io/finality-provider/build/eotsd /bin/eotsd WORKDIR /home/finality-provider RUN chown -R finality-provider /home/finality-provider diff --git a/Makefile b/Makefile index cc42df6a..4a3b855f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ BUILDDIR ?= $(CURDIR)/build TOOLS_DIR := tools -BABYLON_PKG := github.com/babylonchain/babylon/cmd/babylond +BABYLON_PKG := github.com/babylonlabs-io/babylon/cmd/babylond GO_BIN := ${GOPATH}/bin BTCD_BIN := $(GO_BIN)/btcd @@ -49,7 +49,7 @@ $(BUILDDIR)/: mkdir -p $(BUILDDIR)/ build-docker: - $(DOCKER) build --tag babylonchain/finality-provider -f Dockerfile \ + $(DOCKER) build --tag babylonlabs-io/finality-provider -f Dockerfile \ $(shell git rev-parse --show-toplevel) .PHONY: build build-docker diff --git a/README.md b/README.md index 76e294a0..ffeb8d1c 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ the [official Go installation guide](https://golang.org/doc/install). To get started, clone the repository to your local machine from Github: ```bash -git clone https://github.com/babylonchain/finality-provider.git +git clone https://github.com/babylonlabs-io/finality-provider.git ``` You can choose a specific version from -the [official releases page](https://github.com/babylonchain/finality-provider/releases) +the [official releases page](https://github.com/babylonlabs-io/finality-provider/releases) ```bash cd finality-provider # cd into the project directory @@ -113,5 +113,5 @@ A finality provider receives BTC delegations through delegators interacting with Babylon and choosing it as the recipient of their delegations. To perform a self-delegation, the operator can either visit the staking web app we provide, -or run the Babylon [BTC Staker program](https://github.com/babylonchain/btc-staker) once. +or run the Babylon [BTC Staker program](https://github.com/babylonlabs-io/btc-staker) once. The BTC staker connects to a Bitcoin wallet and Babylon to perform delegations. diff --git a/clientcontroller/babylon.go b/clientcontroller/babylon.go index 2d3bc489..dc3d0ef4 100644 --- a/clientcontroller/babylon.go +++ b/clientcontroller/babylon.go @@ -7,12 +7,12 @@ import ( sdkErr "cosmossdk.io/errors" "cosmossdk.io/math" - bbnclient "github.com/babylonchain/babylon/client/client" - bbntypes "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" + bbnclient "github.com/babylonlabs-io/babylon/client/client" + bbntypes "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/btcsuite/btcd/btcutil" @@ -24,8 +24,8 @@ import ( "github.com/cosmos/relayer/v2/relayer/provider" "go.uber.org/zap" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/types" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/types" ) var _ ClientController = &BabylonController{} diff --git a/clientcontroller/interface.go b/clientcontroller/interface.go index cb682f60..a705a3f0 100644 --- a/clientcontroller/interface.go +++ b/clientcontroller/interface.go @@ -9,9 +9,9 @@ import ( "github.com/btcsuite/btcd/chaincfg" "go.uber.org/zap" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/types" ) const ( diff --git a/clientcontroller/retry_utils.go b/clientcontroller/retry_utils.go index 39748ff7..a0eb1a4c 100644 --- a/clientcontroller/retry_utils.go +++ b/clientcontroller/retry_utils.go @@ -5,8 +5,8 @@ import ( "strings" sdkErr "cosmossdk.io/errors" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - finalitytypes "github.com/babylonchain/babylon/x/finality/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + finalitytypes "github.com/babylonlabs-io/babylon/x/finality/types" ) // these errors are considered unrecoverable because they indicate diff --git a/eotsmanager/client/rpcclient.go b/eotsmanager/client/rpcclient.go index 585e9daf..f2c0674d 100644 --- a/eotsmanager/client/rpcclient.go +++ b/eotsmanager/client/rpcclient.go @@ -9,9 +9,9 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/proto" - "github.com/babylonchain/finality-provider/eotsmanager/types" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/proto" + "github.com/babylonlabs-io/finality-provider/eotsmanager/types" ) var _ eotsmanager.EOTSManager = &EOTSManagerGRpcClient{} diff --git a/eotsmanager/cmd/eotsd/daemon/init.go b/eotsmanager/cmd/eotsd/daemon/init.go index 9855ab31..b2f33dcb 100644 --- a/eotsmanager/cmd/eotsd/daemon/init.go +++ b/eotsmanager/cmd/eotsd/daemon/init.go @@ -7,8 +7,8 @@ import ( "github.com/jessevdk/go-flags" "github.com/urfave/cli" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/util" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/util" ) var InitCommand = cli.Command{ diff --git a/eotsmanager/cmd/eotsd/daemon/keys.go b/eotsmanager/cmd/eotsd/daemon/keys.go index f6efa4ca..32db17ec 100644 --- a/eotsmanager/cmd/eotsd/daemon/keys.go +++ b/eotsmanager/cmd/eotsd/daemon/keys.go @@ -11,10 +11,10 @@ import ( "github.com/cosmos/go-bip39" "github.com/urfave/cli" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/log" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/log" ) type KeyOutput struct { diff --git a/eotsmanager/cmd/eotsd/daemon/pop.go b/eotsmanager/cmd/eotsd/daemon/pop.go index c4b9a927..a0006739 100644 --- a/eotsmanager/cmd/eotsd/daemon/pop.go +++ b/eotsmanager/cmd/eotsd/daemon/pop.go @@ -6,12 +6,12 @@ import ( "github.com/cometbft/cometbft/crypto/tmhash" sdk "github.com/cosmos/cosmos-sdk/types" - bbnparams "github.com/babylonchain/babylon/app/params" - bbn "github.com/babylonchain/babylon/types" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/log" + bbnparams "github.com/babylonlabs-io/babylon/app/params" + bbn "github.com/babylonlabs-io/babylon/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/log" "github.com/urfave/cli" ) diff --git a/eotsmanager/cmd/eotsd/daemon/pop_test.go b/eotsmanager/cmd/eotsd/daemon/pop_test.go index 7202b56f..57bf90bc 100644 --- a/eotsmanager/cmd/eotsd/daemon/pop_test.go +++ b/eotsmanager/cmd/eotsd/daemon/pop_test.go @@ -7,11 +7,11 @@ import ( "path/filepath" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" - dcli "github.com/babylonchain/finality-provider/eotsmanager/cmd/eotsd/daemon" - "github.com/babylonchain/finality-provider/testutil" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + dcli "github.com/babylonlabs-io/finality-provider/eotsmanager/cmd/eotsd/daemon" + "github.com/babylonlabs-io/finality-provider/testutil" "github.com/btcsuite/btcd/chaincfg" "github.com/stretchr/testify/require" "github.com/urfave/cli" diff --git a/eotsmanager/cmd/eotsd/daemon/sign.go b/eotsmanager/cmd/eotsd/daemon/sign.go index 3dfdeafc..04aca0b5 100644 --- a/eotsmanager/cmd/eotsd/daemon/sign.go +++ b/eotsmanager/cmd/eotsd/daemon/sign.go @@ -9,10 +9,10 @@ import ( "io" "os" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/log" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/log" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/urfave/cli" ) diff --git a/eotsmanager/cmd/eotsd/daemon/sign_test.go b/eotsmanager/cmd/eotsd/daemon/sign_test.go index 94b8199c..48a85f98 100644 --- a/eotsmanager/cmd/eotsd/daemon/sign_test.go +++ b/eotsmanager/cmd/eotsd/daemon/sign_test.go @@ -11,8 +11,8 @@ import ( "testing" sdkmath "cosmossdk.io/math" - dcli "github.com/babylonchain/finality-provider/eotsmanager/cmd/eotsd/daemon" - "github.com/babylonchain/finality-provider/testutil" + dcli "github.com/babylonlabs-io/finality-provider/eotsmanager/cmd/eotsd/daemon" + "github.com/babylonlabs-io/finality-provider/testutil" "github.com/stretchr/testify/require" "github.com/urfave/cli" diff --git a/eotsmanager/cmd/eotsd/daemon/start.go b/eotsmanager/cmd/eotsd/daemon/start.go index 8350d16b..e32513eb 100644 --- a/eotsmanager/cmd/eotsd/daemon/start.go +++ b/eotsmanager/cmd/eotsd/daemon/start.go @@ -8,11 +8,11 @@ import ( "github.com/lightningnetwork/lnd/signal" "github.com/urfave/cli" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/config" - eotsservice "github.com/babylonchain/finality-provider/eotsmanager/service" - "github.com/babylonchain/finality-provider/log" - "github.com/babylonchain/finality-provider/util" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + eotsservice "github.com/babylonlabs-io/finality-provider/eotsmanager/service" + "github.com/babylonlabs-io/finality-provider/log" + "github.com/babylonlabs-io/finality-provider/util" ) var StartCommand = cli.Command{ diff --git a/eotsmanager/cmd/eotsd/main.go b/eotsmanager/cmd/eotsd/main.go index 5e3fba91..285296b5 100644 --- a/eotsmanager/cmd/eotsd/main.go +++ b/eotsmanager/cmd/eotsd/main.go @@ -6,7 +6,7 @@ import ( "github.com/urfave/cli" - dcli "github.com/babylonchain/finality-provider/eotsmanager/cmd/eotsd/daemon" + dcli "github.com/babylonlabs-io/finality-provider/eotsmanager/cmd/eotsd/daemon" ) func fatal(err error) { diff --git a/eotsmanager/config/config.go b/eotsmanager/config/config.go index 0f664925..02336c98 100644 --- a/eotsmanager/config/config.go +++ b/eotsmanager/config/config.go @@ -10,8 +10,8 @@ import ( "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/jessevdk/go-flags" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/util" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/util" ) const ( diff --git a/eotsmanager/eotsmanager.go b/eotsmanager/eotsmanager.go index 263a1d87..04d02316 100644 --- a/eotsmanager/eotsmanager.go +++ b/eotsmanager/eotsmanager.go @@ -4,7 +4,7 @@ import ( "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" - "github.com/babylonchain/finality-provider/eotsmanager/types" + "github.com/babylonlabs-io/finality-provider/eotsmanager/types" ) type EOTSManager interface { diff --git a/eotsmanager/localmanager.go b/eotsmanager/localmanager.go index 599517c8..eb819287 100644 --- a/eotsmanager/localmanager.go +++ b/eotsmanager/localmanager.go @@ -6,10 +6,10 @@ import ( "strings" "sync" - "github.com/babylonchain/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/metrics" - "github.com/babylonchain/babylon/crypto/eots" - bbntypes "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/crypto/eots" + bbntypes "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/cosmos/cosmos-sdk/crypto/keyring" @@ -18,10 +18,10 @@ import ( "github.com/lightningnetwork/lnd/kvdb" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/codec" - "github.com/babylonchain/finality-provider/eotsmanager/randgenerator" - "github.com/babylonchain/finality-provider/eotsmanager/store" - eotstypes "github.com/babylonchain/finality-provider/eotsmanager/types" + "github.com/babylonlabs-io/finality-provider/codec" + "github.com/babylonlabs-io/finality-provider/eotsmanager/randgenerator" + "github.com/babylonlabs-io/finality-provider/eotsmanager/store" + eotstypes "github.com/babylonlabs-io/finality-provider/eotsmanager/types" ) const ( diff --git a/eotsmanager/localmanager_test.go b/eotsmanager/localmanager_test.go index adea480c..4db6fd1c 100644 --- a/eotsmanager/localmanager_test.go +++ b/eotsmanager/localmanager_test.go @@ -6,14 +6,14 @@ import ( "path/filepath" "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/eotsmanager" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/eotsmanager/types" - "github.com/babylonchain/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/eotsmanager/types" + "github.com/babylonlabs-io/finality-provider/testutil" ) var ( diff --git a/eotsmanager/proto/buf.yaml b/eotsmanager/proto/buf.yaml index 5ab32f06..4876b4a8 100644 --- a/eotsmanager/proto/buf.yaml +++ b/eotsmanager/proto/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/babylonchain/eotsmanager +name: buf.build/babylonlabs-io/eotsmanager deps: breaking: use: diff --git a/eotsmanager/proto/eotsmanager.pb.go b/eotsmanager/proto/eotsmanager.pb.go index ea5ae2b6..9a512e34 100644 --- a/eotsmanager/proto/eotsmanager.pb.go +++ b/eotsmanager/proto/eotsmanager.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.32.0 // protoc (unknown) // source: eotsmanager.proto @@ -788,11 +788,11 @@ var file_eotsmanager_proto_rawDesc = []byte{ 0x6e, 0x53, 0x63, 0x68, 0x6e, 0x6f, 0x72, 0x72, 0x53, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x53, 0x63, 0x68, 0x6e, 0x6f, 0x72, 0x72, 0x53, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x42, 0x41, 0x5a, 0x3f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x62, 0x61, 0x62, 0x79, 0x6c, 0x6f, 0x6e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x62, 0x74, 0x63, - 0x2d, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x2f, 0x65, 0x6f, 0x74, 0x73, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x42, 0x3f, 0x5a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x62, 0x61, 0x62, 0x79, 0x6c, 0x6f, 0x6e, 0x6c, 0x61, 0x62, 0x73, 0x2d, 0x69, 0x6f, 0x2f, 0x66, + 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2f, 0x65, 0x6f, 0x74, 0x73, 0x6d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/eotsmanager/proto/eotsmanager.proto b/eotsmanager/proto/eotsmanager.proto index 866a9de0..cc7efec0 100644 --- a/eotsmanager/proto/eotsmanager.proto +++ b/eotsmanager/proto/eotsmanager.proto @@ -2,7 +2,7 @@ syntax = "proto3"; package proto; -option go_package = "github.com/babylonchain/btc-finality-provider/eotsmanager/proto"; +option go_package = "github.com/babylonlabs-io/finality-provider/eotsmanager/proto"; service EOTSManager { rpc Ping (PingRequest) returns (PingResponse); diff --git a/eotsmanager/proto/eotsmanager_grpc.pb.go b/eotsmanager/proto/eotsmanager_grpc.pb.go index 0a8814ad..75b1e5cf 100644 --- a/eotsmanager/proto/eotsmanager_grpc.pb.go +++ b/eotsmanager/proto/eotsmanager_grpc.pb.go @@ -1,8 +1,4 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc (unknown) -// source: eotsmanager.proto package proto @@ -18,15 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - EOTSManager_Ping_FullMethodName = "/proto.EOTSManager/Ping" - EOTSManager_CreateKey_FullMethodName = "/proto.EOTSManager/CreateKey" - EOTSManager_CreateRandomnessPairList_FullMethodName = "/proto.EOTSManager/CreateRandomnessPairList" - EOTSManager_KeyRecord_FullMethodName = "/proto.EOTSManager/KeyRecord" - EOTSManager_SignEOTS_FullMethodName = "/proto.EOTSManager/SignEOTS" - EOTSManager_SignSchnorrSig_FullMethodName = "/proto.EOTSManager/SignSchnorrSig" -) - // EOTSManagerClient is the client API for EOTSManager service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -54,7 +41,7 @@ func NewEOTSManagerClient(cc grpc.ClientConnInterface) EOTSManagerClient { func (c *eOTSManagerClient) Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) { out := new(PingResponse) - err := c.cc.Invoke(ctx, EOTSManager_Ping_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.EOTSManager/Ping", in, out, opts...) if err != nil { return nil, err } @@ -63,7 +50,7 @@ func (c *eOTSManagerClient) Ping(ctx context.Context, in *PingRequest, opts ...g func (c *eOTSManagerClient) CreateKey(ctx context.Context, in *CreateKeyRequest, opts ...grpc.CallOption) (*CreateKeyResponse, error) { out := new(CreateKeyResponse) - err := c.cc.Invoke(ctx, EOTSManager_CreateKey_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.EOTSManager/CreateKey", in, out, opts...) if err != nil { return nil, err } @@ -72,7 +59,7 @@ func (c *eOTSManagerClient) CreateKey(ctx context.Context, in *CreateKeyRequest, func (c *eOTSManagerClient) CreateRandomnessPairList(ctx context.Context, in *CreateRandomnessPairListRequest, opts ...grpc.CallOption) (*CreateRandomnessPairListResponse, error) { out := new(CreateRandomnessPairListResponse) - err := c.cc.Invoke(ctx, EOTSManager_CreateRandomnessPairList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.EOTSManager/CreateRandomnessPairList", in, out, opts...) if err != nil { return nil, err } @@ -81,7 +68,7 @@ func (c *eOTSManagerClient) CreateRandomnessPairList(ctx context.Context, in *Cr func (c *eOTSManagerClient) KeyRecord(ctx context.Context, in *KeyRecordRequest, opts ...grpc.CallOption) (*KeyRecordResponse, error) { out := new(KeyRecordResponse) - err := c.cc.Invoke(ctx, EOTSManager_KeyRecord_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.EOTSManager/KeyRecord", in, out, opts...) if err != nil { return nil, err } @@ -90,7 +77,7 @@ func (c *eOTSManagerClient) KeyRecord(ctx context.Context, in *KeyRecordRequest, func (c *eOTSManagerClient) SignEOTS(ctx context.Context, in *SignEOTSRequest, opts ...grpc.CallOption) (*SignEOTSResponse, error) { out := new(SignEOTSResponse) - err := c.cc.Invoke(ctx, EOTSManager_SignEOTS_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.EOTSManager/SignEOTS", in, out, opts...) if err != nil { return nil, err } @@ -99,7 +86,7 @@ func (c *eOTSManagerClient) SignEOTS(ctx context.Context, in *SignEOTSRequest, o func (c *eOTSManagerClient) SignSchnorrSig(ctx context.Context, in *SignSchnorrSigRequest, opts ...grpc.CallOption) (*SignSchnorrSigResponse, error) { out := new(SignSchnorrSigResponse) - err := c.cc.Invoke(ctx, EOTSManager_SignSchnorrSig_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.EOTSManager/SignSchnorrSig", in, out, opts...) if err != nil { return nil, err } @@ -169,7 +156,7 @@ func _EOTSManager_Ping_Handler(srv interface{}, ctx context.Context, dec func(in } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: EOTSManager_Ping_FullMethodName, + FullMethod: "/proto.EOTSManager/Ping", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(EOTSManagerServer).Ping(ctx, req.(*PingRequest)) @@ -187,7 +174,7 @@ func _EOTSManager_CreateKey_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: EOTSManager_CreateKey_FullMethodName, + FullMethod: "/proto.EOTSManager/CreateKey", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(EOTSManagerServer).CreateKey(ctx, req.(*CreateKeyRequest)) @@ -205,7 +192,7 @@ func _EOTSManager_CreateRandomnessPairList_Handler(srv interface{}, ctx context. } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: EOTSManager_CreateRandomnessPairList_FullMethodName, + FullMethod: "/proto.EOTSManager/CreateRandomnessPairList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(EOTSManagerServer).CreateRandomnessPairList(ctx, req.(*CreateRandomnessPairListRequest)) @@ -223,7 +210,7 @@ func _EOTSManager_KeyRecord_Handler(srv interface{}, ctx context.Context, dec fu } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: EOTSManager_KeyRecord_FullMethodName, + FullMethod: "/proto.EOTSManager/KeyRecord", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(EOTSManagerServer).KeyRecord(ctx, req.(*KeyRecordRequest)) @@ -241,7 +228,7 @@ func _EOTSManager_SignEOTS_Handler(srv interface{}, ctx context.Context, dec fun } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: EOTSManager_SignEOTS_FullMethodName, + FullMethod: "/proto.EOTSManager/SignEOTS", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(EOTSManagerServer).SignEOTS(ctx, req.(*SignEOTSRequest)) @@ -259,7 +246,7 @@ func _EOTSManager_SignSchnorrSig_Handler(srv interface{}, ctx context.Context, d } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: EOTSManager_SignSchnorrSig_FullMethodName, + FullMethod: "/proto.EOTSManager/SignSchnorrSig", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(EOTSManagerServer).SignSchnorrSig(ctx, req.(*SignSchnorrSigRequest)) diff --git a/eotsmanager/randgenerator/randgenerator.go b/eotsmanager/randgenerator/randgenerator.go index 570031f0..a1405aad 100644 --- a/eotsmanager/randgenerator/randgenerator.go +++ b/eotsmanager/randgenerator/randgenerator.go @@ -4,7 +4,7 @@ import ( "crypto/hmac" "crypto/sha256" - "github.com/babylonchain/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/decred/dcrd/dcrec/secp256k1/v4" diff --git a/eotsmanager/service/rpcserver.go b/eotsmanager/service/rpcserver.go index b8cc4990..bbdd9cf4 100644 --- a/eotsmanager/service/rpcserver.go +++ b/eotsmanager/service/rpcserver.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/proto" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/proto" ) // rpcServer is the main RPC server for the EOTS daemon that handles diff --git a/eotsmanager/service/server.go b/eotsmanager/service/server.go index d9e2f310..f566bf65 100644 --- a/eotsmanager/service/server.go +++ b/eotsmanager/service/server.go @@ -7,15 +7,15 @@ import ( "sync" "sync/atomic" - "github.com/babylonchain/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/metrics" "github.com/lightningnetwork/lnd/kvdb" "github.com/lightningnetwork/lnd/signal" "go.uber.org/zap" "google.golang.org/grpc" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" ) // Server is the main daemon construct for the EOTS manager server. It handles diff --git a/eotsmanager/store/eotsstore_test.go b/eotsmanager/store/eotsstore_test.go index 16d3d793..4161da0c 100644 --- a/eotsmanager/store/eotsstore_test.go +++ b/eotsmanager/store/eotsstore_test.go @@ -5,13 +5,13 @@ import ( "os" "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/stretchr/testify/require" - "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/eotsmanager/store" - "github.com/babylonchain/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/eotsmanager/store" + "github.com/babylonlabs-io/finality-provider/testutil" ) // FuzzEOTSStore tests save and show EOTS key names properly diff --git a/finality-provider/cmd/cmd.go b/finality-provider/cmd/cmd.go index 0375844f..52aa4061 100644 --- a/finality-provider/cmd/cmd.go +++ b/finality-provider/cmd/cmd.go @@ -8,8 +8,8 @@ import ( "github.com/spf13/cobra" "github.com/spf13/pflag" - "github.com/babylonchain/babylon/app" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/babylon/app" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" ) // PersistClientCtx persist some vars from the cmd or config to the client context. diff --git a/finality-provider/cmd/cmd_test.go b/finality-provider/cmd/cmd_test.go index 2c0be72b..811902e5 100644 --- a/finality-provider/cmd/cmd_test.go +++ b/finality-provider/cmd/cmd_test.go @@ -10,10 +10,10 @@ import ( "github.com/spf13/cobra" "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/testutil/datagen" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/util" + "github.com/babylonlabs-io/babylon/testutil/datagen" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/util" goflags "github.com/jessevdk/go-flags" ) diff --git a/finality-provider/cmd/fpd/daemon/daemon_commands.go b/finality-provider/cmd/fpd/daemon/daemon_commands.go index c8334590..4a982263 100644 --- a/finality-provider/cmd/fpd/daemon/daemon_commands.go +++ b/finality-provider/cmd/fpd/daemon/daemon_commands.go @@ -8,16 +8,16 @@ import ( "strconv" "cosmossdk.io/math" - bbntypes "github.com/babylonchain/babylon/types" + bbntypes "github.com/babylonlabs-io/babylon/types" "github.com/cosmos/cosmos-sdk/client" sdkflags "github.com/cosmos/cosmos-sdk/client/flags" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" "github.com/spf13/pflag" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - dc "github.com/babylonchain/finality-provider/finality-provider/service/client" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + dc "github.com/babylonlabs-io/finality-provider/finality-provider/service/client" ) var ( diff --git a/finality-provider/cmd/fpd/daemon/export.go b/finality-provider/cmd/fpd/daemon/export.go index d00d93c0..c601aa6a 100644 --- a/finality-provider/cmd/fpd/daemon/export.go +++ b/finality-provider/cmd/fpd/daemon/export.go @@ -6,16 +6,16 @@ import ( "fmt" "cosmossdk.io/math" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - dc "github.com/babylonchain/finality-provider/finality-provider/service/client" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + dc "github.com/babylonlabs-io/finality-provider/finality-provider/service/client" "github.com/cosmos/cosmos-sdk/client" sdkflags "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/x/staking/types" "github.com/spf13/cobra" - bbn "github.com/babylonchain/babylon/types" - btcstktypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbn "github.com/babylonlabs-io/babylon/types" + btcstktypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" ) // FinalityProviderSigned wraps the finality provider by adding the diff --git a/finality-provider/cmd/fpd/daemon/init.go b/finality-provider/cmd/fpd/daemon/init.go index d5618fe5..3ccea218 100644 --- a/finality-provider/cmd/fpd/daemon/init.go +++ b/finality-provider/cmd/fpd/daemon/init.go @@ -8,9 +8,9 @@ import ( "github.com/jessevdk/go-flags" "github.com/spf13/cobra" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/util" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/util" ) // CommandInit returns the init command of fpd daemon that starts the config dir. diff --git a/finality-provider/cmd/fpd/daemon/keys.go b/finality-provider/cmd/fpd/daemon/keys.go index 483e68fb..dbc9fbec 100644 --- a/finality-provider/cmd/fpd/daemon/keys.go +++ b/finality-provider/cmd/fpd/daemon/keys.go @@ -3,8 +3,8 @@ package daemon import ( "strings" - helper "github.com/babylonchain/finality-provider/finality-provider/cmd" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" + helper "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" "github.com/cosmos/cosmos-sdk/client" sdkflags "github.com/cosmos/cosmos-sdk/client/flags" "github.com/cosmos/cosmos-sdk/client/keys" diff --git a/finality-provider/cmd/fpd/daemon/start.go b/finality-provider/cmd/fpd/daemon/start.go index 43162ee3..9a0593cd 100644 --- a/finality-provider/cmd/fpd/daemon/start.go +++ b/finality-provider/cmd/fpd/daemon/start.go @@ -5,18 +5,18 @@ import ( "net" "path/filepath" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcwallet/walletdb" "github.com/cosmos/cosmos-sdk/client" "github.com/lightningnetwork/lnd/signal" "github.com/spf13/cobra" "go.uber.org/zap" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/log" - "github.com/babylonchain/finality-provider/util" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/log" + "github.com/babylonlabs-io/finality-provider/util" ) // CommandStart returns the start command of fpd daemon. diff --git a/finality-provider/cmd/fpd/daemon/tx.go b/finality-provider/cmd/fpd/daemon/tx.go index 8bb903ed..f13339d2 100644 --- a/finality-provider/cmd/fpd/daemon/tx.go +++ b/finality-provider/cmd/fpd/daemon/tx.go @@ -7,8 +7,8 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/spf13/cobra" - btcstakingcli "github.com/babylonchain/babylon/x/btcstaking/client/cli" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" + btcstakingcli "github.com/babylonlabs-io/babylon/x/btcstaking/client/cli" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" sdk "github.com/cosmos/cosmos-sdk/types" authclient "github.com/cosmos/cosmos-sdk/x/auth/client" authcli "github.com/cosmos/cosmos-sdk/x/auth/client/cli" diff --git a/finality-provider/cmd/fpd/daemon/tx_test.go b/finality-provider/cmd/fpd/daemon/tx_test.go index 69b8dfdf..9460ea3b 100644 --- a/finality-provider/cmd/fpd/daemon/tx_test.go +++ b/finality-provider/cmd/fpd/daemon/tx_test.go @@ -18,15 +18,15 @@ import ( "github.com/stretchr/testify/require" - "github.com/babylonchain/babylon/app" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - "github.com/babylonchain/finality-provider/finality-provider/cmd/fpd/daemon" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/testutil" + "github.com/babylonlabs-io/babylon/app" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + "github.com/babylonlabs-io/finality-provider/finality-provider/cmd/fpd/daemon" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/testutil" ) func FuzzNewValidateSignedFinalityProviderCmd(f *testing.F) { diff --git a/finality-provider/cmd/fpd/main.go b/finality-provider/cmd/fpd/main.go index f549398a..b898de30 100644 --- a/finality-provider/cmd/fpd/main.go +++ b/finality-provider/cmd/fpd/main.go @@ -8,9 +8,9 @@ import ( "github.com/cosmos/cosmos-sdk/client/flags" "github.com/spf13/cobra" - fpcmd "github.com/babylonchain/finality-provider/finality-provider/cmd" - "github.com/babylonchain/finality-provider/finality-provider/cmd/fpd/daemon" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" + fpcmd "github.com/babylonlabs-io/finality-provider/finality-provider/cmd" + "github.com/babylonlabs-io/finality-provider/finality-provider/cmd/fpd/daemon" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" ) // NewRootCmd creates a new root command for fpd. It is called once in the main function. diff --git a/finality-provider/config/babylon.go b/finality-provider/config/babylon.go index 3fea0e9c..18b601a5 100644 --- a/finality-provider/config/babylon.go +++ b/finality-provider/config/babylon.go @@ -3,7 +3,7 @@ package config import ( "time" - bbncfg "github.com/babylonchain/babylon/client/config" + bbncfg "github.com/babylonlabs-io/babylon/client/config" ) type BBNConfig struct { diff --git a/finality-provider/config/config.go b/finality-provider/config/config.go index 9d1a69a2..3fa4b51f 100644 --- a/finality-provider/config/config.go +++ b/finality-provider/config/config.go @@ -12,9 +12,9 @@ import ( "github.com/jessevdk/go-flags" "go.uber.org/zap/zapcore" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/util" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/util" ) const ( diff --git a/finality-provider/proto/buf.yaml b/finality-provider/proto/buf.yaml index baa1a86c..efc77370 100644 --- a/finality-provider/proto/buf.yaml +++ b/finality-provider/proto/buf.yaml @@ -1,5 +1,5 @@ version: v1 -name: buf.build/babylonchain/btc-finality-provider +name: buf.build/babylonlabs-io/finality-provider deps: - buf.build/cosmos/cosmos-sdk:v0.50.0 - buf.build/cosmos/cosmos-proto:1935555c206d4afb9e94615dfd0fad31 diff --git a/finality-provider/proto/finality_providers.go b/finality-provider/proto/finality_providers.go index 2b573a88..fefa8111 100644 --- a/finality-provider/proto/finality_providers.go +++ b/finality-provider/proto/finality_providers.go @@ -3,7 +3,7 @@ package proto import ( "fmt" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/cosmos/cosmos-sdk/x/staking/types" diff --git a/finality-provider/proto/finality_providers.pb.go b/finality-provider/proto/finality_providers.pb.go index 9ec5dd2c..e36c1b1f 100644 --- a/finality-provider/proto/finality_providers.pb.go +++ b/finality-provider/proto/finality_providers.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.33.0 +// protoc-gen-go v1.32.0 // protoc (unknown) // source: finality_providers.proto @@ -195,7 +195,7 @@ type CreateFinalityProviderRequest struct { Passphrase string `protobuf:"bytes,2,opt,name=passphrase,proto3" json:"passphrase,omitempty"` // hd_path is the hd path for private key derivation HdPath string `protobuf:"bytes,3,opt,name=hd_path,json=hdPath,proto3" json:"hd_path,omitempty"` - // chain_id is the identifier of the consumer chain that the finality provider connected to + // chain_id is the identifier of the consumer chain that the finality provider is connected to ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // description defines the description terms for the finality provider Description []byte `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` @@ -1500,11 +1500,11 @@ var file_finality_providers_proto_rawDesc = []byte{ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, - 0x43, 0x5a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, - 0x62, 0x79, 0x6c, 0x6f, 0x6e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x66, 0x69, 0x6e, 0x61, 0x6c, - 0x69, 0x74, 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x66, 0x69, 0x6e, - 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x45, 0x5a, 0x43, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, + 0x62, 0x79, 0x6c, 0x6f, 0x6e, 0x6c, 0x61, 0x62, 0x73, 0x2d, 0x69, 0x6f, 0x2f, 0x66, 0x69, 0x6e, + 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x2f, 0x66, + 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/finality-provider/proto/finality_providers.proto b/finality-provider/proto/finality_providers.proto index 7a0f9be3..73082b49 100644 --- a/finality-provider/proto/finality_providers.proto +++ b/finality-provider/proto/finality_providers.proto @@ -6,7 +6,7 @@ import "gogoproto/gogo.proto"; import "cosmos/staking/v1beta1/staking.proto"; import "cosmos_proto/cosmos.proto"; -option go_package = "github.com/babylonchain/finality-provider/finality-provider/proto"; +option go_package = "github.com/babylonlabs-io/finality-provider/finality-provider/proto"; service FinalityProviders { // GetInfo returns the information of the daemon diff --git a/finality-provider/proto/finality_providers_grpc.pb.go b/finality-provider/proto/finality_providers_grpc.pb.go index e2d7bdca..6480c381 100644 --- a/finality-provider/proto/finality_providers_grpc.pb.go +++ b/finality-provider/proto/finality_providers_grpc.pb.go @@ -1,8 +1,4 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. -// versions: -// - protoc-gen-go-grpc v1.3.0 -// - protoc (unknown) -// source: finality_providers.proto package proto @@ -18,16 +14,6 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 -const ( - FinalityProviders_GetInfo_FullMethodName = "/proto.FinalityProviders/GetInfo" - FinalityProviders_CreateFinalityProvider_FullMethodName = "/proto.FinalityProviders/CreateFinalityProvider" - FinalityProviders_RegisterFinalityProvider_FullMethodName = "/proto.FinalityProviders/RegisterFinalityProvider" - FinalityProviders_AddFinalitySignature_FullMethodName = "/proto.FinalityProviders/AddFinalitySignature" - FinalityProviders_QueryFinalityProvider_FullMethodName = "/proto.FinalityProviders/QueryFinalityProvider" - FinalityProviders_QueryFinalityProviderList_FullMethodName = "/proto.FinalityProviders/QueryFinalityProviderList" - FinalityProviders_SignMessageFromChainKey_FullMethodName = "/proto.FinalityProviders/SignMessageFromChainKey" -) - // FinalityProvidersClient is the client API for FinalityProviders service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -60,7 +46,7 @@ func NewFinalityProvidersClient(cc grpc.ClientConnInterface) FinalityProvidersCl func (c *finalityProvidersClient) GetInfo(ctx context.Context, in *GetInfoRequest, opts ...grpc.CallOption) (*GetInfoResponse, error) { out := new(GetInfoResponse) - err := c.cc.Invoke(ctx, FinalityProviders_GetInfo_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/GetInfo", in, out, opts...) if err != nil { return nil, err } @@ -69,7 +55,7 @@ func (c *finalityProvidersClient) GetInfo(ctx context.Context, in *GetInfoReques func (c *finalityProvidersClient) CreateFinalityProvider(ctx context.Context, in *CreateFinalityProviderRequest, opts ...grpc.CallOption) (*CreateFinalityProviderResponse, error) { out := new(CreateFinalityProviderResponse) - err := c.cc.Invoke(ctx, FinalityProviders_CreateFinalityProvider_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/CreateFinalityProvider", in, out, opts...) if err != nil { return nil, err } @@ -78,7 +64,7 @@ func (c *finalityProvidersClient) CreateFinalityProvider(ctx context.Context, in func (c *finalityProvidersClient) RegisterFinalityProvider(ctx context.Context, in *RegisterFinalityProviderRequest, opts ...grpc.CallOption) (*RegisterFinalityProviderResponse, error) { out := new(RegisterFinalityProviderResponse) - err := c.cc.Invoke(ctx, FinalityProviders_RegisterFinalityProvider_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/RegisterFinalityProvider", in, out, opts...) if err != nil { return nil, err } @@ -87,7 +73,7 @@ func (c *finalityProvidersClient) RegisterFinalityProvider(ctx context.Context, func (c *finalityProvidersClient) AddFinalitySignature(ctx context.Context, in *AddFinalitySignatureRequest, opts ...grpc.CallOption) (*AddFinalitySignatureResponse, error) { out := new(AddFinalitySignatureResponse) - err := c.cc.Invoke(ctx, FinalityProviders_AddFinalitySignature_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/AddFinalitySignature", in, out, opts...) if err != nil { return nil, err } @@ -96,7 +82,7 @@ func (c *finalityProvidersClient) AddFinalitySignature(ctx context.Context, in * func (c *finalityProvidersClient) QueryFinalityProvider(ctx context.Context, in *QueryFinalityProviderRequest, opts ...grpc.CallOption) (*QueryFinalityProviderResponse, error) { out := new(QueryFinalityProviderResponse) - err := c.cc.Invoke(ctx, FinalityProviders_QueryFinalityProvider_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/QueryFinalityProvider", in, out, opts...) if err != nil { return nil, err } @@ -105,7 +91,7 @@ func (c *finalityProvidersClient) QueryFinalityProvider(ctx context.Context, in func (c *finalityProvidersClient) QueryFinalityProviderList(ctx context.Context, in *QueryFinalityProviderListRequest, opts ...grpc.CallOption) (*QueryFinalityProviderListResponse, error) { out := new(QueryFinalityProviderListResponse) - err := c.cc.Invoke(ctx, FinalityProviders_QueryFinalityProviderList_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/QueryFinalityProviderList", in, out, opts...) if err != nil { return nil, err } @@ -114,7 +100,7 @@ func (c *finalityProvidersClient) QueryFinalityProviderList(ctx context.Context, func (c *finalityProvidersClient) SignMessageFromChainKey(ctx context.Context, in *SignMessageFromChainKeyRequest, opts ...grpc.CallOption) (*SignMessageFromChainKeyResponse, error) { out := new(SignMessageFromChainKeyResponse) - err := c.cc.Invoke(ctx, FinalityProviders_SignMessageFromChainKey_FullMethodName, in, out, opts...) + err := c.cc.Invoke(ctx, "/proto.FinalityProviders/SignMessageFromChainKey", in, out, opts...) if err != nil { return nil, err } @@ -192,7 +178,7 @@ func _FinalityProviders_GetInfo_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_GetInfo_FullMethodName, + FullMethod: "/proto.FinalityProviders/GetInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).GetInfo(ctx, req.(*GetInfoRequest)) @@ -210,7 +196,7 @@ func _FinalityProviders_CreateFinalityProvider_Handler(srv interface{}, ctx cont } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_CreateFinalityProvider_FullMethodName, + FullMethod: "/proto.FinalityProviders/CreateFinalityProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).CreateFinalityProvider(ctx, req.(*CreateFinalityProviderRequest)) @@ -228,7 +214,7 @@ func _FinalityProviders_RegisterFinalityProvider_Handler(srv interface{}, ctx co } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_RegisterFinalityProvider_FullMethodName, + FullMethod: "/proto.FinalityProviders/RegisterFinalityProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).RegisterFinalityProvider(ctx, req.(*RegisterFinalityProviderRequest)) @@ -246,7 +232,7 @@ func _FinalityProviders_AddFinalitySignature_Handler(srv interface{}, ctx contex } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_AddFinalitySignature_FullMethodName, + FullMethod: "/proto.FinalityProviders/AddFinalitySignature", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).AddFinalitySignature(ctx, req.(*AddFinalitySignatureRequest)) @@ -264,7 +250,7 @@ func _FinalityProviders_QueryFinalityProvider_Handler(srv interface{}, ctx conte } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_QueryFinalityProvider_FullMethodName, + FullMethod: "/proto.FinalityProviders/QueryFinalityProvider", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).QueryFinalityProvider(ctx, req.(*QueryFinalityProviderRequest)) @@ -282,7 +268,7 @@ func _FinalityProviders_QueryFinalityProviderList_Handler(srv interface{}, ctx c } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_QueryFinalityProviderList_FullMethodName, + FullMethod: "/proto.FinalityProviders/QueryFinalityProviderList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).QueryFinalityProviderList(ctx, req.(*QueryFinalityProviderListRequest)) @@ -300,7 +286,7 @@ func _FinalityProviders_SignMessageFromChainKey_Handler(srv interface{}, ctx con } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: FinalityProviders_SignMessageFromChainKey_FullMethodName, + FullMethod: "/proto.FinalityProviders/SignMessageFromChainKey", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(FinalityProvidersServer).SignMessageFromChainKey(ctx, req.(*SignMessageFromChainKeyRequest)) diff --git a/finality-provider/service/app.go b/finality-provider/service/app.go index d0d29093..4b8e0b91 100644 --- a/finality-provider/service/app.go +++ b/finality-provider/service/app.go @@ -7,8 +7,8 @@ import ( "time" sdkmath "cosmossdk.io/math" - bbntypes "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/cosmos/cosmos-sdk/crypto/keys/secp256k1" @@ -17,15 +17,15 @@ import ( "github.com/lightningnetwork/lnd/kvdb" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/clientcontroller" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/client" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/store" - fpkr "github.com/babylonchain/finality-provider/keyring" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/clientcontroller" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/client" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" + fpkr "github.com/babylonlabs-io/finality-provider/keyring" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/types" ) type FinalityProviderApp struct { diff --git a/finality-provider/service/app_test.go b/finality-provider/service/app_test.go index a9a3c048..38ff9a5c 100644 --- a/finality-provider/service/app_test.go +++ b/finality-provider/service/app_test.go @@ -6,19 +6,19 @@ import ( "path/filepath" "testing" - bbntypes "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/eotsmanager" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/testutil" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/types" ) var ( diff --git a/finality-provider/service/chain_poller.go b/finality-provider/service/chain_poller.go index e7fe1c40..42ee599b 100644 --- a/finality-provider/service/chain_poller.go +++ b/finality-provider/service/chain_poller.go @@ -9,10 +9,10 @@ import ( "go.uber.org/atomic" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/clientcontroller" - cfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/clientcontroller" + cfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/types" ) var ( diff --git a/finality-provider/service/chain_poller_test.go b/finality-provider/service/chain_poller_test.go index 4e899ed2..23d6158d 100644 --- a/finality-provider/service/chain_poller_test.go +++ b/finality-provider/service/chain_poller_test.go @@ -10,12 +10,12 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/testutil" - "github.com/babylonchain/finality-provider/testutil/mocks" - "github.com/babylonchain/finality-provider/types" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/testutil/mocks" + "github.com/babylonlabs-io/finality-provider/types" ) // FuzzChainPoller_Start tests the poller polling blocks diff --git a/finality-provider/service/client/rpcclient.go b/finality-provider/service/client/rpcclient.go index 1f475b86..eda110c0 100644 --- a/finality-provider/service/client/rpcclient.go +++ b/finality-provider/service/client/rpcclient.go @@ -5,12 +5,12 @@ import ( "fmt" sdkmath "cosmossdk.io/math" - bbntypes "github.com/babylonchain/babylon/types" + bbntypes "github.com/babylonlabs-io/babylon/types" "github.com/cosmos/cosmos-sdk/x/staking/types" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/babylonchain/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" ) type FinalityProviderServiceGRpcClient struct { diff --git a/finality-provider/service/eots_manager_adapter.go b/finality-provider/service/eots_manager_adapter.go index c5eb9835..6b9ef569 100644 --- a/finality-provider/service/eots_manager_adapter.go +++ b/finality-provider/service/eots_manager_adapter.go @@ -3,8 +3,8 @@ package service import ( "fmt" - bbntypes "github.com/babylonchain/babylon/types" - "github.com/babylonchain/finality-provider/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + "github.com/babylonlabs-io/finality-provider/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" "github.com/cometbft/cometbft/crypto/tmhash" diff --git a/finality-provider/service/fastsync.go b/finality-provider/service/fastsync.go index f77cfe60..fd2b97ab 100644 --- a/finality-provider/service/fastsync.go +++ b/finality-provider/service/fastsync.go @@ -5,7 +5,7 @@ import ( "go.uber.org/zap" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/types" ) type FastSyncResult struct { diff --git a/finality-provider/service/fastsync_test.go b/finality-provider/service/fastsync_test.go index cf7e0164..2ef082e8 100644 --- a/finality-provider/service/fastsync_test.go +++ b/finality-provider/service/fastsync_test.go @@ -4,13 +4,13 @@ import ( "math/rand" "testing" - "github.com/babylonchain/babylon/testutil/datagen" - ftypes "github.com/babylonchain/babylon/x/finality/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" - "github.com/babylonchain/finality-provider/testutil" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/types" ) // FuzzFastSync_SufficientRandomness tests a case where we have sufficient diff --git a/finality-provider/service/fp_instance.go b/finality-provider/service/fp_instance.go index f3a807d6..89b4933a 100644 --- a/finality-provider/service/fp_instance.go +++ b/finality-provider/service/fp_instance.go @@ -8,21 +8,21 @@ import ( "time" "github.com/avast/retry-go/v4" - bbntypes "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - ftypes "github.com/babylonchain/babylon/x/finality/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/gogo/protobuf/jsonpb" "go.uber.org/atomic" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/clientcontroller" - "github.com/babylonchain/finality-provider/eotsmanager" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/store" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/clientcontroller" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/types" ) type FinalityProviderInstance struct { diff --git a/finality-provider/service/fp_instance_test.go b/finality-provider/service/fp_instance_test.go index 99e4b1fa..84437e77 100644 --- a/finality-provider/service/fp_instance_test.go +++ b/finality-provider/service/fp_instance_test.go @@ -10,17 +10,17 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/babylonchain/babylon/testutil/datagen" - ftypes "github.com/babylonchain/babylon/x/finality/types" - "github.com/babylonchain/finality-provider/clientcontroller" - "github.com/babylonchain/finality-provider/eotsmanager" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/testutil" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + ftypes "github.com/babylonlabs-io/babylon/x/finality/types" + "github.com/babylonlabs-io/finality-provider/clientcontroller" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/types" ) func FuzzCommitPubRandList(f *testing.F) { diff --git a/finality-provider/service/fp_manager.go b/finality-provider/service/fp_manager.go index 7ecc0917..499daaae 100644 --- a/finality-provider/service/fp_manager.go +++ b/finality-provider/service/fp_manager.go @@ -7,18 +7,18 @@ import ( "time" "github.com/avast/retry-go/v4" - bbntypes "github.com/babylonchain/babylon/types" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "go.uber.org/atomic" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/clientcontroller" - "github.com/babylonchain/finality-provider/eotsmanager" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/store" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/clientcontroller" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/types" ) const instanceTerminatingMsg = "terminating the finality-provider instance due to critical error" diff --git a/finality-provider/service/fp_manager_test.go b/finality-provider/service/fp_manager_test.go index 21015952..5c77be61 100644 --- a/finality-provider/service/fp_manager_test.go +++ b/finality-provider/service/fp_manager_test.go @@ -8,25 +8,25 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" - bbntypes "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbntypes "github.com/babylonlabs-io/babylon/types" "github.com/golang/mock/gomock" "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/clientcontroller" - "github.com/babylonchain/finality-provider/eotsmanager" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/service" - fpstore "github.com/babylonchain/finality-provider/finality-provider/store" - "github.com/babylonchain/finality-provider/keyring" - "github.com/babylonchain/finality-provider/metrics" - "github.com/babylonchain/finality-provider/testutil" - "github.com/babylonchain/finality-provider/testutil/mocks" - "github.com/babylonchain/finality-provider/types" - "github.com/babylonchain/finality-provider/util" + "github.com/babylonlabs-io/finality-provider/clientcontroller" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + fpstore "github.com/babylonlabs-io/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/keyring" + "github.com/babylonlabs-io/finality-provider/metrics" + "github.com/babylonlabs-io/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/testutil/mocks" + "github.com/babylonlabs-io/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/util" ) var ( diff --git a/finality-provider/service/fp_store_adapter.go b/finality-provider/service/fp_store_adapter.go index 7016ac75..e5dc7bd0 100644 --- a/finality-provider/service/fp_store_adapter.go +++ b/finality-provider/service/fp_store_adapter.go @@ -4,15 +4,15 @@ import ( "sync" sdkmath "cosmossdk.io/math" - bbntypes "github.com/babylonchain/babylon/types" - btcstakingtypes "github.com/babylonchain/babylon/x/btcstaking/types" + bbntypes "github.com/babylonlabs-io/babylon/types" + btcstakingtypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" ) type createFinalityProviderResponse struct { diff --git a/finality-provider/service/pub_rand_store_adapter.go b/finality-provider/service/pub_rand_store_adapter.go index 65e11697..f03a2836 100644 --- a/finality-provider/service/pub_rand_store_adapter.go +++ b/finality-provider/service/pub_rand_store_adapter.go @@ -1,7 +1,7 @@ package service import ( - "github.com/babylonchain/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" "github.com/btcsuite/btcd/btcec/v2" "github.com/cometbft/cometbft/crypto/merkle" ) diff --git a/finality-provider/service/rpcserver.go b/finality-provider/service/rpcserver.go index 10d24f53..f1196f27 100644 --- a/finality-provider/service/rpcserver.go +++ b/finality-provider/service/rpcserver.go @@ -7,13 +7,13 @@ import ( "sync/atomic" "cosmossdk.io/math" - bbntypes "github.com/babylonchain/babylon/types" + bbntypes "github.com/babylonlabs-io/babylon/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" "google.golang.org/grpc" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/types" - "github.com/babylonchain/finality-provider/version" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/version" ) // rpcServer is the main RPC server for the Finality Provider daemon that handles diff --git a/finality-provider/service/server.go b/finality-provider/service/server.go index 94050b81..c6eb2743 100644 --- a/finality-provider/service/server.go +++ b/finality-provider/service/server.go @@ -12,8 +12,8 @@ import ( "go.uber.org/zap" "google.golang.org/grpc" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/metrics" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/metrics" ) // Server is the main daemon construct for the Finality Provider server. It handles diff --git a/finality-provider/store/fpstore.go b/finality-provider/store/fpstore.go index 6277a3db..3afb4252 100644 --- a/finality-provider/store/fpstore.go +++ b/finality-provider/store/fpstore.go @@ -12,7 +12,7 @@ import ( "github.com/lightningnetwork/lnd/kvdb" pm "google.golang.org/protobuf/proto" - "github.com/babylonchain/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" ) var ( diff --git a/finality-provider/store/fpstore_test.go b/finality-provider/store/fpstore_test.go index 1766e356..54feccf7 100644 --- a/finality-provider/store/fpstore_test.go +++ b/finality-provider/store/fpstore_test.go @@ -5,12 +5,12 @@ import ( "os" "testing" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/stretchr/testify/require" - "github.com/babylonchain/finality-provider/finality-provider/config" - fpstore "github.com/babylonchain/finality-provider/finality-provider/store" - "github.com/babylonchain/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/finality-provider/config" + fpstore "github.com/babylonlabs-io/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/testutil" sdk "github.com/cosmos/cosmos-sdk/types" ) diff --git a/finality-provider/store/storedfp.go b/finality-provider/store/storedfp.go index 9923c353..25b74e10 100644 --- a/finality-provider/store/storedfp.go +++ b/finality-provider/store/storedfp.go @@ -4,12 +4,12 @@ import ( "fmt" sdkmath "cosmossdk.io/math" - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcec/v2/schnorr" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/babylonchain/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" ) type StoredFinalityProvider struct { diff --git a/go.mod b/go.mod index c6217a66..8c43992c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/babylonchain/finality-provider +module github.com/babylonlabs-io/finality-provider go 1.21 @@ -8,12 +8,12 @@ require ( cosmossdk.io/errors v1.0.1 cosmossdk.io/math v1.3.0 github.com/avast/retry-go/v4 v4.5.1 - github.com/babylonchain/babylon v0.9.0-rc.2 + github.com/babylonlabs-io/babylon v0.9.0 github.com/btcsuite/btcd v0.24.2 github.com/btcsuite/btcd/btcec/v2 v2.3.2 github.com/btcsuite/btcd/btcutil v1.1.5 github.com/btcsuite/btcwallet/walletdb v1.4.0 - github.com/cometbft/cometbft v0.38.6 + github.com/cometbft/cometbft v0.38.7 github.com/cosmos/cosmos-proto v1.0.0-beta.5 github.com/cosmos/cosmos-sdk v0.50.6 github.com/cosmos/go-bip39 v1.0.0 @@ -27,6 +27,8 @@ require ( github.com/lightningnetwork/lnd v0.16.4-beta.rc1 github.com/lightningnetwork/lnd/kvdb v1.4.1 github.com/prometheus/client_golang v1.19.0 + github.com/spf13/cobra v1.8.1 + github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.9.0 github.com/urfave/cli v1.22.14 go.uber.org/atomic v1.10.0 @@ -58,7 +60,7 @@ require ( github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/CosmWasm/wasmd v0.51.0 // indirect - github.com/CosmWasm/wasmvm/v2 v2.0.0 // indirect + github.com/CosmWasm/wasmvm/v2 v2.0.1 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect @@ -92,7 +94,8 @@ require ( github.com/cosmos/gogogateway v1.2.0 // indirect github.com/cosmos/iavl v1.1.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect - github.com/cosmos/ibc-go/v8 v8.2.0 // indirect + github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead // indirect + github.com/cosmos/ibc-go/v8 v8.3.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect @@ -228,8 +231,6 @@ require ( github.com/sourcegraph/conc v0.3.0 // indirect github.com/spf13/afero v1.11.0 // indirect github.com/spf13/cast v1.6.0 // indirect - github.com/spf13/cobra v1.8.1 // indirect - github.com/spf13/pflag v1.0.5 // indirect github.com/spf13/viper v1.18.2 // indirect github.com/strangelove-ventures/cometbft-client v0.1.0 // indirect github.com/stretchr/objx v0.5.2 // indirect diff --git a/go.sum b/go.sum index 398c2cc8..13ee8509 100644 --- a/go.sum +++ b/go.sum @@ -227,8 +227,8 @@ github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= -github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= -github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= +github.com/CosmWasm/wasmvm/v2 v2.0.1 h1:0YCQ7MKGNri7NFeRp75erPJXrqyCtH4gdc9jMstyMzk= +github.com/CosmWasm/wasmvm/v2 v2.0.1/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -281,8 +281,8 @@ github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX github.com/aws/aws-sdk-go v1.44.312 h1:llrElfzeqG/YOLFFKjg1xNpZCFJ2xraIi3PqSuP+95k= github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/babylonchain/babylon v0.9.0-rc.2 h1:cnkVdfJgwXEarzQrqJ2otONuEl+Xe22bN6bXyoenBR4= -github.com/babylonchain/babylon v0.9.0-rc.2/go.mod h1:QTjpnEAEReQofIpZikCQXUZxSkdK0TrWAUbgxOSF9yA= +github.com/babylonlabs-io/babylon v0.9.0 h1:dHZ9wUrI5XLaO4UIwJRgiCdnzFdi5yv7dpibbu6TDv0= +github.com/babylonlabs-io/babylon v0.9.0/go.mod h1:t7B4e+ooD2oYvAxkegtNKDL9bXe+vU29a8xnCQh+UKo= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -384,8 +384,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= -github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= +github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk= +github.com/cometbft/cometbft v0.38.7/go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/consensys/bavard v0.1.13 h1:oLhMLOFGTLdlda/kma4VOJazblc7IM5y5QPd2A/YjhQ= @@ -425,8 +425,10 @@ github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= -github.com/cosmos/ibc-go/v8 v8.2.0 h1:7oCzyy1sZCcgpeQLnHxC56brsSz3KWwQGKXalXwXFzE= -github.com/cosmos/ibc-go/v8 v8.2.0/go.mod h1:wj3qx75iC/XNnsMqbPDCIGs0G6Y3E/lo3bdqCyoCy+8= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead h1:QB50+AmrEVqFr2hzvIxMkICziWQ/uuebze0vNYKMnBg= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead/go.mod h1:AJeroAXnPKeFpD1AfEfjYBHGEWt5gBfzUjgs4SYn2ZY= +github.com/cosmos/ibc-go/v8 v8.3.0 h1:fdW2S7NjZYFhSwmCaFjjyDv80kI1ePOJDQmco4qrnD0= +github.com/cosmos/ibc-go/v8 v8.3.0/go.mod h1:izwHZvn9lKrBn8xWj0aXWut6HKcwHMPD3uyuvOJoPSA= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= @@ -438,8 +440,6 @@ github.com/cosmos/relayer/v2 v2.5.2/go.mod h1:h4Ng2QsVpxExIq5S+WvLr8slDb9MSBh82g github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/cpuguy83/go-md2man/v2 v2.0.3 h1:qMCsGGgs+MAzDFyp9LpAe1Lqy/fY/qCovCm0qnXZOBM= -github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/cpuguy83/go-md2man/v2 v2.0.4 h1:wfIWP927BUkWJb2NmU/kNDYIBTh/ziUX91+lVfRxZq4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/crate-crypto/go-ipa v0.0.0-20231025140028-3c0104f4b233 h1:d28BXYi+wUpz1KBmiF9bWrjEMacUEREV6MBi2ODnrfQ= @@ -1209,8 +1209,6 @@ github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= -github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= -github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= diff --git a/itest/babylon_node_handler.go b/itest/babylon_node_handler.go index f479d353..57919e8b 100644 --- a/itest/babylon_node_handler.go +++ b/itest/babylon_node_handler.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" "github.com/stretchr/testify/require" ) diff --git a/itest/e2e_test.go b/itest/e2e_test.go index 5dcccd88..0dec0dc1 100644 --- a/itest/e2e_test.go +++ b/itest/e2e_test.go @@ -8,13 +8,13 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/testutil/datagen" + "github.com/babylonlabs-io/babylon/testutil/datagen" "github.com/btcsuite/btcd/btcec/v2" "github.com/stretchr/testify/require" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/types" ) var ( diff --git a/itest/eotsmanager_handler.go b/itest/eotsmanager_handler.go index fbdca9a6..a35f51fd 100644 --- a/itest/eotsmanager_handler.go +++ b/itest/eotsmanager_handler.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/eotsmanager/config" - "github.com/babylonchain/finality-provider/eotsmanager/service" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + "github.com/babylonlabs-io/finality-provider/eotsmanager/service" ) type EOTSServerHandler struct { diff --git a/itest/test_manager.go b/itest/test_manager.go index 2c42615a..984d547d 100644 --- a/itest/test_manager.go +++ b/itest/test_manager.go @@ -12,14 +12,14 @@ import ( "time" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/btcstaking" - asig "github.com/babylonchain/babylon/crypto/schnorr-adaptor-signature" - "github.com/babylonchain/babylon/testutil/datagen" - bbntypes "github.com/babylonchain/babylon/types" - btcctypes "github.com/babylonchain/babylon/x/btccheckpoint/types" - btclctypes "github.com/babylonchain/babylon/x/btclightclient/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" - "github.com/babylonchain/finality-provider/clientcontroller" + "github.com/babylonlabs-io/babylon/btcstaking" + asig "github.com/babylonlabs-io/babylon/crypto/schnorr-adaptor-signature" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbntypes "github.com/babylonlabs-io/babylon/types" + btcctypes "github.com/babylonlabs-io/babylon/x/btccheckpoint/types" + btclctypes "github.com/babylonlabs-io/babylon/x/btclightclient/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/finality-provider/clientcontroller" "github.com/btcsuite/btcd/btcec/v2" "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/chaincfg" @@ -29,12 +29,12 @@ import ( "github.com/stretchr/testify/require" "go.uber.org/zap" - fpcc "github.com/babylonchain/finality-provider/clientcontroller" - "github.com/babylonchain/finality-provider/eotsmanager/client" - eotsconfig "github.com/babylonchain/finality-provider/eotsmanager/config" - fpcfg "github.com/babylonchain/finality-provider/finality-provider/config" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/types" + fpcc "github.com/babylonlabs-io/finality-provider/clientcontroller" + "github.com/babylonlabs-io/finality-provider/eotsmanager/client" + eotsconfig "github.com/babylonlabs-io/finality-provider/eotsmanager/config" + fpcfg "github.com/babylonlabs-io/finality-provider/finality-provider/config" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/types" ) var ( @@ -699,7 +699,7 @@ func newDescription(moniker string) *stakingtypes.Description { // ParseRespBTCDelToBTCDel parses an BTC delegation response to BTC Delegation // adapted from -// https://github.com/babylonchain/babylon/blob/1a3c50da64885452c8d669fcea2a2fad78c8a028/test/e2e/btc_staking_e2e_test.go#L548 +// https://github.com/babylonlabs-io/babylon/blob/1a3c50da64885452c8d669fcea2a2fad78c8a028/test/e2e/btc_staking_e2e_test.go#L548 func ParseRespBTCDelToBTCDel(resp *bstypes.BTCDelegationResponse) (btcDel *bstypes.BTCDelegation, err error) { stakingTx, err := hex.DecodeString(resp.StakingTxHex) if err != nil { diff --git a/keyring/keyring.go b/keyring/keyring.go index 36b526b3..c8312907 100644 --- a/keyring/keyring.go +++ b/keyring/keyring.go @@ -9,7 +9,7 @@ import ( "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/crypto/keyring" - "github.com/babylonchain/finality-provider/codec" + "github.com/babylonlabs-io/finality-provider/codec" ) func CreateKeyring(keyringDir string, chainId string, backend string, input *strings.Reader) (keyring.Keyring, error) { diff --git a/keyring/keyringcontroller.go b/keyring/keyringcontroller.go index 9cb6e81d..fd0bf84a 100644 --- a/keyring/keyringcontroller.go +++ b/keyring/keyringcontroller.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/crypto/keyring" @@ -12,7 +12,7 @@ import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/go-bip39" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/types" ) const ( diff --git a/keyring/keyringcontroller_test.go b/keyring/keyringcontroller_test.go index 0ec247de..19c2315b 100644 --- a/keyring/keyringcontroller_test.go +++ b/keyring/keyringcontroller_test.go @@ -8,17 +8,17 @@ import ( "go.uber.org/zap" - "github.com/babylonchain/babylon/types" + "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/chaincfg" "github.com/cosmos/cosmos-sdk/crypto/keyring" "github.com/stretchr/testify/require" - eotscfg "github.com/babylonchain/finality-provider/eotsmanager/config" + eotscfg "github.com/babylonlabs-io/finality-provider/eotsmanager/config" - fpkr "github.com/babylonchain/finality-provider/keyring" + fpkr "github.com/babylonlabs-io/finality-provider/keyring" - "github.com/babylonchain/finality-provider/eotsmanager" - "github.com/babylonchain/finality-provider/testutil" + "github.com/babylonlabs-io/finality-provider/eotsmanager" + "github.com/babylonlabs-io/finality-provider/testutil" ) var ( diff --git a/log/log.go b/log/log.go index 4b05ed39..f81f79e9 100644 --- a/log/log.go +++ b/log/log.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/babylonchain/finality-provider/util" + "github.com/babylonlabs-io/finality-provider/util" zaplogfmt "github.com/jsternberg/zap-logfmt" "go.uber.org/zap" diff --git a/metrics/fp_collectors.go b/metrics/fp_collectors.go index 82c6e0fc..b9a0e135 100644 --- a/metrics/fp_collectors.go +++ b/metrics/fp_collectors.go @@ -6,8 +6,8 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" ) type FpMetrics struct { diff --git a/testutil/datagen.go b/testutil/datagen.go index 1865b81e..d9d5264f 100644 --- a/testutil/datagen.go +++ b/testutil/datagen.go @@ -6,25 +6,25 @@ import ( "testing" "time" - "github.com/babylonchain/babylon/crypto/eots" + "github.com/babylonlabs-io/babylon/crypto/eots" "github.com/cosmos/cosmos-sdk/crypto/keyring" sdk "github.com/cosmos/cosmos-sdk/types" stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types" - "github.com/babylonchain/finality-provider/finality-provider/store" + "github.com/babylonlabs-io/finality-provider/finality-provider/store" sdkmath "cosmossdk.io/math" - "github.com/babylonchain/babylon/testutil/datagen" - bbn "github.com/babylonchain/babylon/types" - bstypes "github.com/babylonchain/babylon/x/btcstaking/types" + "github.com/babylonlabs-io/babylon/testutil/datagen" + bbn "github.com/babylonlabs-io/babylon/types" + bstypes "github.com/babylonlabs-io/babylon/x/btcstaking/types" "github.com/btcsuite/btcd/chaincfg" "github.com/cosmos/cosmos-sdk/client" "github.com/stretchr/testify/require" - "github.com/babylonchain/finality-provider/codec" - "github.com/babylonchain/finality-provider/finality-provider/proto" - "github.com/babylonchain/finality-provider/finality-provider/service" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/codec" + "github.com/babylonlabs-io/finality-provider/finality-provider/proto" + "github.com/babylonlabs-io/finality-provider/finality-provider/service" + "github.com/babylonlabs-io/finality-provider/types" ) func GenRandomByteArray(r *rand.Rand, length uint64) []byte { diff --git a/testutil/mocks/babylon.go b/testutil/mocks/babylon.go index 9ee40572..09210f01 100644 --- a/testutil/mocks/babylon.go +++ b/testutil/mocks/babylon.go @@ -8,8 +8,8 @@ import ( reflect "reflect" math "cosmossdk.io/math" - types "github.com/babylonchain/babylon/x/finality/types" - types0 "github.com/babylonchain/finality-provider/types" + types "github.com/babylonlabs-io/babylon/x/finality/types" + types0 "github.com/babylonlabs-io/finality-provider/types" btcec "github.com/btcsuite/btcd/btcec/v2" schnorr "github.com/btcsuite/btcd/btcec/v2/schnorr" gomock "github.com/golang/mock/gomock" diff --git a/testutil/utils.go b/testutil/utils.go index 76f14af2..aaa98be2 100644 --- a/testutil/utils.go +++ b/testutil/utils.go @@ -7,8 +7,8 @@ import ( sdkmath "cosmossdk.io/math" "github.com/golang/mock/gomock" - "github.com/babylonchain/finality-provider/testutil/mocks" - "github.com/babylonchain/finality-provider/types" + "github.com/babylonlabs-io/finality-provider/testutil/mocks" + "github.com/babylonlabs-io/finality-provider/types" ) const TestPubRandNum = 25 diff --git a/tools/go.mod b/tools/go.mod index 3f5ca90d..30a04a46 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,10 +1,10 @@ -module github.com/babylonchain/finality-provider/tools +module github.com/babylonlabs-io/finality-provider/tools go 1.21 toolchain go1.21.4 -require github.com/babylonchain/babylon v0.9.0-rc.2 +require github.com/babylonlabs-io/babylon v0.9.0 require ( cloud.google.com/go v0.112.0 // indirect @@ -32,7 +32,7 @@ require ( github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect github.com/99designs/keyring v1.2.1 // indirect github.com/CosmWasm/wasmd v0.51.0 // indirect - github.com/CosmWasm/wasmvm/v2 v2.0.0 // indirect + github.com/CosmWasm/wasmvm/v2 v2.0.1 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect github.com/DataDog/zstd v1.5.5 // indirect github.com/aead/siphash v1.0.1 // indirect @@ -57,7 +57,7 @@ require ( github.com/cockroachdb/pebble v1.1.0 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/cometbft/cometbft v0.38.6 // indirect + github.com/cometbft/cometbft v0.38.7 // indirect github.com/cometbft/cometbft-db v0.9.1 // indirect github.com/cosmos/btcutil v1.0.5 // indirect github.com/cosmos/cosmos-db v1.0.2 // indirect @@ -68,7 +68,8 @@ require ( github.com/cosmos/gogoproto v1.4.12 // indirect github.com/cosmos/iavl v1.1.2 // indirect github.com/cosmos/ibc-go/modules/capability v1.0.0 // indirect - github.com/cosmos/ibc-go/v8 v8.2.0 // indirect + github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead // indirect + github.com/cosmos/ibc-go/v8 v8.3.0 // indirect github.com/cosmos/ics23/go v0.10.0 // indirect github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect github.com/creachadair/atomicfile v0.3.1 // indirect diff --git a/tools/go.sum b/tools/go.sum index 272dbf02..9707fffa 100644 --- a/tools/go.sum +++ b/tools/go.sum @@ -227,8 +227,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/CosmWasm/wasmd v0.51.0 h1:3A2o20RrdF7P1D3Xb+R7A/pHbbHWsYCDXrHLa7S0SC8= github.com/CosmWasm/wasmd v0.51.0/go.mod h1:7TSaj5HoolghujuVWeExqmcUKgpcYWEySGLSODbnnwY= -github.com/CosmWasm/wasmvm/v2 v2.0.0 h1:IqNCI2G0mvs7K6ej17/I28805rVqnu+Y1cWDqIdwb08= -github.com/CosmWasm/wasmvm/v2 v2.0.0/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= +github.com/CosmWasm/wasmvm/v2 v2.0.1 h1:0YCQ7MKGNri7NFeRp75erPJXrqyCtH4gdc9jMstyMzk= +github.com/CosmWasm/wasmvm/v2 v2.0.1/go.mod h1:su9lg5qLr7adV95eOfzjZWkGiky8WNaNIHDr7Fpu7Ck= github.com/DataDog/datadog-go v3.2.0+incompatible h1:qSG2N4FghB1He/r2mFrWKCaL7dXCilEuNEeAn20fdD4= github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ= github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= @@ -268,8 +268,8 @@ github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX github.com/aws/aws-sdk-go v1.44.312 h1:llrElfzeqG/YOLFFKjg1xNpZCFJ2xraIi3PqSuP+95k= github.com/aws/aws-sdk-go v1.44.312/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g= -github.com/babylonchain/babylon v0.9.0-rc.2 h1:cnkVdfJgwXEarzQrqJ2otONuEl+Xe22bN6bXyoenBR4= -github.com/babylonchain/babylon v0.9.0-rc.2/go.mod h1:QTjpnEAEReQofIpZikCQXUZxSkdK0TrWAUbgxOSF9yA= +github.com/babylonlabs-io/babylon v0.9.0 h1:dHZ9wUrI5XLaO4UIwJRgiCdnzFdi5yv7dpibbu6TDv0= +github.com/babylonlabs-io/babylon v0.9.0/go.mod h1:t7B4e+ooD2oYvAxkegtNKDL9bXe+vU29a8xnCQh+UKo= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= @@ -366,8 +366,8 @@ github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAKVxetITBuuhv3BI9cMrmStnpT18zmgmTxunpo= github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI= -github.com/cometbft/cometbft v0.38.6 h1:QSgpCzrGWJ2KUq1qpw+FCfASRpE27T6LQbfEHscdyOk= -github.com/cometbft/cometbft v0.38.6/go.mod h1:8rSPxzUJYquCN8uuBgbUHOMg2KAwvr7CyUw+6ukO4nw= +github.com/cometbft/cometbft v0.38.7 h1:ULhIOJ9+LgSy6nLekhq9ae3juX3NnQUMMPyVdhZV6Hk= +github.com/cometbft/cometbft v0.38.7/go.mod h1:HIyf811dFMI73IE0F7RrnY/Fr+d1+HuJAgtkEpQjCMY= github.com/cometbft/cometbft-db v0.9.1 h1:MIhVX5ja5bXNHF8EYrThkG9F7r9kSfv8BX4LWaxWJ4M= github.com/cometbft/cometbft-db v0.9.1/go.mod h1:iliyWaoV0mRwBJoizElCwwRA9Tf7jZJOURcRZF9m60U= github.com/containerd/continuity v0.3.0 h1:nisirsYROK15TAMVukJOUyGJjz4BNQJBVsNvAXZJ/eg= @@ -397,8 +397,10 @@ github.com/cosmos/iavl v1.1.2 h1:zL9FK7C4L/P4IF1Dm5fIwz0WXCnn7Bp1M2FxH0ayM7Y= github.com/cosmos/iavl v1.1.2/go.mod h1:jLeUvm6bGT1YutCaL2fIar/8vGUE8cPZvh/gXEWDaDM= github.com/cosmos/ibc-go/modules/capability v1.0.0 h1:r/l++byFtn7jHYa09zlAdSeevo8ci1mVZNO9+V0xsLE= github.com/cosmos/ibc-go/modules/capability v1.0.0/go.mod h1:D81ZxzjZAe0ZO5ambnvn1qedsFQ8lOwtqicG6liLBco= -github.com/cosmos/ibc-go/v8 v8.2.0 h1:7oCzyy1sZCcgpeQLnHxC56brsSz3KWwQGKXalXwXFzE= -github.com/cosmos/ibc-go/v8 v8.2.0/go.mod h1:wj3qx75iC/XNnsMqbPDCIGs0G6Y3E/lo3bdqCyoCy+8= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead h1:QB50+AmrEVqFr2hzvIxMkICziWQ/uuebze0vNYKMnBg= +github.com/cosmos/ibc-go/modules/light-clients/08-wasm v0.0.0-20240429153234-e1e6da7e4ead/go.mod h1:AJeroAXnPKeFpD1AfEfjYBHGEWt5gBfzUjgs4SYn2ZY= +github.com/cosmos/ibc-go/v8 v8.3.0 h1:fdW2S7NjZYFhSwmCaFjjyDv80kI1ePOJDQmco4qrnD0= +github.com/cosmos/ibc-go/v8 v8.3.0/go.mod h1:izwHZvn9lKrBn8xWj0aXWut6HKcwHMPD3uyuvOJoPSA= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= diff --git a/tools/tools.go b/tools/tools.go index 752851fa..7c3505d6 100644 --- a/tools/tools.go +++ b/tools/tools.go @@ -4,5 +4,5 @@ package finalityprovider import ( - _ "github.com/babylonchain/babylon/cmd/babylond" + _ "github.com/babylonlabs-io/babylon/cmd/babylond" ) diff --git a/types/pub_rand_commit.go b/types/pub_rand_commit.go index 972cd458..3b1c63e6 100644 --- a/types/pub_rand_commit.go +++ b/types/pub_rand_commit.go @@ -1,7 +1,7 @@ package types import ( - bbn "github.com/babylonchain/babylon/types" + bbn "github.com/babylonlabs-io/babylon/types" "github.com/btcsuite/btcd/btcec/v2" "github.com/cometbft/cometbft/crypto/merkle" ) From f8e5b2b8f0de877d92dac946816ad22f8b1f63da Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Thu, 1 Aug 2024 15:51:41 +0800 Subject: [PATCH 2/3] Migrate github action (#17) --- .circleci/config.yml | 128 ---------------------------------- .github/workflows/ci.yml | 20 ++++++ .github/workflows/publish.yml | 24 +++++++ 3 files changed, 44 insertions(+), 128 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci.yml create mode 100644 .github/workflows/publish.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 485db950..00000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,128 +0,0 @@ -version: 2.1 - -orbs: - go: circleci/go@1.7.3 - aws-ecr: circleci/aws-ecr@8.2.1 - -jobs: - check-mock-gen: - machine: - image: ubuntu-2204:2024.01.1 - steps: - - checkout - - go/install: - version: "1.21.4" - - go/load-cache: - key: go-mod-v6-{{ checksum "go.sum" }} - - go/mod-download - - go/save-cache: - key: go-mod-v6-{{ checksum "go.sum" }} - path: "/home/circleci/.go_workspace/pkg/mod" - - run: - name: Run make mock-gen - command: | - make mock-gen - - run: - name: Check for uncommitted changes - command: | - if ! git diff --exit-code; then - echo "Uncommitted changes detected. Please run 'make mock-gen' before committing." - exit 1 - fi - - build_lint_test: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - go/install: - version: "1.21.4" - - checkout - - run: - name: Print Go environment - command: "go env" - - go/load-cache: - key: go-mod-v6-{{ checksum "go.sum" }} - - go/mod-download - - go/save-cache: - key: go-mod-v6-{{ checksum "go.sum" }} - path: "/home/circleci/.go_workspace/pkg/mod" - - run: - name: Build cli app - command: make build - - run: - name: Lint - command: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.55.2 - ./bin/golangci-lint run --timeout 5m0s - - run: - name: Run tests - command: | - make test - - run: - name: Run integration tests - command: | - make test-e2e - - build_docker: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - checkout - - aws-ecr/build-image: - push-image: false - dockerfile: Dockerfile - path: ./ - build-path: ./ - tag: "$CIRCLE_SHA1,$CIRCLE_TAG" - repo: "$CIRCLE_PROJECT_REPONAME" - - run: - name: Save Docker image to export it to workspace - command: | - docker save $(docker image ls --format '{{.Repository}}:{{.Tag}}') > /tmp/finality-provider.tar - - persist_to_workspace: - root: /tmp - paths: - - finality-provider.tar - - push_docker: - machine: - image: ubuntu-2204:2024.01.1 - resource_class: large - steps: - - attach_workspace: - at: /tmp - - run: - name: Load Docker image from workspace - command: | - docker load -i /tmp/finality-provider.tar - - aws-ecr/ecr-login: - aws-access-key-id: AWS_ACCESS_KEY_ID - aws-secret-access-key: AWS_SECRET_ACCESS_KEY - region: "$AWS_REGION" - - aws-ecr/push-image: - registry-id: AWS_ECR_REGISTRY_ID - region: "$AWS_REGION" - repo: "$CIRCLE_PROJECT_REPONAME" - tag: "$CIRCLE_SHA1,$CIRCLE_TAG" - -workflows: - CI: - jobs: - - check-mock-gen - - build_lint_test - - build_docker: - filters: - tags: - only: /.*/ - - push_docker: - requires: - - build_docker - filters: - tags: - only: /.*/ - branches: - only: - - main - - dev diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..cd23d116 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,20 @@ +name: ci + +on: + pull_request: + branches: + - '**' + +jobs: + lint_test: + uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 + with: + run-unit-tests: true + run-integration-tests: true + run-lint: true + + docker_pipeline: + uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + secrets: inherit + with: + publish: false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..9fa69f46 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,24 @@ +name: docker_publish + +on: + push: + branches: + - 'main' + - 'dev' + tags: + - '*' + +jobs: + lint_test: + uses: babylonlabs-io/.github/.github/workflows/reusable_go_lint_test.yml@v0.1.0 + with: + run-unit-tests: true + run-integration-tests: true + run-lint: true + + docker_pipeline: + needs: ["lint_test"] + uses: babylonlabs-io/.github/.github/workflows/reusable_docker_pipeline.yml@v0.1.0 + secrets: inherit + with: + publish: true From 743412efe4b37089d4f0921f1190ca43e80f8390 Mon Sep 17 00:00:00 2001 From: Cirrus Gai Date: Thu, 1 Aug 2024 17:55:36 +0800 Subject: [PATCH 3/3] chore: Remove CHANGELOG (#19) --- CHANGELOG.md | 276 --------------------------------------------------- 1 file changed, 276 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index d77d8092..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,276 +0,0 @@ -# Changelog - -## [v0.2.0](https://github.com/babylonlabs-io/finality-provider/tree/v0.2.0) (2024-05-14) - -[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/euphrates-0.1.0-rc.0...v0.2.0) - -**Closed issues:** - -- eotsd verify signature command from input file, pub key [\#311](https://github.com/babylonlabs-io/finality-provider/issues/311) -- Generate EOTS key [\#306](https://github.com/babylonlabs-io/finality-provider/issues/306) -- Finality Provider issues [\#302](https://github.com/babylonlabs-io/finality-provider/issues/302) -- Requires DATA Prune solutions [\#297](https://github.com/babylonlabs-io/finality-provider/issues/297) -- Suggest Add Delete Provider Instance [\#295](https://github.com/babylonlabs-io/finality-provider/issues/295) -- Add e2e test using CLI `export-finality-provider` and importing the result on genesis [\#289](https://github.com/babylonlabs-io/finality-provider/issues/289) -- failed to register finality-provider \(not found: key not found\) [\#279](https://github.com/babylonlabs-io/finality-provider/issues/279) -- "unauthorized" error with fpcli register-finality-provider [\#273](https://github.com/babylonlabs-io/finality-provider/issues/273) - -## [euphrates-0.1.0-rc.0](https://github.com/babylonlabs-io/finality-provider/tree/euphrates-0.1.0-rc.0) (2024-03-26) - -[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/v0.1.0...euphrates-0.1.0-rc.0) - -**Fixed bugs:** - -- Finality provider status `CREATED` is not changed to `REGISTERED` in some cases [\#253](https://github.com/babylonlabs-io/finality-provider/issues/253) - -**Closed issues:** - -- eotsd init panics [\#266](https://github.com/babylonlabs-io/finality-provider/issues/266) -- DB needs refactoring [\#252](https://github.com/babylonlabs-io/finality-provider/issues/252) -- failed to register the finality-provider to Babylon: error in json rpc client [\#249](https://github.com/babylonlabs-io/finality-provider/issues/249) -- `fpcli ls` should return all the managed fps with different status [\#244](https://github.com/babylonlabs-io/finality-provider/issues/244) -- Change the default parameters to ones used in a stable devnet [\#230](https://github.com/babylonlabs-io/finality-provider/issues/230) -- Crash recovery potentially causes inconsistent state [\#196](https://github.com/babylonlabs-io/finality-provider/issues/196) -- Command for collecting finality provider rewards [\#176](https://github.com/babylonlabs-io/finality-provider/issues/176) -- Drop blocks when a block channel of a validator gets full [\#72](https://github.com/babylonlabs-io/finality-provider/issues/72) - -## [v0.1.0](https://github.com/babylonlabs-io/finality-provider/tree/v0.1.0) (2024-02-08) - -[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/v0.1.0-rc.0...v0.1.0) - -**Fixed bugs:** - -- Fast-sync inconsistent with poller [\#234](https://github.com/babylonlabs-io/finality-provider/issues/234) -- Fast-sync fails upon `ErrDuplicatedFinalitySig` [\#233](https://github.com/babylonlabs-io/finality-provider/issues/233) -- Zero voting power when querying for the best block [\#223](https://github.com/babylonlabs-io/finality-provider/issues/223) -- Data inconsistency leads to Validator termination [\#113](https://github.com/babylonlabs-io/finality-provider/issues/113) - -**Closed issues:** - -- Existing retry loops to safely proceed but the error still exists [\#229](https://github.com/babylonlabs-io/finality-provider/issues/229) -- bug: `LastProcessedHeight` leads to blocks never being voted if previously skipped [\#227](https://github.com/babylonlabs-io/finality-provider/issues/227) -- bug: shouldSubmitFinalitySignature does not check whether randomness is committed [\#226](https://github.com/babylonlabs-io/finality-provider/issues/226) -- Inconsistent LastVotedHeight with Babylon would cause loss of liveness [\#222](https://github.com/babylonlabs-io/finality-provider/issues/222) -- Finality provider crashes over duplicated finality signature submission [\#220](https://github.com/babylonlabs-io/finality-provider/issues/220) -- Finality Providers stop sending Finality sigs [\#219](https://github.com/babylonlabs-io/finality-provider/issues/219) -- Cycle dependency issue with covenant-emulator [\#206](https://github.com/babylonlabs-io/finality-provider/issues/206) -- EOTS manager still asks passphrase from terminal in `file` KeyringBackend [\#145](https://github.com/babylonlabs-io/finality-provider/issues/145) -- Mnemonic for created keyrings should not be stored in the logs [\#78](https://github.com/babylonlabs-io/finality-provider/issues/78) - -**Merged pull requests:** - -- chore: Bump Babylon to v0.8.0 [\#239](https://github.com/babylonlabs-io/finality-provider/pull/239) ([gitferry](https://github.com/gitferry)) -- chore: Change default config value [\#238](https://github.com/babylonlabs-io/finality-provider/pull/238) ([gitferry](https://github.com/gitferry)) -- Bumps babylon to latest version [\#236](https://github.com/babylonlabs-io/finality-provider/pull/236) ([KonradStaniec](https://github.com/KonradStaniec)) -- fix\(poller\): Next height should not be set with a lower value [\#235](https://github.com/babylonlabs-io/finality-provider/pull/235) ([gitferry](https://github.com/gitferry)) -- chore: Change default ports to 12581 and 12582 [\#232](https://github.com/babylonlabs-io/finality-provider/pull/232) ([vitsalis](https://github.com/vitsalis)) -- fix: Query best block causing flaky voting power result [\#231](https://github.com/babylonlabs-io/finality-provider/pull/231) ([gitferry](https://github.com/gitferry)) -- fix: `LastProcessedHeight` should be set ensuring public randomness committed [\#228](https://github.com/babylonlabs-io/finality-provider/pull/228) ([gitferry](https://github.com/gitferry)) -- fix: Only clean up blocks buffer up to the fast-synced height [\#225](https://github.com/babylonlabs-io/finality-provider/pull/225) ([vitsalis](https://github.com/vitsalis)) -- chore: Fix panicking upon expected error during retrying [\#221](https://github.com/babylonlabs-io/finality-provider/pull/221) ([gitferry](https://github.com/gitferry)) -- CI: Remove redundant SSH key logic [\#218](https://github.com/babylonlabs-io/finality-provider/pull/218) ([filippos47](https://github.com/filippos47)) -- chore: Remove `--all` flag when starting `fpd` daemon [\#216](https://github.com/babylonlabs-io/finality-provider/pull/216) ([gitferry](https://github.com/gitferry)) -- fix\(doc\): Inconsistency of keyringbackend in doc [\#214](https://github.com/babylonlabs-io/finality-provider/pull/214) ([gitferry](https://github.com/gitferry)) -- docs: Add note regarding randomness commitments [\#213](https://github.com/babylonlabs-io/finality-provider/pull/213) ([filippos47](https://github.com/filippos47)) - -## [v0.1.0-rc.0](https://github.com/babylonlabs-io/finality-provider/tree/v0.1.0-rc.0) (2024-01-22) - -[Full Changelog](https://github.com/babylonlabs-io/finality-provider/compare/f88f8884fd415300ac85c24384652df8ef744f36...v0.1.0-rc.0) - -**Fixed bugs:** - -- Panicking when querying for public randomness [\#199](https://github.com/babylonlabs-io/finality-provider/issues/199) -- `fpcli --daemon-address` flag inconsistencies [\#197](https://github.com/babylonlabs-io/finality-provider/issues/197) -- Cannot manually submit finality signature [\#187](https://github.com/babylonlabs-io/finality-provider/issues/187) -- `fpcli ls`: Finality provider description is base64 encoded [\#186](https://github.com/babylonlabs-io/finality-provider/issues/186) -- Finality providers don't start after daemon restart [\#183](https://github.com/babylonlabs-io/finality-provider/issues/183) -- btc-validator doesn't report errors when connected to non-existent remote EOTS manager [\#169](https://github.com/babylonlabs-io/finality-provider/issues/169) -- Indirect dependency on `cosmossdk.io/tools/confix/cmd` [\#158](https://github.com/babylonlabs-io/finality-provider/issues/158) -- BTC Validator daemon freezes after attack execution [\#131](https://github.com/babylonlabs-io/finality-provider/issues/131) -- BTC Validator skipped voting for a block [\#114](https://github.com/babylonlabs-io/finality-provider/issues/114) -- btc-validator freezes after creating additional BTC Validators [\#106](https://github.com/babylonlabs-io/finality-provider/issues/106) -- Slashed validators' status not shifting to `3` on `valcli dn ls` output [\#98](https://github.com/babylonlabs-io/finality-provider/issues/98) -- Account sequence mismatch error [\#84](https://github.com/babylonlabs-io/finality-provider/issues/84) -- Create validator: BTC PKs always have prefix 02 in logs [\#77](https://github.com/babylonlabs-io/finality-provider/issues/77) - -**Closed issues:** - -- Inconsistency between the local LastCommittedHeight and Babylon [\#193](https://github.com/babylonlabs-io/finality-provider/issues/193) -- LastCommittedHeight inconsistancy [\#191](https://github.com/babylonlabs-io/finality-provider/issues/191) -- `fpcli cfp`: `--key-name` flag removed [\#184](https://github.com/babylonlabs-io/finality-provider/issues/184) -- Show descriptive validator statuses [\#177](https://github.com/babylonlabs-io/finality-provider/issues/177) -- Split covenant into a different repository [\#175](https://github.com/babylonlabs-io/finality-provider/issues/175) -- Ensure the check of delegation/undelegation is consistent with Babylon [\#173](https://github.com/babylonlabs-io/finality-provider/issues/173) -- Key Management Commands [\#170](https://github.com/babylonlabs-io/finality-provider/issues/170) -- Configuration option specifying max number of validators concurrently running [\#165](https://github.com/babylonlabs-io/finality-provider/issues/165) -- Rename btc-validator to finality-provider [\#163](https://github.com/babylonlabs-io/finality-provider/issues/163) -- Use common Dockerfile for covenant, eots-manager, and finality provider [\#162](https://github.com/babylonlabs-io/finality-provider/issues/162) -- btc-validator: Wrong config file path [\#160](https://github.com/babylonlabs-io/finality-provider/issues/160) -- Use `zap` logger to replace `logrus` logger [\#157](https://github.com/babylonlabs-io/finality-provider/issues/157) -- `vald` and `eotsd` can start even if there is no config file present. [\#155](https://github.com/babylonlabs-io/finality-provider/issues/155) -- `KeyDirectory` in `vald.conf` creates another subdirectory to store keys [\#154](https://github.com/babylonlabs-io/finality-provider/issues/154) -- `vald` shows successfully connected to EOTS manager even when `eotsd` is not running [\#153](https://github.com/babylonlabs-io/finality-provider/issues/153) -- `eotsd` provides `--rpclistener` flag requiring full address but `vald` provides `--rpclisten` flag which accepts port or full address [\#151](https://github.com/babylonlabs-io/finality-provider/issues/151) -- Have an `init` command that initializes the home directory instead of `dump-config`. [\#150](https://github.com/babylonlabs-io/finality-provider/issues/150) -- Show more information about babylon account of the validator using cmd [\#148](https://github.com/babylonlabs-io/finality-provider/issues/148) -- Check chaining before sending finality signature [\#143](https://github.com/babylonlabs-io/finality-provider/issues/143) -- Specify validator instance when starting a daemon [\#142](https://github.com/babylonlabs-io/finality-provider/issues/142) -- Remove global Babylon account [\#141](https://github.com/babylonlabs-io/finality-provider/issues/141) -- Separate Covenant functionalities from Validator [\#140](https://github.com/babylonlabs-io/finality-provider/issues/140) -- Anti-slashing mechanism [\#136](https://github.com/babylonlabs-io/finality-provider/issues/136) -- Enable passphrase to encrypt keys [\#135](https://github.com/babylonlabs-io/finality-provider/issues/135) -- Rename Jury to Covenant [\#134](https://github.com/babylonlabs-io/finality-provider/issues/134) -- Jury does not check slashing address of delegations [\#133](https://github.com/babylonlabs-io/finality-provider/issues/133) -- BTC Validator daemon stability issues [\#132](https://github.com/babylonlabs-io/finality-provider/issues/132) -- Should remove chain-id in keymanagement [\#122](https://github.com/babylonlabs-io/finality-provider/issues/122) -- Delegations stuck in pending state [\#120](https://github.com/babylonlabs-io/finality-provider/issues/120) -- BTC Validator registration crushes the daemon [\#118](https://github.com/babylonlabs-io/finality-provider/issues/118) -- `valcli dn cv`: Add commission as CLI argument [\#107](https://github.com/babylonlabs-io/finality-provider/issues/107) -- Jury keeps trying to sign unbonding transaction [\#105](https://github.com/babylonlabs-io/finality-provider/issues/105) -- Use BTC PK as the unique ID of a validator instead of Babylon PK [\#104](https://github.com/babylonlabs-io/finality-provider/issues/104) -- Flaky tests results [\#99](https://github.com/babylonlabs-io/finality-provider/issues/99) -- Proper termination of validator instances [\#96](https://github.com/babylonlabs-io/finality-provider/issues/96) -- Concurrent sending of finality signatures [\#95](https://github.com/babylonlabs-io/finality-provider/issues/95) -- Add description CLI flag to `valcli dn cv` [\#94](https://github.com/babylonlabs-io/finality-provider/issues/94) -- Bump Babylon version [\#73](https://github.com/babylonlabs-io/finality-provider/issues/73) -- Contention for rpc-client lock [\#71](https://github.com/babylonlabs-io/finality-provider/issues/71) -- Manage validator instances within `ValidatorManager` [\#69](https://github.com/babylonlabs-io/finality-provider/issues/69) -- add-finality-signature: Return decoded transaction hash [\#68](https://github.com/babylonlabs-io/finality-provider/issues/68) -- Handle validators in separate Goroutines [\#64](https://github.com/babylonlabs-io/finality-provider/issues/64) -- Refactor DB [\#63](https://github.com/babylonlabs-io/finality-provider/issues/63) -- The chain poller may infinitely retry to get initial latest height [\#62](https://github.com/babylonlabs-io/finality-provider/issues/62) -- The chain poller will not work when there is more than one consumer [\#61](https://github.com/babylonlabs-io/finality-provider/issues/61) -- Validators should use their own Babylon account to submit txs to Babylon [\#58](https://github.com/babylonlabs-io/finality-provider/issues/58) -- Catchup mechanism [\#56](https://github.com/babylonlabs-io/finality-provider/issues/56) -- Finality sig lagging due to sequential sending of public randomness [\#54](https://github.com/babylonlabs-io/finality-provider/issues/54) -- Follow Babylon's height instead of maintaining relative height [\#47](https://github.com/babylonlabs-io/finality-provider/issues/47) -- Replace lens client with a rpc client that supports async broadcast mode [\#37](https://github.com/babylonlabs-io/finality-provider/issues/37) -- Poller starts from a higher height [\#36](https://github.com/babylonlabs-io/finality-provider/issues/36) -- Batching voting messages [\#35](https://github.com/babylonlabs-io/finality-provider/issues/35) -- Improvement of error handling [\#34](https://github.com/babylonlabs-io/finality-provider/issues/34) - -**Merged pull requests:** - -- chore: Remove dependency on covenant-emulator [\#212](https://github.com/babylonlabs-io/finality-provider/pull/212) ([gitferry](https://github.com/gitferry)) -- chore: Upgrade bbn to 0.8.0-rc.0 [\#211](https://github.com/babylonlabs-io/finality-provider/pull/211) ([vitsalis](https://github.com/vitsalis)) -- chore: Remove private repo thingy [\#210](https://github.com/babylonlabs-io/finality-provider/pull/210) ([gitferry](https://github.com/gitferry)) -- chore: Add account address in the output of `keys add` [\#205](https://github.com/babylonlabs-io/finality-provider/pull/205) ([gitferry](https://github.com/gitferry)) -- chore: Bump public dependency [\#204](https://github.com/babylonlabs-io/finality-provider/pull/204) ([gitferry](https://github.com/gitferry)) -- chore: Ensure all the Babylon queries are using rpc-client [\#203](https://github.com/babylonlabs-io/finality-provider/pull/203) ([gitferry](https://github.com/gitferry)) -- fix: Add BLS flags in make [\#202](https://github.com/babylonlabs-io/finality-provider/pull/202) ([gusin13](https://github.com/gusin13)) -- fix: Slashing finality-provider caused program panicking [\#201](https://github.com/babylonlabs-io/finality-provider/pull/201) ([gitferry](https://github.com/gitferry)) -- chore: Remove global flag [\#198](https://github.com/babylonlabs-io/finality-provider/pull/198) ([gitferry](https://github.com/gitferry)) -- chore: Remove covenant legacy [\#195](https://github.com/babylonlabs-io/finality-provider/pull/195) ([gitferry](https://github.com/gitferry)) -- chore: Clean up cli usage [\#194](https://github.com/babylonlabs-io/finality-provider/pull/194) ([gitferry](https://github.com/gitferry)) -- chore: replace local last committed height with remote query [\#192](https://github.com/babylonlabs-io/finality-provider/pull/192) ([gitferry](https://github.com/gitferry)) -- chore: Bump Babylon version and add unbonding time validation [\#190](https://github.com/babylonlabs-io/finality-provider/pull/190) ([gitferry](https://github.com/gitferry)) -- chore: Improve output of finality provider [\#189](https://github.com/babylonlabs-io/finality-provider/pull/189) ([gitferry](https://github.com/gitferry)) -- chore: Add `start --all` for `fpd` [\#188](https://github.com/babylonlabs-io/finality-provider/pull/188) ([gitferry](https://github.com/gitferry)) -- chore: Add `key-name` flag back to `create-finality-provider` cmd [\#185](https://github.com/babylonlabs-io/finality-provider/pull/185) ([gitferry](https://github.com/gitferry)) -- chore: fix minor issues in the documentation [\#182](https://github.com/babylonlabs-io/finality-provider/pull/182) ([yangl1996](https://github.com/yangl1996)) -- feat: Add key management [\#181](https://github.com/babylonlabs-io/finality-provider/pull/181) ([gitferry](https://github.com/gitferry)) -- feat: Covenant handles pre-signed unbonding txs [\#180](https://github.com/babylonlabs-io/finality-provider/pull/180) ([vitsalis](https://github.com/vitsalis)) -- chore: Rename btc-validator to finality-provider [\#179](https://github.com/babylonlabs-io/finality-provider/pull/179) ([vitsalis](https://github.com/vitsalis)) -- docs: Combine docs into less pages, update overview, and finality renaming [\#178](https://github.com/babylonlabs-io/finality-provider/pull/178) ([vitsalis](https://github.com/vitsalis)) -- chore: Add configurable limit on running multiple validators [\#172](https://github.com/babylonlabs-io/finality-provider/pull/172) ([gitferry](https://github.com/gitferry)) -- feat: Refactor configuration and cli of programs [\#168](https://github.com/babylonlabs-io/finality-provider/pull/168) ([vitsalis](https://github.com/vitsalis)) -- feat: Use a single docker file [\#167](https://github.com/babylonlabs-io/finality-provider/pull/167) ([vitsalis](https://github.com/vitsalis)) -- fix: Do not perform conversions on the commission [\#166](https://github.com/babylonlabs-io/finality-provider/pull/166) ([vitsalis](https://github.com/vitsalis)) -- chore: Replace logrus with zap as logger [\#164](https://github.com/babylonlabs-io/finality-provider/pull/164) ([gitferry](https://github.com/gitferry)) -- feat: Refactor to separate validator operation to separate directory [\#161](https://github.com/babylonlabs-io/finality-provider/pull/161) ([vitsalis](https://github.com/vitsalis)) -- Fix make file [\#159](https://github.com/babylonlabs-io/finality-provider/pull/159) ([KonradStaniec](https://github.com/KonradStaniec)) -- CI: Push images for covenant [\#156](https://github.com/babylonlabs-io/finality-provider/pull/156) ([filippos47](https://github.com/filippos47)) -- docs: Improvements [\#152](https://github.com/babylonlabs-io/finality-provider/pull/152) ([gusin13](https://github.com/gusin13)) -- Chore: Bump Babylon version and use rpc-client to replace cosmos provider [\#149](https://github.com/babylonlabs-io/finality-provider/pull/149) ([gitferry](https://github.com/gitferry)) -- docs: Add documentation for EOTS and Validator daemons [\#147](https://github.com/babylonlabs-io/finality-provider/pull/147) ([gusin13](https://github.com/gusin13)) -- chore: Refactor validator app [\#146](https://github.com/babylonlabs-io/finality-provider/pull/146) ([gitferry](https://github.com/gitferry)) -- chore: Separate covenant functionalities into a different binary [\#144](https://github.com/babylonlabs-io/finality-provider/pull/144) ([gitferry](https://github.com/gitferry)) -- feat: Add support for file backend for keyrings [\#139](https://github.com/babylonlabs-io/finality-provider/pull/139) ([gitferry](https://github.com/gitferry)) -- chore: Add slashing address validation and rename Jury to Covenant [\#137](https://github.com/babylonlabs-io/finality-provider/pull/137) ([gitferry](https://github.com/gitferry)) -- chore: Generalize client controller [\#130](https://github.com/babylonlabs-io/finality-provider/pull/130) ([gitferry](https://github.com/gitferry)) -- chore: Bump babylon version to fix flaky issue in e2e tests [\#129](https://github.com/babylonlabs-io/finality-provider/pull/129) ([gitferry](https://github.com/gitferry)) -- Improve randomness management in the EOTS manager [\#128](https://github.com/babylonlabs-io/finality-provider/pull/128) ([gitferry](https://github.com/gitferry)) -- CI: Build/push images for eotsmanager [\#127](https://github.com/babylonlabs-io/finality-provider/pull/127) ([filippos47](https://github.com/filippos47)) -- chore: Remove chain-id in creating key [\#125](https://github.com/babylonlabs-io/finality-provider/pull/125) ([gitferry](https://github.com/gitferry)) -- chore: Add docker file to EOTS manager [\#124](https://github.com/babylonlabs-io/finality-provider/pull/124) ([gitferry](https://github.com/gitferry)) -- chore: Add e2e tests for EOTS manager server [\#123](https://github.com/babylonlabs-io/finality-provider/pull/123) ([gitferry](https://github.com/gitferry)) -- Fix: bug when a validator is registered using rpc [\#119](https://github.com/babylonlabs-io/finality-provider/pull/119) ([gitferry](https://github.com/gitferry)) -- chore: Bump babylon version [\#117](https://github.com/babylonlabs-io/finality-provider/pull/117) ([gitferry](https://github.com/gitferry)) -- feat: Add remote eots manager [\#116](https://github.com/babylonlabs-io/finality-provider/pull/116) ([gitferry](https://github.com/gitferry)) -- Integrate EOTS manager [\#115](https://github.com/babylonlabs-io/finality-provider/pull/115) ([gitferry](https://github.com/gitferry)) -- chore: Modularize EOTS manager [\#112](https://github.com/babylonlabs-io/finality-provider/pull/112) ([gitferry](https://github.com/gitferry)) -- feat: Add periodic status update to managed validators [\#110](https://github.com/babylonlabs-io/finality-provider/pull/110) ([gitferry](https://github.com/gitferry)) -- feat: Add commission as cli flag [\#109](https://github.com/babylonlabs-io/finality-provider/pull/109) ([gitferry](https://github.com/gitferry)) -- chore: Fix indefinite loop bug while fast sync [\#108](https://github.com/babylonlabs-io/finality-provider/pull/108) ([gitferry](https://github.com/gitferry)) -- chore: Add proper termination upon critical error [\#103](https://github.com/babylonlabs-io/finality-provider/pull/103) ([gitferry](https://github.com/gitferry)) -- chore: Fix issues before panicking and after restart [\#102](https://github.com/babylonlabs-io/finality-provider/pull/102) ([gitferry](https://github.com/gitferry)) -- chore: Fix panic situation when the latest block is not queried [\#101](https://github.com/babylonlabs-io/finality-provider/pull/101) ([gitferry](https://github.com/gitferry)) -- feat: Add cli flags for description [\#100](https://github.com/babylonlabs-io/finality-provider/pull/100) ([gitferry](https://github.com/gitferry)) -- chore: Update BBN version [\#97](https://github.com/babylonlabs-io/finality-provider/pull/97) ([vitsalis](https://github.com/vitsalis)) -- chore: Separate submission loop [\#93](https://github.com/babylonlabs-io/finality-provider/pull/93) ([gitferry](https://github.com/gitferry)) -- chore: Replace retriable error list with unrecoverable one [\#92](https://github.com/babylonlabs-io/finality-provider/pull/92) ([gitferry](https://github.com/gitferry)) -- Jury unbonding sigs submission [\#91](https://github.com/babylonlabs-io/finality-provider/pull/91) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add fast sync mechanism [\#90](https://github.com/babylonlabs-io/finality-provider/pull/90) ([gitferry](https://github.com/gitferry)) -- Validator ubtx sig [\#89](https://github.com/babylonlabs-io/finality-provider/pull/89) ([KonradStaniec](https://github.com/KonradStaniec)) -- Bump babylon version and update methods [\#88](https://github.com/babylonlabs-io/finality-provider/pull/88) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Add client support to arbitrary consumer chain [\#87](https://github.com/babylonlabs-io/finality-provider/pull/87) ([gitferry](https://github.com/gitferry)) -- fix: Add key file lock to fix the concurrency issue in submission [\#86](https://github.com/babylonlabs-io/finality-provider/pull/86) ([gitferry](https://github.com/gitferry)) -- chore: terminate goroutine with err instead of crashing the entire program [\#85](https://github.com/babylonlabs-io/finality-provider/pull/85) ([gitferry](https://github.com/gitferry)) -- chore: Bump Cosmos relayer version [\#82](https://github.com/babylonlabs-io/finality-provider/pull/82) ([gitferry](https://github.com/gitferry)) -- fix: `uint64` type error when checking commitment gap [\#81](https://github.com/babylonlabs-io/finality-provider/pull/81) ([gitferry](https://github.com/gitferry)) -- chore: Adds `reliableSendMsg` with retriable error list and expected error list [\#80](https://github.com/babylonlabs-io/finality-provider/pull/80) ([gitferry](https://github.com/gitferry)) -- chore: Proper handling err in submitting finality signature [\#79](https://github.com/babylonlabs-io/finality-provider/pull/79) ([gitferry](https://github.com/gitferry)) -- chore: Bump Babylon version and fixed bugs in performing the double-signing attack [\#76](https://github.com/babylonlabs-io/finality-provider/pull/76) ([gitferry](https://github.com/gitferry)) -- chore: Fix tx hash format [\#75](https://github.com/babylonlabs-io/finality-provider/pull/75) ([gitferry](https://github.com/gitferry)) -- chore: Refactor managing of validators [\#74](https://github.com/babylonlabs-io/finality-provider/pull/74) ([gitferry](https://github.com/gitferry)) -- feat: Handle validators different goroutines [\#67](https://github.com/babylonlabs-io/finality-provider/pull/67) ([gitferry](https://github.com/gitferry)) -- chore: Fix error handling of committing public randomness [\#66](https://github.com/babylonlabs-io/finality-provider/pull/66) ([gitferry](https://github.com/gitferry)) -- chore: fixing the handling equivocated votes [\#65](https://github.com/babylonlabs-io/finality-provider/pull/65) ([SebastianElvis](https://github.com/SebastianElvis)) -- feat: Concurrent commitment of public randomness [\#55](https://github.com/babylonlabs-io/finality-provider/pull/55) ([gitferry](https://github.com/gitferry)) -- nit: Bump Babylon and update corresponding requests [\#53](https://github.com/babylonlabs-io/finality-provider/pull/53) ([vitsalis](https://github.com/vitsalis)) -- feat: Add `validator-info` daemon cmd to show the information of a validator [\#52](https://github.com/babylonlabs-io/finality-provider/pull/52) ([gitferry](https://github.com/gitferry)) -- fix: Remove pointer from StaticChainScanningStartHeight [\#50](https://github.com/babylonlabs-io/finality-provider/pull/50) ([vitsalis](https://github.com/vitsalis)) -- feat: Add option to automatically calculate the starting height [\#48](https://github.com/babylonlabs-io/finality-provider/pull/48) ([vitsalis](https://github.com/vitsalis)) -- nit: Add error message for failed queries [\#46](https://github.com/babylonlabs-io/finality-provider/pull/46) ([vitsalis](https://github.com/vitsalis)) -- Add add-finality-sig cmd [\#45](https://github.com/babylonlabs-io/finality-provider/pull/45) ([gitferry](https://github.com/gitferry)) -- Add concurrent sends of finality sigs [\#44](https://github.com/babylonlabs-io/finality-provider/pull/44) ([KonradStaniec](https://github.com/KonradStaniec)) -- Fix closing of validator App [\#43](https://github.com/babylonlabs-io/finality-provider/pull/43) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Add e2e tests about finality sig [\#42](https://github.com/babylonlabs-io/finality-provider/pull/42) ([gitferry](https://github.com/gitferry)) -- CI: Build and push images to ECR [\#41](https://github.com/babylonlabs-io/finality-provider/pull/41) ([filippos47](https://github.com/filippos47)) -- Change rpc client [\#40](https://github.com/babylonlabs-io/finality-provider/pull/40) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: Refactor e2e tests and add tests about jury sig [\#39](https://github.com/babylonlabs-io/finality-provider/pull/39) ([gitferry](https://github.com/gitferry)) -- Add finality signature signing and submission [\#33](https://github.com/babylonlabs-io/finality-provider/pull/33) ([gitferry](https://github.com/gitferry)) -- nit: Output jury PK hex of Babylon BIP340Pk type [\#32](https://github.com/babylonlabs-io/finality-provider/pull/32) ([vitsalis](https://github.com/vitsalis)) -- Add Jury sig submission into the main event loop [\#31](https://github.com/babylonlabs-io/finality-provider/pull/31) ([gitferry](https://github.com/gitferry)) -- Add CommitPubRand into event loop [\#30](https://github.com/babylonlabs-io/finality-provider/pull/30) ([gitferry](https://github.com/gitferry)) -- chore: fix typo in create validator cmd [\#29](https://github.com/babylonlabs-io/finality-provider/pull/29) ([SebastianElvis](https://github.com/SebastianElvis)) -- Work on registration [\#28](https://github.com/babylonlabs-io/finality-provider/pull/28) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: register-validator command accepts key name instead of pk [\#27](https://github.com/babylonlabs-io/finality-provider/pull/27) ([vitsalis](https://github.com/vitsalis)) -- nit: Move daemon commands under dn subcommand [\#26](https://github.com/babylonlabs-io/finality-provider/pull/26) ([vitsalis](https://github.com/vitsalis)) -- fix: Proper usage message for daemon create-validator [\#25](https://github.com/babylonlabs-io/finality-provider/pull/25) ([vitsalis](https://github.com/vitsalis)) -- fix: Use the keyring directory from the Babylon configuration [\#24](https://github.com/babylonlabs-io/finality-provider/pull/24) ([vitsalis](https://github.com/vitsalis)) -- Add Jury mode and Jury sig submission [\#23](https://github.com/babylonlabs-io/finality-provider/pull/23) ([gitferry](https://github.com/gitferry)) -- chore: fix codec for new modules [\#22](https://github.com/babylonlabs-io/finality-provider/pull/22) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: moving the db functionality in valcli to daemon subcommand [\#21](https://github.com/babylonlabs-io/finality-provider/pull/21) ([SebastianElvis](https://github.com/SebastianElvis)) -- chore: Change pkbytes to hex in register-validator cmd [\#20](https://github.com/babylonlabs-io/finality-provider/pull/20) ([gitferry](https://github.com/gitferry)) -- chore: Capitalize cmd and flag usage sentences and change BTC to Bitcoin in text [\#19](https://github.com/babylonlabs-io/finality-provider/pull/19) ([gitferry](https://github.com/gitferry)) -- Initial event loop [\#18](https://github.com/babylonlabs-io/finality-provider/pull/18) ([KonradStaniec](https://github.com/KonradStaniec)) -- feat: Add dump config command and use `vald` everywhere [\#15](https://github.com/babylonlabs-io/finality-provider/pull/15) ([vitsalis](https://github.com/vitsalis)) -- feat: Proto generation with buf, Babylon config file, and minor nitpicks [\#14](https://github.com/babylonlabs-io/finality-provider/pull/14) ([vitsalis](https://github.com/vitsalis)) -- Add initial poller implementation [\#13](https://github.com/babylonlabs-io/finality-provider/pull/13) ([KonradStaniec](https://github.com/KonradStaniec)) -- chore: fix typo in cli arguments [\#12](https://github.com/babylonlabs-io/finality-provider/pull/12) ([SebastianElvis](https://github.com/SebastianElvis)) -- Add commit randomness [\#11](https://github.com/babylonlabs-io/finality-provider/pull/11) ([gitferry](https://github.com/gitferry)) -- Add integration test setup [\#10](https://github.com/babylonlabs-io/finality-provider/pull/10) ([KonradStaniec](https://github.com/KonradStaniec)) -- Add docker file [\#9](https://github.com/babylonlabs-io/finality-provider/pull/9) ([gitferry](https://github.com/gitferry)) -- Add babylon client controller [\#8](https://github.com/babylonlabs-io/finality-provider/pull/8) ([gitferry](https://github.com/gitferry)) -- Add register validator rpc [\#7](https://github.com/babylonlabs-io/finality-provider/pull/7) ([gitferry](https://github.com/gitferry)) -- Add babylon client interfaces [\#6](https://github.com/babylonlabs-io/finality-provider/pull/6) ([gitferry](https://github.com/gitferry)) -- Add keyring [\#5](https://github.com/babylonlabs-io/finality-provider/pull/5) ([gitferry](https://github.com/gitferry)) -- Setup validator daemon [\#4](https://github.com/babylonlabs-io/finality-provider/pull/4) ([gitferry](https://github.com/gitferry)) -- Add save validator to db and list validators from db [\#3](https://github.com/babylonlabs-io/finality-provider/pull/3) ([gitferry](https://github.com/gitferry)) -- Add create-validator command and KV store [\#2](https://github.com/babylonlabs-io/finality-provider/pull/2) ([gitferry](https://github.com/gitferry)) -- Add project skeleton [\#1](https://github.com/babylonlabs-io/finality-provider/pull/1) ([gitferry](https://github.com/gitferry)) - - - -\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*