From e59125acf7a9b5fd1d6df438edf4257a2e086270 Mon Sep 17 00:00:00 2001 From: tersec Date: Wed, 9 Oct 2024 10:34:47 +0000 Subject: [PATCH] rm Goerli bootnodes (#746) * rm Goerli bootnodes * rm tests mention --- eth/p2p/bootnodes.nim | 13 ------------- tests/p2p/test_enode.nim | 3 +-- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/eth/p2p/bootnodes.nim b/eth/p2p/bootnodes.nim index 6a662fb..2a69bbd 100644 --- a/eth/p2p/bootnodes.nim +++ b/eth/p2p/bootnodes.nim @@ -11,19 +11,6 @@ const "enode://4aeb4ab6c14b23e2c4cfdce879c04b0748a20d8e9b59e25ded2a08143e265c6c25936e74cbc8e641e3312ca288673d91f2f93f8e277de3cfa444ecdaaf982052@157.90.35.166:30303", # bootnode-hetzner-fsn ] - GoerliBootnodes* = [ - # Upstream bootnodes - "enode://011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a@51.141.78.53:30303", - "enode://176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b@13.93.54.137:30303", - "enode://46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291@94.237.54.114:30313", - "enode://b5948a2d3e9d486c4d75bf32713221c2bd6cf86463302339299bd227dc2e276cd5a1c7ca4f43a0e9122fe9af884efed563bd2a1fd28661f3b5f5ad7bf1de5949@18.218.250.66:30303", - # Ethereum Foundation bootnode - "enode://a61215641fb8714a373c80edbfa0ea8878243193f57c96eeb44d0bc019ef295abd4e044fd619bfc4c59731a73fb79afe84e9ab6da0c743ceb479cbb6d263fa91@3.11.147.67:30303", - # Goerli Initiative bootnodes - "enode://d4f764a48ec2a8ecf883735776fdefe0a3949eb0ca476bd7bc8d0954a9defe8fea15ae5da7d40b5d2d59ce9524a99daedadf6da6283fca492cc80b53689fb3b3@46.4.99.122:32109", - "enode://d2b720352e8216c9efc470091aa91ddafc53e222b32780f505c817ceef69e01d5b0b0797b69db254c586f493872352f5a022b4d8479a00fc92ec55f9ad46a27e@88.99.70.182:30303", - ] - SepoliaBootnodes* = [ "enode://9246d00bc8fd1742e5ad2428b80fc4dc45d786283e05ef6edbd9002cbc335d40998444732fbe921cb88e1d2c73d1b1de53bae6a2237996e9bfe14f871baf7066@18.168.182.86:30303", "enode://ec66ddcf1a974950bd4c782789a7e04f8aa7110a72569b6e65fcd51e937e74eed303b1ea734e4d19cfaec9fbff9b6ee65bf31dcb50ba79acce9dd63a6aca61c7@52.14.151.177:30303", diff --git a/tests/p2p/test_enode.nim b/tests/p2p/test_enode.nim index 7774d75..6b90e5c 100644 --- a/tests/p2p/test_enode.nim +++ b/tests/p2p/test_enode.nim @@ -94,13 +94,12 @@ suite "ENode": res.isOk test "Bootnodes test": - proc runBNTest(bns: openArray[string]): bool = + func runBNTest(bns: openArray[string]): bool = for z in bns: let res = ENode.fromString(z) if res.isErr: return false true check runBNTest(MainnetBootnodes) - check runBNTest(GoerliBootnodes) check runBNTest(SepoliaBootnodes) check runBNTest(HoleskyBootnodes)