Bedrock Differences
Quick Appendix
- System transactions (L1 attributes deposited transaction)
- User-deposited transactions (deposited transactions generated by the L2 chain derivation process)
The EVM
Bedrock will produce new blocks every 2 seconds.
ย
The following changes to the EVM are examined:
TIMESTAMP
โ returns the timestamp of the block (updates every 2 seconds).
BLOCKNUMBER
โ returns an actual block number (updates every 2 seconds)- The one-to-one mapping between blocks and transactions will no longer apply.
ย
Bedrock introduces the concept of system transactions.
System transactions are created by the
op-node
, and are used to execute deposits and update the L2 view of L1.ย
- Every block contains at least 1 system transaction called the L1 attributes deposited transaction.
- Some blocks contain 1 or more user-deposited transactions.
- All system transactions have an EIP-2718-compatible transaction type (
0x7E
).
- All system transactions are unsigned, and set their
v
,r
, ands
fields tonull
.
EIP-1559
As part of Bedrock, the network now supports EIP-1559.
ย
Some differences between EIP-1559 in Optimism:
- ETH is not burned (ETH on L2 would only lock it in the bridge forever).
- EIP-1559 parameters have different values (values to be set are not finalised yet).
ย
ย
ย