From 658dd953134877b0b66c3f50101a81836b231464 Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Sun, 22 Nov 2020 17:20:55 -0800 Subject: [PATCH] Add teku's bootnode (#7919) * Add teku's bootnode * Ignore mainnet config for TODO check --- scripts/check-todo.sh | 2 +- shared/params/mainnet_config.go | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/check-todo.sh b/scripts/check-todo.sh index ca7f3aee4..77ac80efc 100755 --- a/scripts/check-todo.sh +++ b/scripts/check-todo.sh @@ -1,7 +1,7 @@ #!/bin/bash # Continuous integration script to check that TODOs are in the correct format -OUTPUT="$(grep -PrinH '(?&2; diff --git a/shared/params/mainnet_config.go b/shared/params/mainnet_config.go index 04bd801da..f0b43fee5 100644 --- a/shared/params/mainnet_config.go +++ b/shared/params/mainnet_config.go @@ -35,7 +35,10 @@ var mainnetNetworkConfig = &NetworkConfig{ DepositContractAddress: "0x00000000219ab540356cBB839Cbe05303d7705Fa", ChainID: 1, // Chain ID of eth1 mainnet. NetworkID: 1, // Network ID of eth1 mainnet. - BootstrapNodes: []string{}, + BootstrapNodes: []string{ + // Teku team's bootnode + "enr:-KG4QOtcP9X1FbIMOe17QNMKqDxCpm14jcX5tiOE4_TyMrFqbmhPZHK_ZPG2Gxb1GE2xdtodOfx9-cgvNtxnRyHEmC0ghGV0aDKQ9aX9QgAAAAD__4JpZIJ2NIJpcIQDE8KdiXNlY3AyNTZrMaEDhpehBDbZjM_L9ek699Y7vhUJ-eAdMyQW_Fil522Y0fODdGNwgiMog3VkcIIjKA", + }, } var mainnetBeaconConfig = &BeaconChainConfig{