Skip to content

Commit

Permalink
Pin genesis and bootnode file URLs by commit hash
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig committed Aug 1, 2023
1 parent af33127 commit 6b6c8f5
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
6 changes: 4 additions & 2 deletions packages/cli/src/networks/chiado.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ export {chiadoChainConfig as chainConfig} from "@lodestar/config/networks";

// eth1.providerUrls suggestion: https://rpc.chiado.gnosis.gateway.fm
export const depositContractDeployBlock = 155435;
export const genesisFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/chiado/genesis.ssz";
export const bootnodesFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/chiado/bootnodes.yaml";
export const genesisFileUrl =
"https://raw.githubusercontent.com/gnosischain/configs/b90374a1c63703db8235fcdb65aff2e909bc42b5/chiado/genesis.ssz";
export const bootnodesFileUrl =
"https://raw.githubusercontent.com/gnosischain/configs/b90374a1c63703db8235fcdb65aff2e909bc42b5/chiado/bootnodes.yaml";

export const bootEnrs = [
"enr:-L64QOijsdi9aVIawMb5h5PWueaPM9Ai6P17GNPFlHzz7MGJQ8tFMdYrEx8WQitNKLG924g2Q9cCdzg54M0UtKa3QIKCMxaHYXR0bmV0c4j__________4RldGgykDE2cEMCAABv__________-CaWSCdjSCaXCEi5AaWYlzZWNwMjU2azGhA8CjTkD4m1s8FbKCN18LgqlYcE65jrT148vFtwd9U62SiHN5bmNuZXRzD4N0Y3CCIyiDdWRwgiMo",
Expand Down
6 changes: 4 additions & 2 deletions packages/cli/src/networks/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ export {gnosisChainConfig as chainConfig} from "@lodestar/config/networks";

// eth1.providerUrls suggestion: https://rpc.gnosischain.com
export const depositContractDeployBlock = 19469077;
export const genesisFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/mainnet/genesis.ssz";
export const bootnodesFileUrl = "https://raw.githubusercontent.com/gnosischain/configs/main/mainnet/bootnodes.yaml";
export const genesisFileUrl =
"https://raw.githubusercontent.com/gnosischain/configs/b90374a1c63703db8235fcdb65aff2e909bc42b5/mainnet/genesis.ssz";
export const bootnodesFileUrl =
"https://raw.githubusercontent.com/gnosischain/configs/b90374a1c63703db8235fcdb65aff2e909bc42b5/mainnet/bootnodes.yaml";

export const bootEnrs = [
"enr:-Ly4QMU1y81COwm1VZgxGF4_eZ21ub9-GHF6dXZ29aEJ0oZpcV2Rysw-viaEKfpcpu9ZarILJLxFZjcKOjE0Sybs3MQBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpCCS-QxAgAAZP__________gmlkgnY0gmlwhANLnx-Jc2VjcDI1NmsxoQKoaYT8I-wf2I_f_ii6EgoSSXj5T3bhiDyW-7ZLsY3T64hzeW5jbmV0cwCDdGNwgiMog3VkcIIjKA",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/networks/goerli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ export {goerliChainConfig as chainConfig} from "@lodestar/config/networks";

export const depositContractDeployBlock = 4367322;
export const genesisFileUrl =
"https://raw.githubusercontent.com/eth2-clients/eth2-testnets/master/shared/prater/genesis.ssz";
"https://raw.githubusercontent.com/eth-clients/eth2-networks/f94c4d9499e55bec0fd21d31203350080633c60a/shared/prater/genesis.ssz";
export const bootnodesFileUrl =
"https://raw.githubusercontent.com/eth2-clients/eth2-testnets/master/shared/prater/bootstrap_nodes.txt";
"https://raw.githubusercontent.com/eth-clients/eth2-networks/f94c4d9499e55bec0fd21d31203350080633c60a/shared/prater/bootstrap_nodes.txt";

export const bootEnrs = [];
4 changes: 2 additions & 2 deletions packages/cli/src/networks/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ export {mainnetChainConfig as chainConfig} from "@lodestar/config/networks";

export const depositContractDeployBlock = 11052984;
export const genesisFileUrl =
"https://raw.githubusercontent.com/eth2-clients/eth2-testnets/master/shared/mainnet/genesis.ssz";
"https://raw.githubusercontent.com/eth-clients/eth2-networks/f94c4d9499e55bec0fd21d31203350080633c60a/shared/mainnet/genesis.ssz";
export const bootnodesFileUrl =
"https://raw.githubusercontent.com/eth2-clients/eth2-testnets/master/shared/mainnet/bootstrap_nodes.txt";
"https://raw.githubusercontent.com/eth-clients/eth2-networks/f94c4d9499e55bec0fd21d31203350080633c60a/shared/mainnet/bootstrap_nodes.txt";

export const bootEnrs = [
// # Teku team's bootnodes",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/networks/ropsten.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ export {ropstenChainConfig as chainConfig} from "@lodestar/config/networks";

export const depositContractDeployBlock = 12269949;
export const genesisFileUrl =
"https://raw.githubusercontent.com/eth-clients/merge-testnets/main/ropsten-beacon-chain/genesis.ssz";
"https://raw.githubusercontent.com/eth-clients/merge-testnets/baebfaba3c0dcb8b6e4d5113e52fd6981253a152/ropsten-beacon-chain/genesis.ssz";
export const bootnodesFileUrl =
"https://raw.githubusercontent.com/eth-clients/merge-testnets/main/ropsten-beacon-chain/bootstrap_nodes.txt";
"https://raw.githubusercontent.com/eth-clients/merge-testnets/baebfaba3c0dcb8b6e4d5113e52fd6981253a152/ropsten-beacon-chain/bootstrap_nodes.txt";

export const bootEnrs = [];
5 changes: 3 additions & 2 deletions packages/cli/src/networks/sepolia.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
export {sepoliaChainConfig as chainConfig} from "@lodestar/config/networks";

export const depositContractDeployBlock = 1273020;
export const genesisFileUrl = "https://raw.githubusercontent.com/eth-clients/merge-testnets/main/sepolia/genesis.ssz";
export const genesisFileUrl =
"https://raw.githubusercontent.com/eth-clients/merge-testnets/baebfaba3c0dcb8b6e4d5113e52fd6981253a152/sepolia/genesis.ssz";
export const bootnodesFileUrl =
"https://raw.githubusercontent.com/eth-clients/merge-testnets/main/sepolia/bootstrap_nodes.txt";
"https://raw.githubusercontent.com/eth-clients/merge-testnets/baebfaba3c0dcb8b6e4d5113e52fd6981253a152/sepolia/bootstrap_nodes.txt";

export const bootEnrs = [
"enr:-Iq4QMCTfIMXnow27baRUb35Q8iiFHSIDBJh6hQM5Axohhf4b6Kr_cOCu0htQ5WvVqKvFgY28893DHAg8gnBAXsAVqmGAX53x8JggmlkgnY0gmlwhLKAlv6Jc2VjcDI1NmsxoQK6S-Cii_KmfFdUJL2TANL3ksaKUnNXvTCv1tLwXs0QgIN1ZHCCIyk",
Expand Down

0 comments on commit 6b6c8f5

Please sign in to comment.