babylonlabs-io / babylon-contract

CosmWasm smart contracts for Babylon integration
Other
10 stars 6 forks source link

EPIC: Add full validations #7

Open maurolacy opened 3 months ago

maurolacy commented 3 months ago

@maurolacy cloned issue babylonchain/babylon-contract#84 on 2024-05-03:

After basic validations (#82), let's complete the validation logic after the original Go code.

Related to #82. Also, likely requires #76.

SebastianElvis commented 2 months ago

After #46 and #56, most of the reality checks are done (feature flag for lite/full version, correctness of BTC staking library, etc..).

The following includes the missing verification rules. Those will be picked up later.

Finality provider registration request

BTC delegation request

BTC undelegation request

Slashed BTC delegation