mev-commit
mev-commit copied to clipboard
Oracle: use WS instead of HTTP to get L1 blocks
Currently, we are using a ticker to get new L1 blocks using an HTTP connection. It's not efficient and could confuse people, who are relying on 12s block timeframe.
Instead, we could subscribe to the headers: https://goethereumbook.org/block-subscribe/