-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Predeploys | ||
|
||
<!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
**Table of Contents** | ||
|
||
- [GasPriceOracle](#gaspriceoracle) | ||
- [L1 Gas Usage Estimation](#l1-gas-usage-estimation) | ||
|
||
<!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
|
||
## Changes on Predeploys | ||
|
||
### L1Block | ||
|
||
Following the Kroma MPT upgrade, the calldata to set values in the `L1Block` predeploy is updated to | ||
exclude the `validatorRewardScalar`. Now the calldata is as follows: | ||
|
||
``` | ||
baseFeeScalar ++ blobBaseFeeScalar ++ sequenceNumber ++ timestamp ++ blockNumber ++ baseFee ++ blobBaseFee ++ blockHash ++ batcherHash | ||
``` | ||
|
||
Also, the address of `L1Block` is changed from `0x4200000000000000000000000000000000000002` to | ||
`0x4200000000000000000000000000000000000015`. The original address is now deprecated and not used after the Kroma MPT | ||
hard fork. | ||
|
||
### L1FeeVault | ||
|
||
The address of `L1FeeVault` is changed from `0x4200000000000000000000000000000000000007` to | ||
`0x420000000000000000000000000000000000001a`. The original address is now deprecated and not used after the Kroma MPT | ||
hard fork. | ||
|
||
### ProtocolVault | ||
|
||
The `ProtocolVault` is now deprecated and not used after the Kroma MPT hard fork. | ||
|
||
### SequencerFeeVault | ||
|
||
The new predeploy `SequencerFeeVault` is introduced with the address `0x4200000000000000000000000000000000000011` after | ||
the Kroma MPT hard fork. | ||
|
||
### BaseFeeVault | ||
|
||
The new predeploy `BaseFeeVault` is introduced with the address `0x4200000000000000000000000000000000000019` after | ||
the Kroma MPT hard fork. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters