-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upstream v2.56.2 #154
Upstream v2.56.2 #154
Commits on Dec 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3fcb1e6 - Browse repository at this point
Copy the full SHA 3fcb1e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a70aaa - Browse repository at this point
Copy the full SHA 6a70aaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5f4c76 - Browse repository at this point
Copy the full SHA c5f4c76View commit details -
fixing typos (erigontech#8883)
Correction for "Lets assume": Incorrect: "Lets assume" Correct: "Let's assume" Explanation: In this phrase, the word "Lets" is incorrectly written. The correct form should be "Let's," which is a contraction of "let us." Correction for the word "tripple": Incorrect: "tripple" Correct: "triple" Explanation: The word "tripple" is misspelled. The correct spelling is "triple," which refers to something made up of three parts, or multiplied by three.
Configuration menu - View commit details
-
Copy full SHA for 1492cc4 - Browse repository at this point
Copy the full SHA 1492cc4View commit details -
[beacon handler] framework (erigontech#8851)
adds a two indexes to the validators cache creates beaconhttp package with many utilities for beacon http endpoint (future support for ssz is baked in) started on some validator endpoints
Configuration menu - View commit details
-
Copy full SHA for 47a6ac1 - Browse repository at this point
Copy the full SHA 47a6ac1View commit details
Commits on Dec 5, 2023
-
fix: Example TOML config file parsing error (erigontech#8902)
follow Example TOML config file will cause parsing error ``` erigon git:(devel) ✗ ./build/bin/erigon --config ./config.toml --chain=sepolia EROR[12-05|12:07:09.029] failed setting config flags from yaml/toml file err="(1, 1): parsing error: keys cannot contain ` character" (1, 1): parsing error: keys cannot contain ` character ``` after remove ` character works ``` ✗ ./build/bin/erigon --config ./config.toml --chain=sepolia INFO[12-05|12:00:17.619] logging to file system log dir=data/logs file prefix=erigon log level=info json=false INFO[12-05|12:00:17.620] Build info git_branch=devel git_tag=v2.54.0-91-g47a6ac16d-dirty git_commit=47a6ac16da6de62e589b655bde7936dcdb0eb073 INFO[12-05|12:00:17.620] Starting Erigon on Sepolia testnet... INFO[12-05|12:00:17.622] Maximum peer count ETH=100 total=100 INFO[12-05|12:00:17.623] starting HTTP APIs APIs=eth,debug,net INFO[12-05|12:00:17.623] torrent verbosity level=WRN INFO[12-05|12:00:19.967] Set global gas cap cap=50000000 INFO[12-05|12:00:19.968] [Downloader] Runnning with ipv6-enabled=true ipv4-enabled=true download.rate=16mb upload.rate=4mb INFO[12-05|12:00:19.970] Opening Database label=chaindata path=/erigon/data/chaindata INFO[12-05|12:00:19.974] [db] chaindata sizeLimit=12TB pageSize=8192 INFO[12-05|12:00:19.975] Re-Opening DB in exclusive mode to apply migrations INFO[12-05|12:00:20.025] [db] chaindata sizeLimit=12TB pageSize=8192 INFO[12-05|12:00:20.025] Apply migration name=db_schema_version5 INFO[12-05|12:00:20.033] Applied migration name=db_schema_version5 INFO[12-05|12:00:20.033] Apply migration name=txs_begin_end INFO[12-05|12:00:20.035] Applied migration name=txs_begin_end INFO[12-05|12:00:20.035] Apply migration name=txs_v3 INFO[12-05|12:00:20.036] Applied migration name=txs_v3 INFO[12-05|12:00:20.036] Updated DB schema to version=6.1.0 INFO[12-05|12:00:20.074] [db] chaindata sizeLimit=12TB pageSize=8192 INFO[12-05|12:00:20.084] Writing custom genesis block hash=0x25a5cc106eea7138acab33231d7160d69cb777ee0c2c553fcddf5138993e6dd9 INFO[12-05|12:00:20.085] Initialised chain configuration config="{ChainID: 11155111, Homestead: 0, DAO: <nil>, Tangerine Whistle: 0, Spurious Dragon: 0, Byzantium: 0, Constantinople: 0, Petersburg: 0, Istanbul: 0, Muir Glacier: 0, Berlin: 0, London: 0, Arrow Glacier: <nil>, Gray Glacier: <nil>, Terminal Total Difficulty: 17000000000000000, Merge Netsplit: 1735371, Shanghai: 1677557088, Cancun: <nil>, Prague: <nil>, Engine: ethash}" genesis=0x25a5cc106eea7138acab33231d7160d69cb777ee0c2c553fcddf5138993e6dd9 INFO[12-05|12:00:20.095] Initialising Ethereum protocol network=11155111 ```
Configuration menu - View commit details
-
Copy full SHA for df9b474 - Browse repository at this point
Copy the full SHA df9b474View commit details -
blockReader: read
blockNum == r.FrozenBlocks()
from files (erigonte……ch#8890) Example value of `r.FrozenBlocks()`: `499999` In future PR I will rename this method to something like `MaxBlockNumInFiles()`
Configuration menu - View commit details
-
Copy full SHA for 9bea4e3 - Browse repository at this point
Copy the full SHA 9bea4e3View commit details -
chore:TxPoolGossipDisableFlag usage (erigontech#8899)
Spotted this typo when follow the help commond
Configuration menu - View commit details
-
Copy full SHA for f9f36b5 - Browse repository at this point
Copy the full SHA f9f36b5View commit details
Commits on Dec 6, 2023
-
update outdated information (erigontech#8906)
1. When running locally, found that these **TODO** json-rpc have been implemented. Updating these outdated information can make the document clearer. ``` curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_newBlockFilter","params":[],"id":1}' http://loca lhost:8545 {"jsonrpc":"2.0","id":1,"result":"0x02000000000000009c49b60f431cabc7"} ``` 2. [but it's easy to accomplish] Points to an obsolete message (https://github.com/ledgerwatch/erigon/blob/9b8cdc0f2289a7cef78218a15043de5bdff4465e/eth/downloader/downloader.go#L673)
Configuration menu - View commit details
-
Copy full SHA for edcd7fc - Browse repository at this point
Copy the full SHA edcd7fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96bb5dd - Browse repository at this point
Copy the full SHA 96bb5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for e11e374 - Browse repository at this point
Copy the full SHA e11e374View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7335dcc - Browse repository at this point
Copy the full SHA 7335dccView commit details -
Caplin: Parallel historical states reconstruction (erigontech#8817)
What does this PR do: * Optional Backfilling and Caplin Archive Node * Create antiquary for historical states * Fixed gaps of chain gap related to the Head of the chain and anchor of the chain. * Added basic reader object to Read the Historical state
Configuration menu - View commit details
-
Copy full SHA for c477281 - Browse repository at this point
Copy the full SHA c477281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7542769 - Browse repository at this point
Copy the full SHA 7542769View commit details -
Update gnosis bootnodes (erigontech#8907)
Title seems selfdescribing. Bootnodes list source: https://github.com/gnosischain/configs/blob/main/mainnet/bootnodes_execution.yaml
Configuration menu - View commit details
-
Copy full SHA for 8bfff94 - Browse repository at this point
Copy the full SHA 8bfff94View commit details -
Backfill only with flag (erigontech#8913)
Caplin snapshots only enabled with caplin.backfill
Configuration menu - View commit details
-
Copy full SHA for 0d2aecf - Browse repository at this point
Copy the full SHA 0d2aecfView commit details -
Fix snap initialization from frozen blocks (erigontech#8908)
This fixes a bug on syncing from scratch if the start point is in a frozen block.
Configuration menu - View commit details
-
Copy full SHA for 624e4d4 - Browse repository at this point
Copy the full SHA 624e4d4View commit details -
silkworm: disable on incompatible Linux versions (erigontech#8893)
Silkworm built on Ubuntu 22 depends on glibc 2.34. In order to run on an older OS, Silkworm needs to be built and linked with an older glibc, but to build on an older OS we need a compatible compiler. Silkworm requires gcc 11+ that is not available on Ubuntu 20 or Debian 11. To simplify the deployment disable Silkworm support on versions before Ubuntu 22, Debian 12, and glibc prior to 2.34. The check for Ubuntu and Debian is explicit, because some Ubuntu 16 installations report glibc 2.35 with ldd, but `go build` still uses an older system one and fails.
Configuration menu - View commit details
-
Copy full SHA for d78cbfe - Browse repository at this point
Copy the full SHA d78cbfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6960ec3 - Browse repository at this point
Copy the full SHA 6960ec3View commit details
Commits on Dec 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f3822b1 - Browse repository at this point
Copy the full SHA f3822b1View commit details -
Enable superfluous ws.port flag to fix some Hive RPC tests (erigontec…
…h#8909) ### Context **Websocket port flag** Hive tests for RPC suite depend on the (geth) default 8546 port. So, opening one more listener for this additional port if `ws.port` was specified. This flag isn't used in Erigon, as it shares port with http listener. Normally, one may not specify and it offers no other benefit.
Configuration menu - View commit details
-
Copy full SHA for 5987d4e - Browse repository at this point
Copy the full SHA 5987d4eView commit details -
silkworm: check glibcpp compatibility (erigontech#8932)
libsilkworm requires libstdc++.so.6.0.30, but Rocky Linux 9.3 has only libstdc++.so.6.0.29, and `make erigon` produces an error about the GLIBCXX Version needed 3.4.30 (available 3.4.29). see: https://stackoverflow.com/questions/10354636/how-do-you-find-what-version-of-libstdc-library-is-installed-on-your-linux-mac https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
Configuration menu - View commit details
-
Copy full SHA for dac73f4 - Browse repository at this point
Copy the full SHA dac73f4View commit details
Commits on Dec 8, 2023
-
silkworm: disable in release binaries (erigontech#8927)
A short-term safety measure to keep release.yml GH workflow unaffected.
Configuration menu - View commit details
-
Copy full SHA for b86bdb7 - Browse repository at this point
Copy the full SHA b86bdb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c91ca2d - Browse repository at this point
Copy the full SHA c91ca2dView commit details -
dvovk/snapshotsstats (erigontech#8935)
Updated collecting snapshots, renamed keys
Configuration menu - View commit details
-
Copy full SHA for 4696769 - Browse repository at this point
Copy the full SHA 4696769View commit details
Commits on Dec 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e006db6 - Browse repository at this point
Copy the full SHA e006db6View commit details -
Adds access list sorting (erigontech#8933)
Because access lists use maps with the `StorageKey` as the key, they are subject to inconsistent ordering in the results of the `.accessList()` method. To get around this, an `accessListSorted` method has been added, and exposed with the same name. The `equal` method has also been exposed to allow for equality checks at this level outside of this module. Co-authored-by: 3commascapital <8562488-3commascapital@users.noreply.gitlab.com>
Configuration menu - View commit details
-
Copy full SHA for 07331f9 - Browse repository at this point
Copy the full SHA 07331f9View commit details
Commits on Dec 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be10b7d - Browse repository at this point
Copy the full SHA be10b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0364467 - Browse repository at this point
Copy the full SHA 0364467View commit details
Commits on Dec 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3d9cb04 - Browse repository at this point
Copy the full SHA 3d9cb04View commit details -
makefile: unquote silkworm build tag - to make it concatenatable (eri…
…gontech#8948) `--tags "a,b,nosilkworm",integration` doesn't work
Configuration menu - View commit details
-
Copy full SHA for 34d93fb - Browse repository at this point
Copy the full SHA 34d93fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb8f9d - Browse repository at this point
Copy the full SHA 7fb8f9dView commit details -
Resumable beacon state reconstruction (erigontech#8918)
* Most of the PR changed files are extra and slightly more complicated unit tests. * Fixed Eth1DataVotes not inheriting genesis * Fixed Attestations simulation using wrong slot when reconstructing partecipation * Fixed Copy() operation on BeaconState on Eth1DataVotes * Used correct ListSSZ type for Eth1DataVotes and HistoricalSummaries * Fixed wrong []uint64 deltas on empty slots
Configuration menu - View commit details
-
Copy full SHA for 2498787 - Browse repository at this point
Copy the full SHA 2498787View commit details
Commits on Dec 12, 2023
-
Fix case when there are more than one matching libraries (erigontech#…
…8955) Small fix to the script for the scenario where more than one matching library can be returned. For example, the command `/sbin/ldconfig -p | grep libstdc++ | awk '{ print $NF }'` can result in ``` /lib/x86_64-linux-gnu/libstdc++.so.6 /lib32/libstdc++.so.6 ``` which then fails the check `if [[ ! -L "$link_path" ]]`
Configuration menu - View commit details
-
Copy full SHA for 4217f78 - Browse repository at this point
Copy the full SHA 4217f78View commit details -
Downloader: add
ProhibitNewDownloads()
(erigontech#8939)"whitelisting" mechanism (list of files - stored in DB) - which protecting us from downloading new files after upgrade/downgrade was broken. And seems it became over-complicated with time. I replacing it by 1 persistent flag inside downloader: "prohibit_new_downloads.lock" Erigon will turn downloader into this mode after downloading/verification of first snapshots. ``` //Corner cases: // - Erigon generated file X with hash H1. User upgraded Erigon. New version has preverified file X with hash H2. Must ignore H2 (don't send to Downloader) // - Erigon "download once": means restart/upgrade/downgrade must not download files (and will be fast) // - After "download once" - Erigon will produce and seed new files ``` ------ `downloader --seedbox` is never "prohibit new downloads"
Configuration menu - View commit details
-
Copy full SHA for d41d523 - Browse repository at this point
Copy the full SHA d41d523View commit details -
Configuration menu - View commit details
-
Copy full SHA for faaf5a0 - Browse repository at this point
Copy the full SHA faaf5a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1146bd - Browse repository at this point
Copy the full SHA c1146bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06e77d1 - Browse repository at this point
Copy the full SHA 06e77d1View commit details
Commits on Dec 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ac1e42b - Browse repository at this point
Copy the full SHA ac1e42bView commit details -
Optimized beacon state retrieval (erigontech#8963)
* Reconstruct previous epoch without looking at DB: no hindrance to performance -> removed 15GB * Store inactivity scores and slashings in MDBX and do not store diffs for them(they are tiny 700/400 bytes) * Reduced dumps from every 2048 to 1024 -> Added 5 GB (maybe we should down it to 768) * Parallel processing of shuffled sets, 2x performance boost in reading participation. * Store balances diffs in a Btree diff matter, see: https://github.com/ledgerwatch/erigon-documents/blob/master/caplin/design/data-model.md#uint64listuint64vector
Configuration menu - View commit details
-
Copy full SHA for 4e83ef0 - Browse repository at this point
Copy the full SHA 4e83ef0View commit details -
Fixup bittorrent/webseed download logs after refactoring (erigontech#…
…8976) After a refactoring, the detailed bittorrent vs webseeds log has disappeared
Configuration menu - View commit details
-
Copy full SHA for 58dabdc - Browse repository at this point
Copy the full SHA 58dabdcView commit details
Commits on Dec 14, 2023
-
collect statistics even for download completed or not started files (e…
…rigontech#8956) Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3b68d57 - Browse repository at this point
Copy the full SHA 3b68d57View commit details -
Engine API PR 498 (clarify payloadAttributes checks) (erigontech#8982)
Implements ethereum/execution-apis#498
Configuration menu - View commit details
-
Copy full SHA for b26d0f2 - Browse repository at this point
Copy the full SHA b26d0f2View commit details -
silkworm: make install (erigontech#8985)
We've got a report from a user that erigon fails to run with this error: ``` /opt/erigon/releases/latest/bin/erigon: error while loading shared libraries: libsilkworm_capi.so: cannot open shared object file: No such file or directory ``` On this system erigon is executed using a service-account user which has no permission to access the build user's $HOME where the libsilkworm_capi.so resides (inside $GOPATH/pkg/mod). This adds a support to silkworm-go to look for the library relative to the executable path on Linux: erigontech/silkworm-go@d4ec8a8 and a new `make DIST=<path> install` command which copies both the library and erigon binary to any destination.
Configuration menu - View commit details
-
Copy full SHA for ce57b8f - Browse repository at this point
Copy the full SHA ce57b8fView commit details -
borheimdall: add test for span persistence (erigontech#8988)
1. Adds an eth/stagedsync/test package which provides a test Harness object 2. Adds the first automated test to the bor-heimdall stage regarding span persistence (more to come in subsequent PRs) 3. Fixes a bug in the bor-heimdall stage which was uncovered with the test - we do not fetch span 0 when we sync straight from blockNum=0 without snapshots 4. Reorganises all mocks to be placed under ./mock sub-package within their respective packages
Configuration menu - View commit details
-
Copy full SHA for 1a6b83b - Browse repository at this point
Copy the full SHA 1a6b83bView commit details
Commits on Dec 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e82147c - Browse repository at this point
Copy the full SHA e82147cView commit details -
cmd/evm:fix Env struct json tag (erigontech#8986)
use geth found this doc problem ethereum/go-ethereum#28635
Configuration menu - View commit details
-
Copy full SHA for e018bb0 - Browse repository at this point
Copy the full SHA e018bb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for eeb471d - Browse repository at this point
Copy the full SHA eeb471dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d0627f - Browse repository at this point
Copy the full SHA 5d0627fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ccd8a1 - Browse repository at this point
Copy the full SHA 9ccd8a1View commit details -
borheimdall: add tests for state sync events persistence (erigontech#…
…8989) - adds a test for persisting state sync events at the beginning of every sprint
Configuration menu - View commit details
-
Copy full SHA for d23f306 - Browse repository at this point
Copy the full SHA d23f306View commit details
Commits on Dec 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a53b1d8 - Browse repository at this point
Copy the full SHA a53b1d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f934ecb - Browse repository at this point
Copy the full SHA f934ecbView commit details -
Added Blinded blocks type and Beacon endpoints (erigontech#9002)
* Added blinded block for internal uses * Added blinded block to the Beacon API
Configuration menu - View commit details
-
Copy full SHA for 6a1bb1d - Browse repository at this point
Copy the full SHA 6a1bb1dView commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 47c5f16 - Browse repository at this point
Copy the full SHA 47c5f16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1468317 - Browse repository at this point
Copy the full SHA 1468317View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffc26b0 - Browse repository at this point
Copy the full SHA ffc26b0View commit details -
Cleanuped up request handling (erigontech#9007)
* Some requests may lead to undefined behaviour this will make sure to call .Close once
Configuration menu - View commit details
-
Copy full SHA for a366629 - Browse repository at this point
Copy the full SHA a366629View commit details -
Configuration menu - View commit details
-
Copy full SHA for 037754a - Browse repository at this point
Copy the full SHA 037754aView commit details -
freezeblocks: fix blockreader last frozen bor span and event ids (eri…
…gontech#9018) During testing we run into a "span 7813 not found (db)" due to a very large unwind (1 million blocks). This is because the block reader's `LastFrozenSpanID` and `LastFrozenEventID` returned results that are not consistent with `FrozenBorBlocks`. The latter is taking into account the existence of `.idx` files while the former 2 functions were not. Note such a large unwind is not likely to happen normally unless there is a bug in our unwind logic or an operator is manually unwinding very far back due to reasons like chain halts (ie mumbai bug problem from few months ago), devel testing or anything else along these lines. Regardless, it exposed the above discrepancy which is best to be fixed.
Configuration menu - View commit details
-
Copy full SHA for 4f95342 - Browse repository at this point
Copy the full SHA 4f95342View commit details
Commits on Dec 19, 2023
-
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 (erigonte…
…ch#9020) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/crypto/commit/9d2ee975ef9fe627bf0a6f01c1f69e8ef1d4f05d"><code>9d2ee97</code></a> ssh: implement strict KEX protocol changes</li> <li><a href="https://github.com/golang/crypto/commit/4e5a26183ecb4f9a0f85c8f8dbe7982885435436"><code>4e5a261</code></a> ssh: close net.Conn on all NewServerConn errors</li> <li><a href="https://github.com/golang/crypto/commit/152cdb1503ebc13bc0fbb68f92ee189ebf9e3d00"><code>152cdb1</code></a> x509roots/fallback: update bundle</li> <li><a href="https://github.com/golang/crypto/commit/fdfe1f8531a1adcc300c8eba98cb372044826d62"><code>fdfe1f8</code></a> ssh: defer channel window adjustment</li> <li><a href="https://github.com/golang/crypto/commit/b8ffc16e10063067bac0e15c6d7f7995937503ce"><code>b8ffc16</code></a> blake2b: drop Go 1.6, Go 1.8 compatibility</li> <li><a href="https://github.com/golang/crypto/commit/7e6fbd82c804e1760feb603fe21caecb0af0a124"><code>7e6fbd8</code></a> ssh: wrap errors from client handshake</li> <li><a href="https://github.com/golang/crypto/commit/bda2f3f5cfce3f27039acccd823693f6d67c2a74"><code>bda2f3f</code></a> argon2: avoid clobbering BP</li> <li>See full diff in <a href="https://github.com/golang/crypto/compare/v0.16.0...v0.17.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/crypto&package-manager=go_modules&previous-version=0.16.0&new-version=0.17.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ledgerwatch/erigon/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 33fc53f - Browse repository at this point
Copy the full SHA 33fc53fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0b9d60 - Browse repository at this point
Copy the full SHA a0b9d60View commit details -
Disabled caplin phase2 for Gnosis temporairly. (erigontech#9006)
Gnosis phase2 will be disabled until we get good snapshot automation. * Just run it in "phase1" mode. * Create jwt secret accordingly
Configuration menu - View commit details
-
Copy full SHA for e75dc25 - Browse repository at this point
Copy the full SHA e75dc25View commit details
Commits on Dec 20, 2023
-
Update Ethereum Mainnet storage requirements (erigontech#9037)
Sync from scratch took about 4 days 15 hours, with total disk used about 2.8TB ``` ubuntu@localhost:/erigon$ cast block-number 18825796 ubuntu@localhost:/erigon$ ls chaindata downloader jwt.hex LOCK nodekey nodes snapshots temp txpool ubuntu@localhost:/erigon$ du -hs chaindata 2.2T chaindata ubuntu@localhost:/erigon$ du -hs downloader 17M downloader ubuntu@localhost:/erigon$ du -hs snapshots 473G snapshots ubuntu@localhost:/erigon$ du -hs temp 79G temp ```
kaliubuntu0206 authoredDec 20, 2023 Configuration menu - View commit details
-
Copy full SHA for 0c4bebb - Browse repository at this point
Copy the full SHA 0c4bebbView commit details -
db migration: if stage_snapshots > 0, then create prohibit_new_downlo…
…ads.lock file (erigontech#9036) it will protect existing nodes from downloading `v2` files - even if they do upgrade
Configuration menu - View commit details
-
Copy full SHA for 1ae3f41 - Browse repository at this point
Copy the full SHA 1ae3f41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2760eeb - Browse repository at this point
Copy the full SHA 2760eebView commit details
Commits on Dec 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7107cfe - Browse repository at this point
Copy the full SHA 7107cfeView commit details -
harness test: to use
Mock
for genesis write - for e35 compatibility (……erigontech#9012) `e35` doesn't write genesis state by special func anymore - and Mock using `m.InsertBlocks` to process genesis block (as any other block).
Configuration menu - View commit details
-
Copy full SHA for 379a5f8 - Browse repository at this point
Copy the full SHA 379a5f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eecd8c - Browse repository at this point
Copy the full SHA 4eecd8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c82225 - Browse repository at this point
Copy the full SHA 8c82225View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c5f65 - Browse repository at this point
Copy the full SHA 56c5f65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1499fbb - Browse repository at this point
Copy the full SHA 1499fbbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eb9151 - Browse repository at this point
Copy the full SHA 9eb9151View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55d37b9 - Browse repository at this point
Copy the full SHA 55d37b9View commit details -
Fix creation of torrent files (erigontech#9048)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 3b10ba9 - Browse repository at this point
Copy the full SHA 3b10ba9View commit details -
QA Test - Clean exit (erigontech#8981)
First "smoke test", to check Erigon clean exiting on ctrl-c
Configuration menu - View commit details
-
Copy full SHA for 393dd18 - Browse repository at this point
Copy the full SHA 393dd18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e18866 - Browse repository at this point
Copy the full SHA 0e18866View commit details
Commits on Dec 22, 2023
-
webseed: remove dependency on db state (erigontech#9051)
erigon didn't download form webseeds if StageSnapshots progress > 0. but sometime we want "just delete files and re-download them"
Configuration menu - View commit details
-
Copy full SHA for 95434d1 - Browse repository at this point
Copy the full SHA 95434d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 657aafd - Browse repository at this point
Copy the full SHA 657aafdView commit details -
txpool: the same logging style of announced and broadcasted tx (erigo…
…ntech#9054) Found the different log style for announced and broadcasted tx: ``` [INFO] [12-22|05:18:01.363] Local tx broadcasted txHash=ec6b1c87aafd7f8ead5794477be50bda696f2ce17271ad4f6022a756722fa0be to peer=10 [INFO] [12-22|05:18:01.363] local tx announced tx_hash=ec6b1c87aafd7f8ead5794477be50bda696f2ce17271ad4f6022a756722fa0be to peer=40 baseFee=1 ``` adjust them to the same style Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a45b4c7 - Browse repository at this point
Copy the full SHA a45b4c7View commit details -
mode to produce block snapshots (erigontech#9053)
`STAGES_ONLY_BLOCKS=true` may help to produce BlockSnaps by Erigon2 on weak machines - it disabling all stages after StageSenders.
Configuration menu - View commit details
-
Copy full SHA for eb4685f - Browse repository at this point
Copy the full SHA eb4685fView commit details -
polygon/sync: implement header downloader (erigontech#9030)
Co-authored-by: battlmonstr <battlmonstr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 64072ce - Browse repository at this point
Copy the full SHA 64072ceView commit details -
Allow proxy paths in Heimdall URL (erigontech#8940)
Add paths to the hiemdall config URL when creating calls so that extra paths needs by, for example proxy servers are not stripped from the flag value passed into the process.
Configuration menu - View commit details
-
Copy full SHA for a3a6170 - Browse repository at this point
Copy the full SHA a3a6170View commit details -
Configuration menu - View commit details
-
Copy full SHA for a36071e - Browse repository at this point
Copy the full SHA a36071eView commit details
Commits on Dec 23, 2023
-
Fixed duplicate bucket names, remove presigned URLs (erigontech#9060)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for ec970ac - Browse repository at this point
Copy the full SHA ec970acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b87d65 - Browse repository at this point
Copy the full SHA 2b87d65View commit details -
Add
blocksByRange
&blocksByRoot
P2P rpc handlers (erigontech#8885)This PR is ready to review. PR introduces `blocksByRange` and `blocksByRoot` P2P RPC methods - `blocksByRange` - allows peers to request a range of blocks - `blocksByRoot` - enables block requests using their root hashes(list format) Reference: https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#beaconblocksbyrange
Configuration menu - View commit details
-
Copy full SHA for a2f375c - Browse repository at this point
Copy the full SHA a2f375cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a83a91 - Browse repository at this point
Copy the full SHA 6a83a91View commit details -
Switched Caplin snapshot format to ZSTD blinded blocks (erigontech#9058)
* Chunked format -> blinded * LZ4 -> ZSTD * Implemented parent block root support for history download * Rationale: Allows to optimize GC collection easily on state reconstruction and it allows to read fast attestations in historical states reader
Configuration menu - View commit details
-
Copy full SHA for a4d7b6d - Browse repository at this point
Copy the full SHA a4d7b6dView commit details
Commits on Dec 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for be4036e - Browse repository at this point
Copy the full SHA be4036eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88a8aa6 - Browse repository at this point
Copy the full SHA 88a8aa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4186213 - Browse repository at this point
Copy the full SHA 4186213View commit details -
"downloader manifest": cmd to produce manifest.txt (erigontech#9067)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 77d32cc - Browse repository at this point
Copy the full SHA 77d32ccView commit details -
block retire: merge all possible files (even bor) even if nothing to …
…retire (erigontech#9068) Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for e08003f - Browse repository at this point
Copy the full SHA e08003fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2944abb - Browse repository at this point
Copy the full SHA 2944abbView commit details
Commits on Dec 25, 2023
-
[Grindmas] Added tests to Beacon API, also fixed stuff. (erigontech#9074
Configuration menu - View commit details
-
Copy full SHA for eaf0348 - Browse repository at this point
Copy the full SHA eaf0348View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab4a00f - Browse repository at this point
Copy the full SHA ab4a00fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc50bd5 - Browse repository at this point
Copy the full SHA bc50bd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d31444 - Browse repository at this point
Copy the full SHA 0d31444View commit details -
Update Polygon storage requirements (erigontech#9014)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for 9f9e364 - Browse repository at this point
Copy the full SHA 9f9e364View commit details -
Added Validators endpoint to Beacon API (erigontech#9080)
* Added /validators retrieval to beacon api * fixed race in sentinel * fixed possible UB in gossip management
Configuration menu - View commit details
-
Copy full SHA for cdb4731 - Browse repository at this point
Copy the full SHA cdb4731View commit details
Commits on Dec 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a48db43 - Browse repository at this point
Copy the full SHA a48db43View commit details
Commits on Dec 27, 2023
-
Added sentry simulator implementation (erigontech#9087)
This adds a simulator object with implements the SentryServer api but takes objects from a pre-existing snapshot file. If the snapshot is not available locally it will download and index the .seg file for the header range being asked for. It is created as follows: ```go sim, err := simulator.NewSentry(ctx, "mumbai", dataDir, 1, logger) ``` Where the arguments are: * ctx - a callable context where cancel will close the simulator torrent and file connections (it also has a Close method) * chain - the name of the chain to take the snapshots from * datadir - a directory potentially containing snapshot .seg files. If not files exist in this directory they will be downloaded * num peers - the number of peers the simulator should create * logger - the loger to log actions to It can be attached to a client as follows: ```go simClient := direct.NewSentryClientDirect(66, sim) ``` At the moment only very basic functionality is implemented: * get headers will return headers by range or hash (hash assumes a pre-downloaded .seg as it needs an index * the header replay semantics need to be confirmed * eth 65 and 66(+) messaging is supported * For details see: `simulator_test.go More advanced peer behavior (e.g. header rewriting) can be added Bodies/Transactions handling can be added
Configuration menu - View commit details
-
Copy full SHA for df0699a - Browse repository at this point
Copy the full SHA df0699aView commit details -
E2 snapshot uploading (erigontech#9056)
This change introduces additional processes to manage snapshot uploading for E2 snapshots: ## erigon snapshots upload The `snapshots uploader` command starts a version of erigon customized for uploading snapshot files to a remote location. It breaks the stage execution process after the senders stage and then uses the snapshot stage to send uploaded headers, bodies and (in the case of polygon) bor spans and events to snapshot files. Because this process avoids execution in run signifigantly faster than a standard erigon configuration. The uploader uses rclone to send seedable (100K or 500K blocks) to a remote storage location specified in the rclone config file. The **uploader** is configured to minimize disk usage by doing the following: * It removes snapshots once they are loaded * It aggressively prunes the database once entities are transferred to snapshots in addition to this it has the following performance related features: * maximizes the workers allocated to snapshot processing to improve throughput * Can be started from scratch by downloading the latest snapshots from the remote location to seed processing ## snapshots command Is a stand alone command for managing remote snapshots it has the following sub commands * **cmp** - compare snapshots * **copy** - copy snapshots * **verify** - verify snapshots * **manifest** - manage the manifest file in the root of remote snapshot locations * **torrent** - manage snapshot torrent files
Configuration menu - View commit details
-
Copy full SHA for 79ed8ca - Browse repository at this point
Copy the full SHA 79ed8caView commit details
Commits on Dec 28, 2023
-
rpc: implement txpool_contentFrom (erigontech#9057)
implement the `txpool_contentFrom` rpc, used to retrieve the specified address's tx contents. --------- Signed-off-by: jsvisa <delweng@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 398bcb5 - Browse repository at this point
Copy the full SHA 398bcb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 698ee60 - Browse repository at this point
Copy the full SHA 698ee60View commit details -
Introduce new public buckets for the snapshots (erigontech#9094)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
Configuration menu - View commit details
-
Copy full SHA for ab27531 - Browse repository at this point
Copy the full SHA ab27531View commit details -
borheimdall: add tests for validator set and selected proposers valid…
…ation (erigontech#9089) Adds unit tests for: - Bor Heimdall Stage - `checkHeaderExtraData` - at end of each sprint verifies that the validators in the header extra data matches the selected proposers from the heimdall span - 1 test for selected proposers length mismatch - 1 test for selected proposers bytes mismatch - BorHeimdall Stage - `persistValidatorSets` - verifies that each header is created by a validator in the validator set - in such situation we set the unwind point
Configuration menu - View commit details
-
Copy full SHA for 6770487 - Browse repository at this point
Copy the full SHA 6770487View commit details -
borheimdall: only fetch next span when in last sprint of current span (…
…erigontech#9096) Heimdall prepares the next span a number of sprints before the current span ends. Currently we always fetch the next span regardless of which sprint we are in during the current span. This causes a liveness issue due to how the Heimdall client works (it infinitely retries until it fetches a span - this issue will be fixed in a separate PR). This PR fixes this by matching what bor does - it fetches the next span only in the last sprint of the current span. Changes: - Adds a unit test for the above - Adds a new function BlockInLastSprintOfSpan - Some code reorg and cleanup - moves the span num related functions from the bor package to the span sub package for better logical grouping
Configuration menu - View commit details
-
Copy full SHA for 1f237c0 - Browse repository at this point
Copy the full SHA 1f237c0View commit details -
heimdall: use span id as naming (erigontech#9097)
follow up on naming as suggested here erigontech#9096 (review)
Configuration menu - View commit details
-
Copy full SHA for f8cc27a - Browse repository at this point
Copy the full SHA f8cc27aView commit details -
heimdall: add max retries to heimdall client (erigontech#9098)
Corresponds to the client fix in this PR description - erigontech#9096 (comment)
Configuration menu - View commit details
-
Copy full SHA for fc9dae1 - Browse repository at this point
Copy the full SHA fc9dae1View commit details
Commits on Dec 30, 2023
-
heimdall: better error logging for clerk/event-record/list nil respon…
…se (erigontech#9103) Users reported this error ``` [bor.heimdall] an error while trying fetching path=clerk/event-record/list attempt=5 error="unexpected end of JSON input" ``` Which may happen if: 1. Heimdall is behind and not sync-ed - for more info check maticnetwork/heimdall#993 2. Or the header time erigon is sending is far into the future The logs in this PR will help us see which of the 2 is the culprit but most likely it is 1. We will investigate further 2. if it ever happens. Changes: 1. Improves logging upon heimdall client retries - prints out the full url that failed. 2. Fixes a bug where the body was incorrectly checked if it is empty - `len(body) == 0` vs `body == nil` 3. Unit test for the bug regression 4. Adds a log to indicate to users to check their heimdall process if they run into this scenario since that may be the culprit Example output with new logs <img width="1465" alt="Screenshot 2023-12-29 at 20 16 57" src="https://github.com/ledgerwatch/erigon/assets/94537774/1ebfde68-aa93-41d6-889a-27bef5414f25">
Configuration menu - View commit details
-
Copy full SHA for b562eff - Browse repository at this point
Copy the full SHA b562effView commit details -
Configuration menu - View commit details
-
Copy full SHA for 510d62a - Browse repository at this point
Copy the full SHA 510d62aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78bb3cd - Browse repository at this point
Copy the full SHA 78bb3cdView commit details -
Added GET /eth/v1/beacon/rewards/blocks/{block_id} and POST /eth/v1/b…
…eacon/rewards/sync_committee/{block_id} (erigontech#9102) * Changed slightly archive format (again) * Added all of the remaining rewards endpoints
Configuration menu - View commit details
-
Copy full SHA for 46ecf03 - Browse repository at this point
Copy the full SHA 46ecf03View commit details
Commits on Dec 31, 2023
-
Added db loggers to all db callers and fixed flag settings (erigontec…
…h#9099) Mdbx now takes a logger - but this has not been pushed to all callers - meaning it had an invalid logger This fixes the log propagation. It also fixed a start-up issue for http.enabled and txpool.disable created by a previous merge
Configuration menu - View commit details
-
Copy full SHA for 19bc328 - Browse repository at this point
Copy the full SHA 19bc328View commit details -
Configuration menu - View commit details
-
Copy full SHA for 580c555 - Browse repository at this point
Copy the full SHA 580c555View commit details
Commits on Jan 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a959387 - Browse repository at this point
Copy the full SHA a959387View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab123c - Browse repository at this point
Copy the full SHA bab123cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13da868 - Browse repository at this point
Copy the full SHA 13da868View commit details
Commits on Jan 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 415b17c - Browse repository at this point
Copy the full SHA 415b17cView commit details -
Make Caplin work with Otterscan (erigontech#9115)
* Fixed mispelling in json fields * Added CORS
Configuration menu - View commit details
-
Copy full SHA for 3d10cee - Browse repository at this point
Copy the full SHA 3d10ceeView commit details
Commits on Jan 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 777f5dc - Browse repository at this point
Copy the full SHA 777f5dcView commit details -
chore(cmd/evm):fix link jump in cmd/evm/README.md (erigontech#9114)
fix the relative path in cmd/evm/README.md ![image](https://github.com/ledgerwatch/erigon/assets/24953789/058b0486-f8cf-4fa3-ad53-e01b5ea6f0c3)
Configuration menu - View commit details
-
Copy full SHA for a2274f3 - Browse repository at this point
Copy the full SHA a2274f3View commit details -
Update README.md (erigontech#9112)
Hi, I made three suggestions for this section: - "devenet" should be "devnet" (typo). - "are currently build" should be "are currently built" (grammatical error). - "sptep" should be "step" (typo). Thanks.
Configuration menu - View commit details
-
Copy full SHA for a645ef6 - Browse repository at this point
Copy the full SHA a645ef6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 391b267 - Browse repository at this point
Copy the full SHA 391b267View commit details -
devnet: fix ws port clash for state-sync scenario (erigontech#9125)
Getting an error in one of the bor nodes in devnet when trying to run the "state-sync" scenario: ``` [EROR] [01-03|16:55:44.179] cli.StartRpcServer error err="could not start separate Websocket RPC api at port 8546: listen tcp 127.0.0.1:8546: bind: address already in use" ``` This happens for scenarios with more than 1 node. Digging further this regressions has happened due to this change: erigontech#8909 This PR fixes this by updating the devnet `NodeArgs` struct to set the corresponding `--ws.port` `arg` tag which now exists.
Configuration menu - View commit details
-
Copy full SHA for b94ca6d - Browse repository at this point
Copy the full SHA b94ca6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18baf81 - Browse repository at this point
Copy the full SHA 18baf81View commit details
Commits on Jan 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 82822ee - Browse repository at this point
Copy the full SHA 82822eeView commit details
Commits on Jan 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a49fcb8 - Browse repository at this point
Copy the full SHA a49fcb8View commit details
Commits on Jan 8, 2024
-
release: Amoy bootnodes (erigontech#9166)
Cherry pick erigontech#9158 --------- Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d079008 - Browse repository at this point
Copy the full SHA d079008View commit details
Commits on Jan 11, 2024
-
p2p/discv4: revert gotreply handler change from erigontech#8661 (erig…
…ontech#9119) (erigontech#9195) (erigontech#9210) Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c9216ce - Browse repository at this point
Copy the full SHA c9216ceView commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d391d2c - Browse repository at this point
Copy the full SHA d391d2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a34c351 - Browse repository at this point
Copy the full SHA a34c351View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27617b0 - Browse repository at this point
Copy the full SHA 27617b0View commit details -
Revert "release 2.55: Revert PR 8829 (erigontech#8896)"
This reverts commit b39f324. and this recovers erigontech#8829 Co-Authored-By: battlmonstr <11477595+battlmonstr@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for ecad027 - Browse repository at this point
Copy the full SHA ecad027View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dfd326 - Browse repository at this point
Copy the full SHA 8dfd326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4060104 - Browse repository at this point
Copy the full SHA 4060104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ac47b9 - Browse repository at this point
Copy the full SHA 0ac47b9View commit details -
Update TestGoerliForkDigest after Dencun (erigontech#9251)
Current fork digest for Görli has changed after the [Dencun upgrade](https://blog.ethereum.org/2024/01/10/goerli-dencun-announcement) on 17 Jan.
Configuration menu - View commit details
-
Copy full SHA for 8c03e9d - Browse repository at this point
Copy the full SHA 8c03e9dView commit details
Commits on Apr 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b4475c6 - Browse repository at this point
Copy the full SHA b4475c6View commit details