optimism
optimism copied to clipboard
Action test asserting EIP-2935 is used to speed up canonical block queries
The interop program depends on EIP-2935 to speed up historical block queries. These queries are made when an executing message references a prior block during the consolidation step.
While the historical query is bounded by the 24 day expiry window, it's still a lot of blocks to sift through to satisfy a query. With EIP-2935, we can drastically reduce the search and ensure that the program execution in the fpvm completes in a reasonable amount of time. The op-program already has unit tests asserting that EIP-2935 is utilized to speed up historical queries, but we lack such coverage for Kona. We should write an action test for this case to cover both.