@@ -509,33 +509,33 @@ func (c *ChainConfig) Description() string {
509
509
// makes sense for mainnet should be optional at printing to avoid bloating
510
510
// the output for testnets and private networks.
511
511
banner += "Pre-Merge hard forks (block based):\n "
512
- banner += fmt .Sprintf (" - Homestead: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ homestead.md )\n " , c .HomesteadBlock )
512
+ banner += fmt .Sprintf (" - Homestead: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ homestead/__init__.py.html )\n " , c .HomesteadBlock )
513
513
if c .DAOForkBlock != nil {
514
- banner += fmt .Sprintf (" - DAO Fork: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/dao-fork.md )\n " , c .DAOForkBlock )
515
- }
516
- banner += fmt .Sprintf (" - Tangerine Whistle (EIP 150): #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/tangerine-whistle.md )\n " , c .EIP150Block )
517
- banner += fmt .Sprintf (" - Spurious Dragon/1 (EIP 155): #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md )\n " , c .EIP155Block )
518
- banner += fmt .Sprintf (" - Spurious Dragon/2 (EIP 158): #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/spurious-dragon.md )\n " , c .EIP155Block )
519
- banner += fmt .Sprintf (" - Byzantium: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ byzantium.md )\n " , c .ByzantiumBlock )
520
- banner += fmt .Sprintf (" - Constantinople: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ constantinople.md )\n " , c .ConstantinopleBlock )
521
- banner += fmt .Sprintf (" - Petersburg: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/petersburg.md )\n " , c .PetersburgBlock )
522
- banner += fmt .Sprintf (" - Istanbul: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ istanbul.md )\n " , c .IstanbulBlock )
514
+ banner += fmt .Sprintf (" - DAO Fork: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/dao_fork/__init__.py.html )\n " , c .DAOForkBlock )
515
+ }
516
+ banner += fmt .Sprintf (" - Tangerine Whistle (EIP 150): #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/tangerine_whistle/__init__.py.html )\n " , c .EIP150Block )
517
+ banner += fmt .Sprintf (" - Spurious Dragon/1 (EIP 155): #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/spurious_dragon/__init__.py.html )\n " , c .EIP155Block )
518
+ banner += fmt .Sprintf (" - Spurious Dragon/2 (EIP 158): #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/spurious_dragon/__init__.py.html )\n " , c .EIP155Block )
519
+ banner += fmt .Sprintf (" - Byzantium: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ byzantium/__init__.py.html )\n " , c .ByzantiumBlock )
520
+ banner += fmt .Sprintf (" - Constantinople: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ constantinople/__init__.py.html )\n " , c .ConstantinopleBlock )
521
+ banner += fmt .Sprintf (" - Petersburg: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/constantinople/__init__.py.html )\n " , c .PetersburgBlock )
522
+ banner += fmt .Sprintf (" - Istanbul: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ istanbul/__init__.py.html )\n " , c .IstanbulBlock )
523
523
if c .MuirGlacierBlock != nil {
524
- banner += fmt .Sprintf (" - Muir Glacier: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/muir-glacier.md )\n " , c .MuirGlacierBlock )
524
+ banner += fmt .Sprintf (" - Muir Glacier: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/muir_glacier/__init__.py.html )\n " , c .MuirGlacierBlock )
525
525
}
526
- banner += fmt .Sprintf (" - Berlin: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ berlin.md )\n " , c .BerlinBlock )
527
- banner += fmt .Sprintf (" - London: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ london.md )\n " , c .LondonBlock )
526
+ banner += fmt .Sprintf (" - Berlin: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ berlin/__init__.py.html )\n " , c .BerlinBlock )
527
+ banner += fmt .Sprintf (" - London: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ london/__init__.py.html )\n " , c .LondonBlock )
528
528
if c .ArrowGlacierBlock != nil {
529
- banner += fmt .Sprintf (" - Arrow Glacier: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/arrow-glacier.md )\n " , c .ArrowGlacierBlock )
529
+ banner += fmt .Sprintf (" - Arrow Glacier: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/arrow_glacier/__init__.py.html )\n " , c .ArrowGlacierBlock )
530
530
}
531
531
if c .GrayGlacierBlock != nil {
532
- banner += fmt .Sprintf (" - Gray Glacier: #%-8v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/gray-glacier.md )\n " , c .GrayGlacierBlock )
532
+ banner += fmt .Sprintf (" - Gray Glacier: #%-8v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/gray_glacier/__init__.py.html )\n " , c .GrayGlacierBlock )
533
533
}
534
534
banner += "\n "
535
535
536
536
// Add a special section for the merge as it's non-obvious
537
537
banner += "Merge configured:\n "
538
- banner += " - Hard-fork specification: https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ paris.md \n "
538
+ banner += " - Hard-fork specification: https://ethereum. github.io/ execution-specs/src/ethereum/forks/ paris/__init__.py.html \n "
539
539
banner += " - Network known to be merged\n "
540
540
banner += fmt .Sprintf (" - Total terminal difficulty: %v\n " , c .TerminalTotalDifficulty )
541
541
if c .MergeNetsplitBlock != nil {
@@ -546,16 +546,16 @@ func (c *ChainConfig) Description() string {
546
546
// Create a list of forks post-merge
547
547
banner += "Post-Merge hard forks (timestamp based):\n "
548
548
if c .ShanghaiTime != nil {
549
- banner += fmt .Sprintf (" - Shanghai: @%-10v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ shanghai.md )\n " , * c .ShanghaiTime )
549
+ banner += fmt .Sprintf (" - Shanghai: @%-10v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ shanghai/__init__.py.html )\n " , * c .ShanghaiTime )
550
550
}
551
551
if c .CancunTime != nil {
552
- banner += fmt .Sprintf (" - Cancun: @%-10v (https://github.com/ethereum/ execution-specs/blob/master/network-upgrades/mainnet-upgrades/ cancun.md )\n " , * c .CancunTime )
552
+ banner += fmt .Sprintf (" - Cancun: @%-10v (https://ethereum. github.io/ execution-specs/src/ethereum/forks/ cancun/__init__.py.html )\n " , * c .CancunTime )
553
553
}
554
554
if c .PragueTime != nil {
555
- banner += fmt .Sprintf (" - Prague: @%-10v\n " , * c .PragueTime )
555
+ banner += fmt .Sprintf (" - Prague: @%-10v (https://ethereum.github.io/execution-specs/src/ethereum/forks/prague/__init__.py.html) \n " , * c .PragueTime )
556
556
}
557
557
if c .OsakaTime != nil {
558
- banner += fmt .Sprintf (" - Osaka: @%-10v\n " , * c .OsakaTime )
558
+ banner += fmt .Sprintf (" - Osaka: @%-10v (https://ethereum.github.io/execution-specs/src/ethereum/forks/osaka/__init__.py.html) \n " , * c .OsakaTime )
559
559
}
560
560
if c .VerkleTime != nil {
561
561
banner += fmt .Sprintf (" - Verkle: @%-10v\n " , * c .VerkleTime )
0 commit comments