Skip to content

Commit

Permalink
Common, Client: added Sepolia DNS config and activation
Browse files Browse the repository at this point in the history
  • Loading branch information
holgerd77 committed Jul 12, 2022
1 parent 406372c commit 6f9f50c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/client/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export class Config {
*/
getDnsDiscovery(option: boolean | undefined): boolean {
if (option !== undefined) return option
const dnsNets = ['ropsten', 'rinkeby', 'goerli']
const dnsNets = ['ropsten', 'rinkeby', 'goerli', 'sepolia']
return dnsNets.includes(this.chainCommon.chainName())
}

Expand Down
4 changes: 3 additions & 1 deletion packages/common/src/chains/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,7 @@
"comment": "lodestar"
}
],
"dnsNetworks": []
"dnsNetworks": [
"enrtree://AKA3AM6LPBYEUDMVNU3BSVQJ5AD45Y7YPOHJLEF6W26QOE4VTUDPE@all.sepolia.ethdisco.net"
]
}

0 comments on commit 6f9f50c

Please sign in to comment.