Skip to content

Commit

Permalink
Add teku's bootnode (#7919)
Browse files Browse the repository at this point in the history
* Add teku's bootnode

* Ignore mainnet config for TODO check
  • Loading branch information
prestonvanloon committed Nov 23, 2020
1 parent 57fe012 commit 658dd95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/check-todo.sh
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
5 changes: 4 additions & 1 deletion shared/params/mainnet_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 658dd95

Please sign in to comment.