ComposableFi / composable-ibc

A trustless, cross-chain bridging protocol.
https://picasso.network
76 stars 50 forks source link

Correctly return `Expired` from `Status` query in ics10-grandpa-cw contract #447

Open vmarkushin opened 10 months ago

vmarkushin commented 10 months ago

Use env.block.time - consensus_state.timestamp together with expired function of the client Code: https://github.com/ComposableFi/composable-ibc/blob/02ce69e2843e7986febdcf795f69a757ce569272/light-clients/ics10-grandpa-cw/src/contract.rs#L354