Repository navigation
Commit eb4af7e
authored
fix: pass an empty bootnodes flag to the first geth node (#1539)
Fixes #1538. When geth is the first execution client of a `kurtosis` or
shadowfork network and there is no bootnodoor ENR, the launcher added no
`--bootnodes` flag, so geth fell back to its built-in public bootnodes
instead of an empty list. The geth launcher now passes an empty
`--bootnodes=` on these paths when there is no ENR to hand it, which is
what #1133 did before #1461 made the flag conditional. Tested with two
geth/lighthouse participants on the minimal preset and `--netrestrict`
set to private ranges: before the change the first geth logged
`Bootstrap node filtered by netrestrict` 20 times for public addresses,
after it the first geth starts with `--bootnodes=`, logs none, and still
peers with the second node.1 parent 90d0f4e commit eb4af7e
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
188 | 193 | | |
189 | 194 | | |
190 | 195 | | |
| |||
0 commit comments