Add Electra fork boilerplate (#5122)

* Add Electra fork boilerplate

* Remove electra from spec tests

* Fix tests

* Remove sneaky log file

* Fix more tests

* Fix even more tests and add suggestions

* Remove unrelated lcli addition

* Update more tests

* Merge branch 'unstable' into electra

* Add comment for test-suite lcli override

* Merge branch 'unstable' into electra

* Cleanup

* Merge branch 'unstable' into electra

* Apply suggestions

* Merge branch 'unstable' into electra

* Merge sigp/unstable into electra

* Merge branch 'unstable' into electra
This commit is contained in:
Mac L
2024-04-02 23:35:02 +11:00
committed by GitHub
parent 3058b96f25
commit f8fdb71f50
105 changed files with 2079 additions and 405 deletions

View File

@@ -433,7 +433,7 @@ fn main() {
.takes_value(true)
.default_value("bellatrix")
.help("The fork for which the execution payload header should be created.")
.possible_values(&["merge", "bellatrix", "capella", "deneb"])
.possible_values(&["merge", "bellatrix", "capella", "deneb", "electra"])
)
)
.subcommand(
@@ -597,7 +597,7 @@ fn main() {
.value_name("EPOCH")
.takes_value(true)
.help(
"The epoch at which to enable the Merge hard fork",
"The epoch at which to enable the Bellatrix hard fork",
),
)
.arg(
@@ -615,7 +615,16 @@ fn main() {
.value_name("EPOCH")
.takes_value(true)
.help(
"The epoch at which to enable the deneb hard fork",
"The epoch at which to enable the Deneb hard fork",
),
)
.arg(
Arg::with_name("electra-fork-epoch")
.long("electra-fork-epoch")
.value_name("EPOCH")
.takes_value(true)
.help(
"The epoch at which to enable the Electra hard fork",
),
)
.arg(
@@ -946,6 +955,14 @@ fn main() {
.help("The payload timestamp that enables Cancun. No default is provided \
until Cancun is triggered on mainnet.")
)
.arg(
Arg::with_name("prague-time")
.long("prague-time")
.value_name("UNIX_TIMESTAMP")
.takes_value(true)
.help("The payload timestamp that enables Prague. No default is provided \
until Prague is triggered on mainnet.")
)
)
.get_matches();