Skip to content

Commit

Permalink
chore: Clean up unused cmd (#211)
Browse files Browse the repository at this point in the history
Closes #163. In particular:

- removed `fpd tx` command set but moved `NewWithdrawRewardCmd` and
`NewSetWithdrawAddressCmd` to the root
- removed default value of `--commission-rate` as it is a required flag
- removed rpc `SignMessageFromChainKey` and relevant functionalities
- removed `fpd export-finality-provider`
  • Loading branch information
gitferry authored Dec 10, 2024
1 parent c0600dc commit 0c0b494
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 589 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

* [#207](https://github.com/babylonlabs-io/finality-provider/pull/207) create finality provider from JSON file
* [#208](https://github.com/babylonlabs-io/finality-provider/pull/208) Remove sync fp status loop
* [#211](https://github.com/babylonlabs-io/finality-provider/pull/211) Clean up unused cmd

## v0.13.1

Expand Down
2 changes: 1 addition & 1 deletion eotsmanager/proto/signstore.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion finality-provider/cmd/fpd/daemon/daemon_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Where finality-provider.json contains:
f.String(sdkflags.FlagHome, fpcfg.DefaultFpdDir, "The application home directory")
f.String(chainIDFlag, "", "The identifier of the consumer chain")
f.String(passphraseFlag, "", "The pass phrase used to encrypt the keys")
f.String(commissionRateFlag, "0.05", "The commission rate for the finality provider, e.g., 0.05")
f.String(commissionRateFlag, "", "The commission rate for the finality provider, e.g., 0.05")
f.String(monikerFlag, "", "A human-readable name for the finality provider")
f.String(identityFlag, "", "An optional identity signature (ex. UPort or Keybase)")
f.String(websiteFlag, "", "An optional website link")
Expand Down
151 changes: 0 additions & 151 deletions finality-provider/cmd/fpd/daemon/export.go

This file was deleted.

121 changes: 0 additions & 121 deletions finality-provider/cmd/fpd/daemon/tx.go

This file was deleted.

Loading

0 comments on commit 0c0b494

Please sign in to comment.