babylonchain / finality-provider

A peripheral program run by the finality providers
Other
16 stars 28 forks source link

OP: QueryLatestFinalizedBlock and QueryIsBlockFinalized #498

Closed bap2pecs closed 2 months ago

bap2pecs commented 4 months ago

rn it queries the "finalized" L2 block via the L2 RPC https://www.quicknode.com/docs/ethereum/eth_getBlockByNumber

which allow you to specify either a block number or a special tag (e.g. "finalized")

If the connected l2 rpc client uses our new code, this task might already be considered complete

Then we just need to clean up the comments