lighthouse/testing/simulator/src
Divma f11884ccdb enforce non zero enr ports (#4776)
## Issue Addressed

Right now lighthouse accepts zero as enr ports. Since enr ports should be reachable, zero ports should be rejected here

## Proposed Changes

- update the config to use `NonZerou16` as an ENR port for all enr-related fields.
- the enr builder from config now sets the enr to the listening port only if the enr port is not already set (prev behaviour) and the listening port is not zero (new behaviour)
- reject zero listening ports when used with `enr-match`. 
- boot node now rejects listening port as zero, since those are advertised.
- generate-bootnode-enr also rejected zero listening ports for the same reason.
- update local network scripts

## Additional Info

Unrelated, but why do we overwrite `enr-x-port` values with listening ports if `enr-match` is present? we prob should only do this for enr values that are not already set.
2023-10-03 23:59:34 +00:00
..
checks.rs Capella eip 4844 cleanup (#3652) 2022-10-26 15:15:26 -04:00
cli.rs Use unique arg names for eth1-sim (#4463) 2023-07-17 00:14:13 +00:00
eth1_sim.rs CI fix: add retries to eth1 sim tests (#4501) 2023-07-17 00:14:18 +00:00
local_network.rs enforce non zero enr ports (#4776) 2023-10-03 23:59:34 +00:00
main.rs CI fix: add retries to eth1 sim tests (#4501) 2023-07-17 00:14:18 +00:00
no_eth1_sim.rs Logging via the HTTP API (#4074) 2023-05-22 05:57:08 +00:00
retry.rs CI fix: add retries to eth1 sim tests (#4501) 2023-07-17 00:14:18 +00:00
sync_sim.rs Logging via the HTTP API (#4074) 2023-05-22 05:57:08 +00:00