ComposableFi/composable-ibc

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

vmarkushin opened this issue · 0 comments

Use env.block.time - consensus_state.timestamp together with expired function of the client
Code:

Ok(_) => to_binary(&QueryResponse::status("Active".to_string())),