Commit 6abc2ff
[SharovBot] chore: weekly code cleanup consolidation (erigontech#21811)
**[SharovBot]** 🧹 Weekly Code Cleanup — June 15th, 2026
This PR consolidates the following small cleanup changes that were
individually submitted as PRs this week:
| Original PR | Description |
|------------|-------------|
| erigontech#21587 | refactor: use the built-in max to simplify the code |
Changes that could not be applied due to conflicts:
- erigontech#21346: patch does not apply (file context drift in
`node/components/storage/snapshot/inventory.go`)
- erigontech#21588: patch does not apply (file context drift in
`cmd/utils/flags.go`)
- erigontech#21589: patch does not apply
(`p2p/sentry/sentry_multi_client/bal_downloader.go` not found — likely
moved or renamed)
---
*Automated weekly consolidation by SharovBot.*
Co-authored-by: erigon-copilot[bot] <erigon-copilot[bot]@users.noreply.github.com>
Co-authored-by: Giulio Rebuffo <giulio.rebuffo@gmail.com>1 parent 692130b commit 6abc2ff
3 files changed
Lines changed: 3 additions & 12 deletions
File tree
- cl
- phase1
- execution_client/block_collector
- network
- sentinel/handlers
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
| 315 | + | |
319 | 316 | | |
320 | 317 | | |
321 | 318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
| 216 | + | |
220 | 217 | | |
221 | 218 | | |
222 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
| |||
0 commit comments