Releases: erigontech/erigon
2021.08.05-alpha
Changelog
-
fix for the heavy disk I/O regressions by MDBX (fixes a couple of issues with RPC daemon with
--datadir
being slow or completely unresponsive) -
increase node db file limit (fixes
mdbx_cursor_put: operation not permitted"
log warnings) -
tx pool improvements
SHA256
reproducible builds in Docker aren't functional at the moment
2021.08.04-alpha
Security Fix
This release contains a high-severity security fix, found by the Go Ethereum team.
Please, upgrade.
Changelog
-
‼️ high-severity security issue fixup‼️ -
multiple RPC optimisations
-
fix in a sentry to reduce block delivery delay
-
increase the default gas limit for
eth_call
(to 50M gas) -
maintenance upgrade of Grafana, Prometheus
SHA256
reproducible builds in Docker aren't functional at the moment
2021.08.03-alpha
--datadir
parameter is not backward-compatible
❗ chaindata
folder was moved from <datadir>/erigon/chaindata
into <datadir>/chaindata
. Please, move manually before starting the new version, otherwise you will get an error like the following
EROR[08-19|09:30:24.913] Old data directory found path=/Users/<>/rinkeby/erigon/chaindata please move to new path=/Users/<>/rinkeby/chaindata
Fatal: Could not open database: safety error, see log message
Changelog
-
trace_call
andtrace_callMany
gas prices set to basefee if 0 is provided -
eth_feeHistory
better compatibility with the specs -
trace_filter
crash fixup -
trace_filter
: fix forafter
andcount
parameters -
improved docs for building your own RPC daemon (thanks to Eugene)
-
preserve streaming of batch RPC requests (fix for #2540)
-
newHeads
subscribe now returnsbaseFeePerGas
(fix for #2549) -
parametric the location of
go
executable with the env variable
SHA256
reproducible builds in Docker aren't functional at the moment
2021.08.02-alpha
Changelog
-
add
txpool_status
api (kudos to Richard Patel) -
improved Grafana metrics
-
add
eth_maxPriorityFeePerGas
andeth_feeHistory
-
add support for
vmTrace
intotrace_
RPC methods -
reduce commit frequency to Sentry DBs
SHA256
reproducible builds in Docker aren't functional at the moment
2021.08.01-alpha
Changelog
-
better licensed logger (Apache) and metrics (MIT) dependencies
-
fix for "err after streaming started" #2464
-
mdbx v0.10.2 #2449
-
allow to run all sync stages once when
--nodiscover
is set and there is no network connection -
better log messages for pruning misconfiguration
-
fix
eth_gasPrice
for London-style fees -
more fixes for tracing APIs #2485
-
improved documentation of Staged Sync (kudos to The-Coomer)
SHA256
reproducible builds in Docker aren't functional at the moment
2021.07.05-alpha
XDG in the Docker images
🚨 This is a breaking change if you use our Docker images.
It moves the default data dir from /var/lib/erigon
to /home/erigon/.local/share/erigon
.
If you mount your data and use our own docker images, you need to change the mount point to avoid re-syncing!
If you already setup your data dir to a custom directory -- no action is required.
If you don't use our docker images -- no action is required.
Changelog
-
fixes for EIP-1559 in pending transactions,
eth_getTransactionByHash
, -
fix for
debug_traceTransaction
#2433 -
fixes for intrinsic gas in
trace_
methods #2440 -
fixup for
eth_syncing
on the block 0 -
fixes for
trace_call
andtrace_callMany
methods -
Sokol support improvements
-
Breaking change: Docker builds now follow XDG spec (data in
/home/erigon/.local/share/erigon
) #2437
SHA256
reproducible builds in Docker aren't functional at the moment
2021.07.04-alpha
London Hardfork & Ropsten Consensus Issue
Please upgrade your nodes to 2021.07.04 before London hardfork!
Recently uncovered consensus bug in geth, nethermind and erigon affects mainnet too!
This bug is fixed in this (2021.07.04) release.
If you want to repair your Ropsten nodes without resync
If you are on mainnet, no need to repair anything.
Follow these steps accurately:
-
upgrade to 2021.07.04
-
run your node with
--bad.block 10679538
option -
wait patiently for the node to unwind, find proper peers and re-sync from the bad block. can take quite some time and might look like it is stuck on
[4/18 Bodies] Wrote block bodies
-
restart your node WITHOUT
--bad.block
option.
Pruning
New flag --prune
replaces --storage-mode
.
--prune
is an INVERSION of --storage-mode
Examples:
--storage-mode=h
=> "keep history";--prune=h
means "PRUNE history".- if you using
--storage-mode=ht
the equivalent is--prune=rc
New flag docs:
h
- prune history (ChangeSets, HistoryIndices - used by historical state access)r
- prune receipts (Receipts, Logs, LogTopicIndex, LogAddressIndex - used byeth_getLogs
and similar RPC methods)t
- prune transaction by it's hash indexc
- prune call traces (used bytrace_*
methods)
By default, --prune
deletes data older than 90K blocks from the tip of the chain (aka, for if tip block is no. 12'000'000, only the data between 11'910'000-12'000'000 will be kept).
Thus could be overridden by --prune.<mode>.older
flags.
E.g. --prune.h.older=1000000
keeps the last 1'000'000 historical entries.
--prune=
(empty list) means no pruning (full archive mode).
Breaking change in Dockerfile - user is not Root anymore
Please see changes here: https://github.com/ledgerwatch/erigon/pull/2397/files
Changelog
-
pruning! (see #2399)
-
default
docker-compose
now can do RPCDaemon in local-mode in another container. PR #2392 (kudos to https://github.com/mariuspod for the fixup!) -
no annoying "peer not found" error
-
a fixup for Ropsten consensus issue (see the PR here)
-
fixes in
trace_replayTransaction
,trace_replayBlock
-
broadcast local pooled transactions
-
remove preimage recording
-
batches in streamable RPC requests
-
improvements for Sokol
SHA256
reproducible builds in Docker aren't functional at the moment
2021.07.03-alpha
DockerHub image
thorax/erigon
- docker-compose changed name of image from turbo-geth to
thorax/erigon
- Inside docker changed datadir to
/var/lib/erigon
Changelog
-
eth_syncing
-- show progress stage by stage -
remove ETL tmp files more aggressive
-
continue work on Sokol network support - we need it to build more flexible consensus API
-
improvements for tx pool propagation
-
EIP-1559 support in
eth_call
andtrace_*
APIs -
include London blocks in the configuration
-
workaround for hitting gRPC limits for the
txpool_content
call
SHA256
reproducible builds in Docker aren't functional at the moment
2021.07.02-alpha
Repairing receipts
Who are affected
- if you synced on 2021.06.04 or earlier, and upgraded the node to 2021.06.05 at some point.
Who are NOT affected
-
if you are still on 2021.06.04
-
if you synced your node on Erigon 2021.06.05 or later;
If you are affected, your receipts could be damaged.
We provide an utility to fix the receipts in the db:
make hack
./build/bin/hack --action scanReceipts --chaindata <datadir>/erigon/chaindata
Changelog
-
--rpc.batch.concurrency
flag -
receipts repairing utility
-
sentry improvements
-
fixups for
debug_traceTransaction
-
trace_call
is about 2x faster -
fixup for transaction propagation with an external sentry
-
enable private rpc endpoint by default, allowing hybrid mode for the roc daemon out of the box
-
don't crash rpcdaemon on streamable WS (we don't support them still, but at least the app doesn't crash on them)
SHA256
reproducible builds in Docker aren't functional at the moment
2021.07.01-alpha
Changelog
-
London: add GasPrice for the DynamicFeeTransaction
-
--blockDownloaderWindow
cli option, to be able to sync on lower RAM machines, (8 Gb) -
fix for receipts status #2250
-
add effective gas price to
eth_getTransactionReceipt
andeth_getBlockReceipts
-
fix new tx propagation for external sentry (
sendRawTransaction
) -
eth_chainID
alias foreth_chainId
for better compatibility -
partial support for
trace_replayTransaction
andtrace_replayBlockTransactions
, only state diffs -
fixup for
eth_call
, set max gas by default
SHA256
reproducible builds in Docker aren't functional at the moment