Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: btc staking params retrocompatible #42

Prev Previous commit
Next Next commit
fix: compatibility version from v091
  • Loading branch information
RafilxTenfen committed Aug 30, 2024
commit 8e05f84fee46af9a66e2c6492450c2353a7c7a6c
11 changes: 6 additions & 5 deletions proto/babylon/btcstaking/v1/params.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,14 @@ message Params {
(gogoproto.customtype) = "cosmossdk.io/math.LegacyDec",
(gogoproto.nullable) = false
];
// min_unbonding_rate deprecated in favor of unbonding_fee_sat
string deprecated_min_unbonding_rate = 7 [deprecated=true];

// max_active_finality_providers is the maximum number of active finality providers in the BTC staking protocol
uint32 max_active_finality_providers = 8;
uint32 max_active_finality_providers = 7;

// min_unbonding_time is the minimum time for unbonding transaction timelock in BTC blocks
uint32 min_unbonding_time_blocks = 9;
uint32 min_unbonding_time_blocks = 8;

// min_unbonding_rate deprecated in favor of unbonding_fee_sat
string deprecated_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
187 changes: 93 additions & 94 deletions x/btcstaking/types/params.pb.go

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

Loading