Differences between Ethereum and Base
Base is built on the Bedrock release of the OP Stack, which is designed from the ground up to be as close to Ethereum as possible. Because of this, there are very little differences when it comes to building on Base and Ethereum.
However, there are still some minor discrepancies between the behavior of Base and Ethereum that you should be aware of when building apps on top of Base.
These minor differences include:
Aside from the above, Base Mainnet does not yet support the new
PUSH0 opcode introduced in Shanghai, which is the default target for the Solidity compiler if you use version
0.8.20 or later.
We recommend using
0.8.19 or lower until this is upgraded.
The update has been deployed to Base Goerli and Base Sepolia.