mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 05:44:44 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user