Commit Graph

17775 Commits

Author SHA1 Message Date
Alex Sharov
288fe5dcfb
dnsdisc: backport geth latest version and fixes for go1.20 (#6925) 2023-02-22 08:29:34 +00:00
Alex Sharov
a19d1b59c5
Pool and RPCBlocksCache: to use generic lru (#6928) 2023-02-22 07:50:00 +00:00
Alex Sharov
be4f5cf078
mdbx: to support empty key/values #6923 (#6927) 2023-02-22 07:04:48 +00:00
Alex Sharov
7f0abb8250
downloader: suspend cancelation warning #899 (#6926) 2023-02-22 11:32:19 +07:00
Alex Sharov
309b4812d3
mdbx: to support empty key/values (#6923) 2023-02-22 04:10:57 +00:00
Alex Sharov
510993f09f
libp2p pubsub panic fix (#6924)
see: https://github.com/libp2p/go-libp2p-pubsub/pull/522
2023-02-22 03:07:17 +00:00
Alex Sharov
4a81e62ea8
lightclient: simple retry backoff (#6922) 2023-02-22 01:42:01 +00:00
Andrew Ashikhmin
54593d934c
Don't use embedded CL by default for Gnosis (#6918)
Only Nimbus peers support light clients, and there's not enough Nimbus
peers on Gnosis.
2023-02-21 18:36:25 +00:00
Andrew Ashikhmin
67de38f097
Schedule Capella on Sepolia (#6920)
See https://github.com/eth-clients/sepolia/pull/30
2023-02-21 14:57:35 +00:00
Andrew Ashikhmin
0025783123
Protection against duplicate requests to build the same block (#5795)
If I'm not mistaken, some CLs in some circumstances can send duplicate
requests to build a block. This is a protection against throwing away
progress in case block building has already started.
2023-02-21 09:24:59 +00:00
Alex Sharov
ddcb1c90cd
e3: don't collect readList in ApplyWorker, because it's conflict-free (#6916) 2023-02-21 05:11:45 +00:00
alex.sharov
3a4ad0c614 GraphQL docs 2023-02-21 08:25:06 +07:00
ledgerwatch
f09fd51083
Skip the graphQL test which is not unit test (#6912)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2023-02-20 22:51:46 +00:00
Anshal Shukla
62a890df93
Remove miner address from eth_getBlockByNumber for bor RPC calls (#6898)
Makes it consistent with response of bor. Fixes
[Issue#735](https://github.com/maticnetwork/bor/issues/735).
2023-02-20 22:04:42 +00:00
Stéphane Loeuillet
195a72bf74
Initial GraphQL interface implementation (#6821)
That's an initial PR mostly for code review, not ready for production
use

Got basic GraphQL working when querying a single block

---------

Co-authored-by: Alex Sharov <AskAlexSharov@gmail.com>
2023-02-20 11:23:06 +00:00
Alex Sharov
c7a654cf05
E3: trace_filter to support of pos (#6909) 2023-02-20 09:42:40 +00:00
Anshal Shukla
7ce3f7b158
State sync transactions added to debug_traceBlockByNumber call (#6830)
State sync transactions can be enabled using `"borTraceEnabled": true`
parameter, this is to ensure that the current behaviour is unchanged.
2023-02-20 08:04:11 +00:00
alex.sharov
8580111641 lighting: reduce retry rate 2023-02-20 14:39:31 +07:00
Alex Sharov
b5a310effe
temporary solution for lightclient ratelimit (#6908) 2023-02-20 07:33:13 +00:00
Alex Sharov
1ee4a13904
temporary solution for lightclient ratelimit (#6907)
https://github.com/ledgerwatch/erigon/issues/6905
2023-02-20 07:31:20 +00:00
Alex Sharov
2b0d0d8811
EliasFano: Search to touch only UpperBits array (#6904) 2023-02-20 06:42:37 +00:00
Alex Sharov
c3325b989f
torrent lib version up (#6903) 2023-02-20 04:43:03 +00:00
ledgerwatch
fb28579189
Bump version (#6901) 2023-02-19 18:39:04 +00:00
ledgerwatch
1705a52876
Cleanup in IntraBlockState (#6900)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-02-19 17:19:52 +00:00
dependabot[bot]
3b68ccd823
build(deps): bump golang.org/x/net from 0.6.0 to 0.7.0 (#6896)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to
0.7.0.
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8e2b117aee"><code>8e2b117</code></a>
http2/hpack: avoid quadratic complexity in hpack decoding</li>
<li><a
href="547e7edf38"><code>547e7ed</code></a>
http2: avoid referencing ResponseWrite.Write parameter after
returning</li>
<li><a
href="39940adcaa"><code>39940ad</code></a>
html: parse comments per HTML spec</li>
<li>See full diff in <a
href="https://github.com/golang/net/compare/v0.6.0...v0.7.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/net&package-manager=go_modules&previous-version=0.6.0&new-version=0.7.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 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)
- `@dependabot use these labels` will set the current labels as the
default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as
the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as
the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the
default for future PRs for this repo and language

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>
2023-02-18 10:29:20 +07:00
Giulio rebuffo
afe3c89c3a
added sanity tests to consensus spec tests (#6897) 2023-02-17 23:00:07 +00:00
Giulio rebuffo
df1563b401
Passing all finality consensus-spec-tests for altair/bellatrix (#6894) 2023-02-17 17:57:05 +00:00
Giulio rebuffo
a23429c352
Added finality consensus-specs-tests (#6892) 2023-02-17 14:13:00 +00:00
Andrew Ashikhmin
e31678f355
Body downloader: fix empty withdrawals in empty bodies (#6893)
Potentially fixes Issue #6817.
2023-02-17 14:05:49 +00:00
Alex Sharov
433f031db3
trackers up (#6890) 2023-02-17 02:38:25 +00:00
Giulio rebuffo
917cb7dac6
Fixed epoch processing Sqrt cache (#6889) 2023-02-16 21:48:32 +00:00
Philippe Schommers
55091456a7
feat: add Gnosis and Chiado to CL (#6788)
This adds the Gnosis and Chiado configs to the CL. I'm sure there's
other things missing too. Any pointers would be appreciated!

Currently stuck on:
```
INFO[02-06|14:00:01.421] [Checkpoint Sync] Requesting beacon state uri=https://checkpoint.gnosis.gateway.fm/eth/v2/debug/beacon/states/finalized
INFO[02-06|14:00:02.846] [Checkpoint Sync] Retrieving lightclient bootstrap from sentinel root=6cd2f0f4018d7ca17c9bfaf69f7eb46706b5a9b3356b9686aa71ae15a11c47e4
```
2023-02-16 19:40:50 +00:00
Giulio rebuffo
60a3aa71e3
Fixed epoch processing consensus tests (#6887) 2023-02-16 19:04:16 +00:00
Jochen Müller
4106a899d5
Chiado snapshots (#6886)
No change to `go.mod` since `erigon-snapshot` has already been updated
in `devel`.

I'll keep my Chiado node up to serve the snapshots for a while, until
there are more erigon nodes in the network.

Resolves #6307
2023-02-16 12:05:33 +00:00
Giulio rebuffo
3c069f7cbd
added static peers flag (#6884) 2023-02-15 17:56:10 +00:00
Giulio rebuffo
ae8657e226
API in lightclient instead of gossip (#6883) 2023-02-15 17:09:21 +00:00
Giulio rebuffo
4b7d6305aa
Added Epoch processing Ethereum consensus tests (#6878) 2023-02-15 16:53:28 +00:00
alex.sharov
349bdb7a4f e3: less mainnet snapshots 2023-02-15 19:23:18 +07:00
alex.sharov
a251da2515 e3: move part to ergion-lib 2023-02-15 11:16:34 +07:00
alex.sharov
917b14962e e3: simplify mutex 2023-02-15 11:07:34 +07:00
alex.sharov
26106769d3 e3: simplify mutex 2023-02-15 10:56:45 +07:00
Alex Sharov
513c1165fe
Dockerfile: golang 1.20.1 and alpine 3.17 (#6880) 2023-02-15 03:30:15 +00:00
alex.sharov
35c1bc07e7 e3: discard history flag 2023-02-15 10:23:19 +07:00
alex.sharov
54d882c121 prometheus/grafana up 2023-02-15 10:10:36 +07:00
J1ang
b1fce955ca
fix: replace common package to libcommon package in abigen (#6879)
fix: replace common package to libcommon package in `abigen`.
2023-02-15 02:46:12 +00:00
Andrew Ashikhmin
58fcc04575
blockValue should use gasUsed rather than gasLimit (#6875)
Fees going to the gas fee recipient should be based on the actual gas
used (available in the receipt) rather than the gas limit in a
transaction. This fixes Hive test "GetPayloadV2 Block Value".

Also `engine_getPayloadBodiesByRangeV1` params should be encoded as hex
strings.
2023-02-14 15:05:27 +00:00
mmsqe
add5f80f43
doc: fix typo for ReturnDataLimit (#6874) 2023-02-14 14:35:51 +00:00
Andrew Ashikhmin
0a8d4799e2
[AuRa] Enable EIP-170 when EIP-3860 is enabled (#6873) 2023-02-14 11:20:23 +00:00
Andrew Ashikhmin
8ad2500fe6
Update Chiado bootnodes (#6872)
See https://github.com/NethermindEth/nethermind/pull/5239
2023-02-14 11:19:52 +00:00
hexoscott
f370e6ee0d
fix timing issue in stageLoopIsBusy (#6871) 2023-02-14 11:18:38 +00:00