(number: bigint, timestamp: bigint)
| 6 | import { getL2BlockNumberAtTimestamp } from './getL2BlockNumberAtTimestamp.js' |
| 7 | |
| 8 | function block(number: bigint, timestamp: bigint) { |
| 9 | return { |
| 10 | number: numberToHex(number), |
| 11 | timestamp: numberToHex(timestamp), |
| 12 | transactions: [], |
| 13 | } as unknown as RpcBlock |
| 14 | } |
| 15 | |
| 16 | function client({ |
| 17 | latest = block(100n, 200n), |
no test coverage detected