Skip to content

Commit

Permalink
fix: compatible with json since init genesis uses json instead of pro…
Browse files Browse the repository at this point in the history
…to bytes decodec
  • Loading branch information
RafilxTenfen committed Aug 30, 2024
1 parent 558f5fe commit abd5f22
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 67 deletions.
4 changes: 2 additions & 2 deletions proto/babylon/btcstaking/v1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ message Params {
// multisignature
uint32 covenant_quorum = 2;
// slashing address deprecated field in favor of slashing_pk_script.
string deprecated_slashing_address = 3 [deprecated=true];
string slashing_address = 3 [deprecated=true];
// min_slashing_tx_fee_sat is the minimum amount of tx fee (quantified
// in Satoshi) needed for the pre-signed slashing tx. It covers both:
// staking slashing transaction and unbonding slashing transaction
Expand Down Expand Up @@ -47,7 +47,7 @@ message Params {
];

// min_unbonding_rate deprecated in favor of unbonding_fee_sat
string deprecated_min_unbonding_rate = 9 [deprecated=true];
string min_unbonding_rate = 9 [deprecated=true];

// min_staking_value_sat is the minimum of satoshis locked in staking output
int64 min_staking_value_sat = 10;
Expand Down
128 changes: 63 additions & 65 deletions x/btcstaking/types/params.pb.go

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

0 comments on commit abd5f22

Please sign in to comment.