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
a9e63852
Unverified
Commit
a9e63852
authored
Dec 20, 2023
by
Danyal Prout
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setEcotone transaction
parent
48d68378
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
5 deletions
+53
-5
derivation.md
specs/derivation.md
+53
-5
No files found.
specs/derivation.md
View file @
a9e63852
...
@@ -93,6 +93,7 @@
...
@@ -93,6 +93,7 @@
-
[
GasPriceOracle Deployment
](
#gaspriceoracle-deployment
)
-
[
GasPriceOracle Deployment
](
#gaspriceoracle-deployment
)
-
[
L1Block Proxy Update
](
#l1block-proxy-update
)
-
[
L1Block Proxy Update
](
#l1block-proxy-update
)
-
[
GasPriceOracle Proxy Update
](
#gaspriceoracle-proxy-update
)
-
[
GasPriceOracle Proxy Update
](
#gaspriceoracle-proxy-update
)
-
[
GasPriceOracle Enable Ecotone
](
#gaspriceoracle-enable-ecotone
)
-
[
Beacon block roots contract deployment (EIP-4788)
](
#beacon-block-roots-contract-deployment-eip-4788
)
-
[
Beacon block roots contract deployment (EIP-4788)
](
#beacon-block-roots-contract-deployment-eip-4788
)
-
[
Building Individual Payload Attributes
](
#building-individual-payload-attributes
)
-
[
Building Individual Payload Attributes
](
#building-individual-payload-attributes
)
...
@@ -1003,7 +1004,7 @@ The block before the Ecotone hardfork, contains the following transactions in th
...
@@ -1003,7 +1004,7 @@ The block before the Ecotone hardfork, contains the following transactions in th
-
GasPriceOracle deployment
-
GasPriceOracle deployment
-
L1Block proxy update
-
L1Block proxy update
-
GasPriceOracle proxy update
-
GasPriceOracle proxy update
-
GasPriceOracle
enable e
cotone
-
GasPriceOracle
Enable E
cotone
-
Beacon block roots contract deployment (EIP-4788)
-
Beacon block roots contract deployment (EIP-4788)
To not modify or interrupt the system behavior around gas computation, this block will not include any sequenced
To not modify or interrupt the system behavior around gas computation, this block will not include any sequenced
...
@@ -1050,7 +1051,7 @@ A deposit transaction is derived with the following attributes:
...
@@ -1050,7 +1051,7 @@ A deposit transaction is derived with the following attributes:
- `
value
`: `
0
`
- `
value
`: `
0
`
- `
gasLimit
`: `
1,000,000
` (TBC)
- `
gasLimit
`: `
1,000,000
` (TBC)
- `
data
`: GasPriceOracle deploy bytecode (TBC when PR for contracts is merged)
- `
data
`: GasPriceOracle deploy bytecode (TBC when PR for contracts is merged)
- `
sourceHash
`: `
0xa312b4510adf943510f05fcc8f15f86995a5066bd83ce11384688ae20e6ecf42
`
,
- `
sourceHash
`: `
0xa312b4510adf943510f05fcc8f15f86995a5066bd83ce11384688ae20e6ecf42
`
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle Deployment"
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle Deployment"
This results in the Ecotone GasPriceOracle contract being deployed to
`0xb528D11cC114E026F138fE568744c6D45ce6Da7A`
,
This results in the Ecotone GasPriceOracle contract being deployed to
`0xb528D11cC114E026F138fE568744c6D45ce6Da7A`
,
...
@@ -1079,10 +1080,19 @@ A deposit transaction is derived with the following attributes:
...
@@ -1079,10 +1080,19 @@ A deposit transaction is derived with the following attributes:
-
`mint`
:
`0`
-
`mint`
:
`0`
-
`value`
:
`0`
-
`value`
:
`0`
-
`gasLimit`
:
`1,000,000`
(TBC)
-
`gasLimit`
:
`1,000,000`
(TBC)
-
`data`
:
`
upgradeTo(0x07dbe8500fc591d1852B76feE44d5a05e13097Ff)
`
-
`data`
:
`
0x3659cfe600000000000000000000000007dbe8500fc591d1852b76fee44d5a05e13097ff
`
-
`sourceHash`
:
`0x18acb38c5ff1c238a7460ebc1b421fa49ec4874bdf1e0a530d234104e5e67dbc`
,
-
`sourceHash`
:
`0x18acb38c5ff1c238a7460ebc1b421fa49ec4874bdf1e0a530d234104e5e67dbc`
computed with the "Upgrade-deposited" type, with
`intent = "Ecotone: L1 Block Proxy Update"
computed with the "Upgrade-deposited" type, with
`intent = "Ecotone: L1 Block Proxy Update"
Verify data:
```bash
cast concat-hex $(cast sig "upgradeTo(address)") $(cast abi-encode "upgradeTo(address)" 0x07dbe8500fc591d1852B76feE44d5a05e13097Ff)
0x3659cfe600000000000000000000000007dbe8500fc591d1852b76fee44d5a05e13097ff
```
Verify `
sourceHash
`:
```bash
```bash
cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002 $(cast keccak "Ecotone: L1 Block Proxy Update"))
cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002 $(cast keccak "Ecotone: L1 Block Proxy Update"))
# 0x18acb38c5ff1c238a7460ebc1b421fa49ec4874bdf1e0a530d234104e5e67dbc
# 0x18acb38c5ff1c238a7460ebc1b421fa49ec4874bdf1e0a530d234104e5e67dbc
...
@@ -1099,10 +1109,48 @@ A deposit transaction is derived with the following attributes:
...
@@ -1099,10 +1109,48 @@ A deposit transaction is derived with the following attributes:
- `
mint
`: `
0
`
- `
mint
`: `
0
`
- `
value
`: `
0
`
- `
value
`: `
0
`
- `
gasLimit
`: `
1,000,000
` (TBC)
- `
gasLimit
`: `
1,000,000
` (TBC)
- `
data
`: `
upgradeTo(0xb528D11cC114E026F138fE568744c6D45ce6Da7A)
`
- `
data
`: `
0x3659cfe6000000000000000000000000b528d11cc114e026f138fe568744c6d45ce6da7a
`
- `
sourceHash
`: `
0xee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
`
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle Proxy Update"
`
Verify data:
```bash
cast concat-hex $(cast sig "upgradeTo(address)") $(cast abi-encode "upgradeTo(address)" 0xb528D11cC114E026F138fE568744c6D45ce6Da7A)
0x3659cfe6000000000000000000000000b528d11cc114e026f138fe568744c6d45ce6da7a
```
Verify `
sourceHash
`:
```bash
cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002 $(cast keccak "Ecotone: Gas Price Oracle Proxy Update"))
# 0xee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
```
##### GasPriceOracle Enable Ecotone
This transaction informs the GasPriceOracle to start using the Ecotone gas calculation formula.
A deposit transaction is derived with the following attributes:
- `
from
`: `
0xDeaDDEaDDeAdDeAdDEAdDEaddeAddEAdDEAd0001
` (Depositer Account)
- `
to
`: `
Gas Price Oracle Proxy
`,
- `
mint
`: `
0
`
- `
value
`: `
0
`
- `
gasLimit
`: `
1,000,000
` (TBC)
- `
data
`: `
0x22b90ab3
`
- `
sourceHash
`: `
0xee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
`,
- `
sourceHash
`: `
0xee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
`,
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle Proxy Update"
`
computed with the "Upgrade-deposited" type, with `
intent = "Ecotone: Gas Price Oracle Proxy Update"
`
Verify data:
```bash
cast sig "setEcotone()"
0x22b90ab3
```
Verify `
sourceHash
`:
```bash
```bash
cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002 $(cast keccak "Ecotone: Gas Price Oracle Proxy Update"))
cast keccak $(cast concat-hex 0x0000000000000000000000000000000000000000000000000000000000000002 $(cast keccak "Ecotone: Gas Price Oracle Proxy Update"))
# 0xee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
# 0xee4f9385eceef498af0be7ec5862229f426dec41c8d42397c7257a5117d9230a
...
...
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