(extraData: Hex)
| 73 | const endBlockHeight = block.number |
| 74 | |
| 75 | const parseExtra = (extraData: Hex) => { |
| 76 | if (/^0x[0-9a-fA-F]{16}$/.test(extraData)) { |
| 77 | return fromHex(extraData, 'bigint') |
| 78 | } |
| 79 | return undefined |
| 80 | } |
| 81 | const dumpFeeValues = (info: Awaited<ReturnType<typeof getNextBaseFee>>) => { |
| 82 | console.log( |
| 83 | `${info.block.number} baseFee=${info.block.baseFeePerGas}, gasUsed/limit=${info.block.gasUsed}/${info.block.gasLimit}, hash=${info.block.hash} |
no outgoing calls
no test coverage detected