-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
data updateAdd or modify data fetched for chainsAdd or modify data fetched for chains
Description
Initial ideas below
Block Times
Fetch the latest block number, and fetch the latest n
blocks.
- If block time deltas are the same, assume that delta is a constant block time.
- If block times are the same mod x, assume x is the block time (e.g. some blocks may have been missed, like on mainnet)
- If block times vary, take the median value.
- For some chains the JSON files will change every time
bun fetch-data
is run. We will need to add handling for this expected difference to avoid the hourly CI checks from constantly reporting diffs.
Gas Limits and Targets
For OP Stack chains we can get the gas limit from the L1 SystemConfig contract, but there's no way to automatically discover that contract address without adding it as an additional input. Unsure how to do this for other chains.
Metadata
Metadata
Assignees
Labels
data updateAdd or modify data fetched for chainsAdd or modify data fetched for chains