babylonlabs-io / babylon

Other
24 stars 19 forks source link

`babylond testnet` doesn't set minimum unbonding time #302

Open filippos47 opened 4 days ago

filippos47 commented 4 days ago

Summary of Bug

When creating a genesis file with babylond testnet, the resulting genesis will have min_unbonding_time_blocks: 0.

This can break dev envs, as e.g., the covenant emulator expects the following:

2024-11-25T20:00:15.979969Z error   invalid unbonding time  {"min_unbonding_time": 2, "got_unbonding_time": 0}

Version

v0.17.0

KonradStaniec commented 4 days ago

caller can specify min-unbonding-time flag to set up custom value.

One note though: min-unbonding-time must always be larger than btc-finalization-timeout