When --da.url is set, the downloader will use DAClient to download the blob from the DA server instead of using beacon chain API.
When EthStorage is deployed on L2, several assumptions are different:
Block Time: Block time is 2 seconds
Finalization Time: Finalized time is 12 hours on testnet, This requires keeping many blobs in memory without writing them into EthStorage files. If there are many blob uploads, this can cause out-of-memory issues. Additionally, this will affect mining because the data is not written into the file, and mining is based on the file data.
RPC Call: The eth_getBlockNumber RPC call will fail when using Geth's ethclient (op-geth's ethclient can handle it correctly), so we change it to use get header instead.
When --da.url is set, the downloader will use DAClient to download the blob from the DA server instead of using beacon chain API.
When EthStorage is deployed on L2, several assumptions are different: