TestHostIsResolved
test fails if running with a public IPv6
#13436
Labels
Bug
Something isn't working
TestHostIsResolved
test fails if running with a public IPv6
#13436
Describe the bug
TestHostIsResolved test is failing if running with a public IPv6.
Has this worked before in a previous version?
Error
Platform(s)
Mac (Apple Silicon)
What version of Prysm are you running? (Which release)
develop
Anything else relevant (validator index / public key)?
Probable root cause:
https://github.com/prysmaticlabs/prysm/blob/develop/beacon-chain/p2p/discovery.go#L191
When running with a public IPv6 returns the following
ips
:2606:2800:220:1:248:1893:25c8:1946
(the public IPv6 address of example.org).93.184.216.34
(the public IPv4 address of example.org).==>
ips
contains two elements. The first one is IPv6, the second one is IPv4.When running with a public IPv4, the order of
ips
is reversed. First IPv4, then IPv6.The text was updated successfully, but these errors were encountered: