Add teku's bootnode (#7919)

* Add teku's bootnode

* Ignore mainnet config for TODO check
This commit is contained in:
Preston Van Loon 2020-11-22 17:20:55 -08:00 committed by GitHub
parent 57fe012bc2
commit 658dd95313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
# Continuous integration script to check that TODOs are in the correct format
OUTPUT="$(grep -PrinH '(?<!context\.)todo(?!\(#{0,1}\d+\))' --include \*.go --exclude *site_data.go *)";
OUTPUT="$(grep -PrinH '(?<!context\.)todo(?!\(#{0,1}\d+\))' --include \*.go --exclude *site_data.go --exclude *mainnet_config.go *)";
if [ "$OUTPUT" != "" ] ;
then
echo "Invalid TODOs found. Failing." >&2;

View File

@ -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{