Skip to content

Commit

Permalink
Updated mainnet configs
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeevDmitry committed Mar 13, 2024
1 parent 0ebd251 commit 4032333
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion beacon-chain/node/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func Test_hasNetworkFlag(t *testing.T) {
want: true,
},
{
name: "Mainnet",
name: "Stratis Mainnet",
networkName: features.Mainnet.Name,
networkValue: "mainnet",
want: true,
Expand Down
Binary file modified beacon-chain/state/genesis/mainnet.ssz.snappy
Binary file not shown.
4 changes: 2 additions & 2 deletions config/features/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ func configureTestnet(ctx *cli.Context) error {
params.UseAuroriaNetworkConfig()
} else {
if ctx.IsSet(cmd.ChainConfigFileFlag.Name) {
log.Warn("Running on custom Ethereum network specified in a chain configuration yaml file")
log.Warn("Running on custom Stratis network specified in a chain configuration yaml file")
} else {
log.Warn("Running on Ethereum Mainnet")
log.Warn("Running on Stratis Mainnet")
}
if err := params.SetActive(params.MainnetConfig().Copy()); err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion config/features/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (
Mainnet = &cli.BoolFlag{
Value: true,
Name: "mainnet",
Usage: "Run on Ethereum Beacon Chain Main Net. This is the default and can be omitted.",
Usage: "Run on Stratis Beacon Chain Main Net. This is the default and can be omitted.",
}
devModeFlag = &cli.BoolFlag{
Name: "dev",
Expand Down
11 changes: 10 additions & 1 deletion config/params/mainnet_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,16 @@ var mainnetNetworkConfig = &NetworkConfig{
SyncCommsSubnetKey: "syncnets",
MinimumPeersInSubnetSearch: 20,
ContractDeploymentBlock: 0,
BootstrapNodes: []string{},
BootstrapNodes: []string{
"enr:-LG4QAhVE9DDGdVhgIBG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SCgAAAP__________gmlkgnY0gmlwhF5IeR-Jc2VjcDI1NmsxoQPngFsJKjN88KSYGyezJoqJGarMBk2R0LnMI-MkNHw8dIN1ZHCCMsg",
"enr:-LG4QBfIaPSrSrVlodcTYTPfU76E6RIur-wwFjDmlpmr_EiLZ3L2gVJQaEOOud4dzFiQwJyX7XbiJzdYbZtdse_YEkyGAY44UfFkh2F0dG5ldHOIAAAAAAAAAACEZXRoMpAc-AxSCgAAAP__________gmlkgnY0gmlwhG176jeJc2VjcDI1NmsxoQKpr_p-y12D1l69-lvwfmRQ_UrAcDux_-09xUlaamCERIN1ZHCCMsg",
"enr:-LG4QPdxscerSfZsyMpYupaURxMYSOwiFPYAt-rQsEnm0cu-H9kqFHHFN6dlnVWX094fMYyb2ABPYs1CSVfEYEsktJ-GAY44VG6Dh2F0dG5ldHOIAAAAAAAAAACEZXRoMpAc-AxSCgAAAP__________gmlkgnY0gmlwhFT3ngKJc2VjcDI1NmsxoQNK1iO25wPYMyBGsjSN-NIDepwMv1IsTolwc0amAfZSuYN1ZHCCMsg",
"enr:-LG4QLOFijNWfoReZB0FnFPIgxIWww_2JQ6YPutO-8ZwoI0FQUhKlthcZ_RH1subwqUVMOGujBHCrEtXHc3ccoXPnJyGAY44VzSnh2F0dG5ldHOIAAAAAAAAAACEZXRoMpAc-AxSCgAAAP__________gmlkgnY0gmlwhC7686GJc2VjcDI1NmsxoQMjNS3qva1dd9WFninKHufheG50ZyphlOhTFlr7DbArX4N1ZHCCMsg",
},
}

var mainnetBeaconConfig = &BeaconChainConfig{
Expand Down

0 comments on commit 4032333

Please sign in to comment.