go-ethereum/cmd
Yorick Downe 369521becb
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
cmd/utils: avoid extra newlines when reading era checksums (#35104)
The checksum count during EraE import is off by one when `checksums.txt`
ends its last line on a newline, as the pandaops file does. The current
code would result in one empty string after the final `\n`, something
like

```
[]string{
    "line1",
    "line2",
    "line3",
    "",
}
```

Trim off the final `\n`, if it exists: `return
strings.Split(strings.TrimRight(string(b), "\n"), "\n"), nil`

---------

Co-authored-by: lightclient <lightclient@protonmail.com>
2026-06-03 11:48:45 -06:00
..
abidump
abigen
blsync
devp2p
era internal/era: update to latest ere spec (#34896) 2026-06-03 11:52:10 +02:00
ethkey
evm
fetchpayload
geth internal/era: update to latest ere spec (#34896) 2026-06-03 11:52:10 +02:00
keeper go.mod: bump go.opentelemetry.io from 1.40.0 to 1.41.0 (#35073) 2026-05-29 22:51:26 +02:00
rlpdump
utils cmd/utils: avoid extra newlines when reading era checksums (#35104) 2026-06-03 11:48:45 -06:00
workload