
Where a layer 2 transaction lives
Ethereum’s own blocks aim at about 30 million gas of work every twelve seconds and can hold up to 60 million, and demand for that space is what sets the base fee from lesson 2. Layer 2 networks, mostly rollups, take the work elsewhere.
ethereum.org on optimistic rollups: they “execute transactions outside of Ethereum, but post transaction data to Mainnet.” Your swap runs on the rollup’s own computers; the record of it is posted back to Ethereum in batches.
That posting is the point. Because the data is on Ethereum, anyone can rebuild the rollup’s state from it, and the rollup’s contracts on Ethereum hold the deposits.

Continue with The Crossover Pro
The rest of this story, plus two paid editions a week. $24.99 a month, or $249 a year. Already a member? Sign in above.
Subscribe to Pro