Erigon v3.5.4 — Tidal Tails
v3.5.4 is a bugfix release recommended for all users, and especially for operators running the RPC daemon with response compression enabled — archive nodes and high-traffic RPC endpoints — where a native-memory leak in the gzip path could grow by ~9-15 GiB/day (#22700). It is a drop-in upgrade from 3.5.3 — no re-sync required.
Bugfixes
- node: fix a native (C-allocated) memory leak in the RPC gzip path (#22700) by @AskAlexSharov — the
libdeflate.Compressorwas pooled in async.Poolwhose GC-evicted entries never hadClose()called, leaking the C context (~9-15 GiB/day on an archive node). Replaced with a bounded channel pool that closes compressors on overflow. Fixes #22672. - cmd: expand a leading
~/(or~\on Windows) and$VARin--datadirfor the cobra-based binaries (#22785) by @lystopad — rpcdaemon and the other cobra commands previously used the raw path, so a tilde/env-prefixed--datadirwas not resolved the way the main erigon binary resolves it. Fixes #14629.
Improvements
- build: update
google.golang.org/grpcto v1.82.1 (#22690) by @AskAlexSharov — bringsrelease/3.5in line withrelease/3.6andmain.
Full Changelog: v3.5.3...v3.5.4