Commit 5e0f1f94 authored by Danyal Prout's avatar Danyal Prout

Update the Ecotone L1Block upgrade spec

parent 5358d75d
...@@ -349,13 +349,16 @@ the genesis file will be located in the `deployedBytecode` field of the build ar ...@@ -349,13 +349,16 @@ the genesis file will be located in the `deployedBytecode` field of the build ar
#### Ecotone L1Block upgrade #### Ecotone L1Block upgrade
The L1 Attributes Predeployed contract, `L1Block.sol`, is upgraded in the Ecotone upgrade. The L1 Attributes Predeployed contract, `L1Block.sol`, is upgraded as part of the Ecotone hardfork.
The version is incremented to `1.2.0` and several new storage slots are used for:
- `overhead`: this getter function now reverts (TBD). Storage remains the same. - `blobBasefee` (`uint256`): The L1 basefee for blob transactions.
- `scalar`: this getter function now reverts (TBD). Storage remains the same. - `blobBasefeeScalar` (`uint256`): The scalar value applied to the L1 blob base fee portion of the L1 cost.
- `x` (TBD): base-fee component scalar - `basefeeScalar` (`uint256`): The scalar value applied to the L1 base fee portion of the L1 cost.
- `y` (TBD): DA-base-fee component scalar (blob base fee when operating with L1 DA)
- `daBasefee`: the DA-base-fee. Additionally, the `setL1BlockValues` function is deprecated and replaced with `setL1BlockValuesEcotone`.
`setL1BlockValuesEcotone` uses packed encoding for its parameters, which is described in
[L1 Attributes Deposited Transaction Calldata](#l1-attributes-deposited-transaction-calldata)
## User-Deposited Transactions ## User-Deposited Transactions
......
...@@ -1016,7 +1016,7 @@ The `L1Block` contract is upgraded to process the new Ecotone L1-data-fee parame ...@@ -1016,7 +1016,7 @@ The `L1Block` contract is upgraded to process the new Ecotone L1-data-fee parame
A deposit transaction is derived with the following attributes: A deposit transaction is derived with the following attributes:
- `from`: `0x4210000000000000000000000000000000000000` - `from`: `0x4210000000000000000000000000000000000000`
- `to`: `null`, - `to`: `null`
- `mint`: `0` - `mint`: `0`
- `value`: `0` - `value`: `0`
- `gasLimit`: `300,000` (TBC) - `gasLimit`: `300,000` (TBC)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment