mosaicdao / mosaic-1

Mosaic-1 : meta-blockchains on Ethereum 1.x
8 stars 12 forks source link

Gateways should expose view function to get remoteGatewayLastProvenBlockNumber #303

Open 0xsarvesh opened 4 years ago

0xsarvesh commented 4 years ago

As a Dapp like facilitator,

I should be able to fetch remote gateway last proven block number from gateways(EIP20Gateway, EIP20Cogateway, ConsensusGateway and ConsensusCogateway),

So that, I can make message transfer transactions.

abhayks1 commented 4 years ago

Ticket needs to be updated.

The method getLastProvenBlockNumber can be implemented in Proof.sol. This way we can avoid duplication of methods. Reference: https://github.com/mosaicdao/mosaic-1/pull/304#pullrequestreview-374825816

abhayks1 commented 4 years ago

I can't move the ticket to backlog :(