babylonlabs-io / babylon-contract

CosmWasm smart contracts for Babylon integration
Other
3 stars 0 forks source link

OP: improve `check_fp_exist()` to also check if the FP is slashed #24

Open maurolacy opened 1 month ago

maurolacy commented 1 month ago

@bap2pecs cloned issue babylonchain/babylon-contract#208 on 2024-07-09:

it's tricky b/c when we query the gRPC we get FinalityProviderResponse which only contain slashed_babylon_height and slashed_btc_height

but we only get the L2 block height in the function argument