Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
f2b54baf
Unverified
Commit
f2b54baf
authored
Dec 22, 2023
by
protolambda
Committed by
GitHub
Dec 22, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8744 from danyalprout/update-l1-block-info
Update l1 block info
parents
5358d75d
40f5c750
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
deposits.md
specs/deposits.md
+9
-6
derivation.md
specs/derivation.md
+5
-5
No files found.
specs/deposits.md
View file @
f2b54baf
...
...
@@ -349,13 +349,16 @@ the genesis file will be located in the `deployedBytecode` field of the build ar
#### 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 upgrade.
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.
-
`scalar`
: this getter function now reverts (TBD). Storage remains the same.
-
`x`
(TBD): base-fee component scalar
-
`y`
(TBD): DA-base-fee component scalar (blob base fee when operating with L1 DA)
-
`daBasefee`
: the DA-base-fee.
-
`blobBasefee`
(
`uint256`
): The L1 basefee for blob transactions.
-
`blobBasefeeScalar`
(
`uint256`
): The scalar value applied to the L1 blob base fee portion of the L1 cost.
-
`basefeeScalar`
(
`uint256`
): The scalar value applied to the L1 base fee portion of the L1 cost.
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
...
...
specs/derivation.md
View file @
f2b54baf
...
...
@@ -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:
-
`from`
:
`0x4210000000000000000000000000000000000000`
-
`to`
:
`null`
,
-
`to`
:
`null`
-
`mint`
:
`0`
-
`value`
:
`0`
-
`gasLimit`
:
`300,000`
(TBC)
...
...
@@ -1140,8 +1140,8 @@ A deposit transaction is derived with the following attributes:
- `
value
`: `
0
`
- `
gasLimit
`: `
1,000,000
` (TBC)
- `
data
`: `
0x22b90ab3
`
- `
sourceHash
`: `
0x
ee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
`,
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle
Proxy Update"
`
- `
sourceHash
`: `
0x
0c1cb38e99dbc9cbfab3bb80863380b0905290b37eb3d6ab18dc01c1f3e75f93
`,
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle
Set Ecotone"
Verify data:
...
...
@@ -1153,8 +1153,8 @@ cast sig "setEcotone()"
Verify
`sourceHash`
:
```
bash
cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002 $(cast keccak "Ecotone: Gas Price Oracle
Proxy Updat
e"))
# 0x
ee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
cast keccak
$(
cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002
$(
cast keccak
"Ecotone: Gas Price Oracle
Set Ecoton
e"
))
# 0x
0c1cb38e99dbc9cbfab3bb80863380b0905290b37eb3d6ab18dc01c1f3e75f93
```
##### Beacon block roots contract deployment (EIP-4788)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment