pathfinder
pathfinder copied to clipboard
Introduce `L1BlockNumber` struct for Ethereum block numbers
Using BlockNumber
struct for L1 blocks as well as L2 blocks can cause confusion.
Given it’s just a wrapper around u64
, It wouldn’t hurt to have an L1BlockNumber
as well so Ethereum blocks are clearly distinguished from Starknet’s in both interfaces and logic.