aligned_layer icon indicating copy to clipboard operation
aligned_layer copied to clipboard

fix(batcher): Register last submitted batch block when batcher is initialized

Open PatStiles opened this issue 1 year ago • 0 comments

Upon initialization the batcher currently fetches the last block from an rpc node by invoking the getBlockNumber JSON-RPC call. Ideally we should register the last submitted batch block and reference it upon initialization.

ref: https://github.com/yetanotherco/aligned_layer/blob/staging/batcher/aligned-batcher/src/lib.rs#L254

PatStiles avatar Sep 13 '24 22:09 PatStiles