Alex Sharov
7aa79a5bbb
TestState: share db ( #8576 )
2023-10-25 20:08:50 +07:00
Andrew Ashikhmin
656c3d239e
params: remove dev from v2.53.0 ( #8581 )
2023-10-25 15:05:05 +02:00
Andrew Ashikhmin
38e91809f9
Revert "Move validator set snapshot computation to bor_heimdall stage… ( #8580 )
...
PR #8202 might cause Issue #8550 , so reverting it until Alexey's return.
This reverts commit 2ce98f8337
.
2023-10-25 14:02:31 +02:00
Anshal Shukla
95424b5ccc
fix nil error in bor devnet ( #8578 )
2023-10-25 10:16:43 +01:00
Alex Sharov
52c4489b04
sapshots: remove modtime protection ( #8573 )
...
Historically we had several times when:
- erigon downloaded new version of .seg file
- or didn't finish download and start indexing
this was a "quick-fix protection" against this cases
but now we have other protections for this cases
let's try to remove this one - because it's not compatible with "copy
datadir" and "restore datadir from backup" scenarios
2023-10-25 11:35:45 +07:00
Alex Sharov
3d3c0bec18
downloader: log.Trace non-important log messages instead of skipping it ( #8574 )
2023-10-25 11:35:22 +07:00
Giulio rebuffo
d7448fdb3f
Added functional beacon snapshots reader and generator to Caplin ( #8570 )
...
This PR adds beacon blocks snapshots and beacon blocks snapshot
generator to Caplin, plus a snapshot verifier CLI
2023-10-24 21:32:29 +02:00
Dmytro
b9a8c2d6e6
sentry: error checking fix ( #8566 )
2023-10-24 10:49:48 +02:00
Somnath
c1697caea3
Update Readme - gnosis size ( #8538 )
2023-10-24 09:57:13 +02:00
lupin012
e42642e353
rpctest: Fix error mgt from bench1 to bench9 ( #8548 )
2023-10-24 12:55:33 +07:00
Alex Sharov
dd8920008f
readme: faq on public rpc api ( #8541 )
2023-10-24 12:55:22 +07:00
a
0a8bda751e
mbps ( #8564 )
2023-10-23 21:23:54 +02:00
Dmytro
ec59be2261
Dvovk/sentinel and sentry peers data collect ( #8533 )
2023-10-23 17:33:08 +03:00
Mark Holt
601b7e6870
Fix metrics get perf regression ( #8563 )
...
Calling vm to get a metric and then preregistering it to avoid
duplication is expensive.
To avoid this we can make a local lookup first which is a map this
quicker. This is a temporary fix
until vm is removed at which point we'll have a single prom_client
registry
Fixes: https://github.com/ledgerwatch/erigon/issues/8558
2023-10-23 15:19:52 +01:00
Mark Holt
047197e24c
Fix panic in isAgra check for txpool ( #8562 )
...
Fixes a nil pointer panic in the isagra check when running on an empty
chain db. In this case the block will return as nil with no error.
2023-10-23 15:17:55 +01:00
Andrew Ashikhmin
a54939633e
Numerical instead of lexicographic sorting in borKeyValueConfigHelper ( #8560 )
...
Corresponds to Item 3 of https://github.com/maticnetwork/bor/pull/1055
2023-10-23 14:11:32 +02:00
Andrew Ashikhmin
a226b6ca29
Fix wiring of AgraBlock into tx pool ( #8555 )
...
Fixes and simplifications to PR #8504
2023-10-23 11:03:46 +02:00
Giulio rebuffo
995009ac7b
Added cli too for Snapshots Generations for Caplin ( #8543 )
2023-10-22 19:21:37 +02:00
Giulio rebuffo
8f29ca7405
Same range parallel downloader ( #8554 )
...
will do a more advanced version later
2023-10-22 17:30:27 +02:00
Andrew Ashikhmin
ee942473d9
Replace eip1559FeeCollector with burntContract ( #8553 )
...
burntContract, introduced in PR #8504 , is more generic than
eip1559FeeCollector
2023-10-22 16:23:40 +02:00
Andrew Ashikhmin
84a0b702b9
Update go-kzg-4844 to v0.7.0 ( #8551 )
2023-10-22 12:44:56 +02:00
Alex Sharov
dd09762ebe
integration: open db in Accede mode ( #8535 )
2023-10-22 08:57:07 +07:00
a
436493350e
Sentinel refactor ( #8296 )
...
1. changes sentinel to use an http-like interface
2. moves hexutil, crypto/blake2b, metrics packages to erigon-lib
2023-10-22 01:17:18 +02:00
Giulio rebuffo
0ac11d0c94
Remove useless printlns ( #8542 )
2023-10-21 23:44:56 +02:00
Giulio rebuffo
3f30b96199
Forkchoice states saved on disk ( #8546 )
2023-10-21 23:10:58 +02:00
felddoteth
e8c0ce33eb
Update Makefile ( #8544 )
...
Allow overriding go binary
On FreeBSD go binaries are installed as go118, go119, go120, etc.
This fixes the ability to build erigon with a command like:
GO=go120 gmake
2023-10-21 10:24:04 +07:00
Anshal Shukla
7dce1268ab
Agra HF ( #8504 )
...
Adds agra HF to the bor consensus
2023-10-21 01:16:19 +05:30
ledgerwatch
2ce98f8337
Move validator set snapshot computation to bor_heimdall stage ( #8202 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-10-20 18:31:00 +01:00
Giulio rebuffo
863693a6a0
remove sentinel port from README ( #8539 )
...
By default sentinel is embedded and direct
2023-10-20 16:00:34 +02:00
Andrew Ashikhmin
106e880442
Update execution spec tests to v1.0.6 ( #8536 )
...
[v1.0.6](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.6 )
Cancun Devnet 10
2023-10-20 11:13:29 +02:00
Alex Sharov
f696c37183
etl: more tests ( #8534 )
2023-10-20 13:54:46 +07:00
Alex Sharov
783b2f39d6
downloader: fix e2 bucket name ( #8521 )
2023-10-20 13:54:38 +07:00
Giulio rebuffo
ec2207fc7f
Gnosis Snapshot updated ( #8532 )
2023-10-19 23:49:14 +02:00
Andrew Ashikhmin
f492d88178
Switch to official KZG ceremony trusted setup (EIP-4844) ( #8531 )
...
See https://github.com/ethereum/consensus-specs/pull/3521 &
https://github.com/crate-crypto/go-kzg-4844/pull/61 . This is required
for
[dencun-devnet-10](https://notes.ethereum.org/@ethpandaops/dencun-devnet-10 ).
2023-10-19 18:33:05 +02:00
Andrew Ashikhmin
5dd311c541
eth/68: always announce tx sizes without envelopes ( #8530 )
...
It turns out that Marius got it the other way round in Issue #8456 . See
https://discord.com/channels/595666850260713488/1162151688816308245
2023-10-19 14:37:55 +02:00
Willian Mitsuda
82c54aa1af
Remove duplicate code in ots API ( #8529 )
2023-10-19 07:11:22 -03:00
Andrew Ashikhmin
0f1466c940
Fix rlp.EncodeString for length 56 ( #8528 )
...
Should fix the [following
issue](https://discord.com/channels/687972960811745322/738982866670714901/1164291343745568858 ):
```
git_branch=devel git_tag=v2.52.0-50-g82f1e9f34-dirty git_commit=82f1e9f342ae46d38f41b0561f879f192cdd8fa0
[WARN] [10-18|19:40:19.892] newPayload failed err="rlp: element is larger than containing list"
[WARN] [10-18|19:40:19.892] fail to process block reason="rlp: element is larger than containing list" slot=7569470
```
2023-10-19 11:45:19 +02:00
Alex Sharov
12d33d516c
downloader: supress some "EOF" logs ( #8519 )
2023-10-19 11:29:35 +07:00
Alex Sharov
f998e18219
downloader: default webseed token for e2 ( #8512 )
2023-10-19 08:17:49 +07:00
Giulio rebuffo
684ca4c030
keep caplin data ( #8518 )
2023-10-19 00:53:03 +02:00
Giulio rebuffo
343479988c
Caplin <-> MDBX ( #8470 )
2023-10-18 23:10:53 +02:00
Giulio rebuffo
82f1e9f342
Skip blockhashes stage ( #8497 )
2023-10-18 16:39:11 +02:00
Alex Sharov
6edaee1853
downloader: less webseed logs ( #8510 )
2023-10-18 15:27:41 +07:00
Andrew Ashikhmin
f26be2c4c3
Simplify RLP size calculations ( #8506 )
...
Use `ListPrefixLen` & `StringLen` from erigon-lib more
2023-10-18 09:28:11 +02:00
Alex Sharov
33d5399436
downloader: support token ( #8507 )
2023-10-18 14:24:09 +07:00
Alex Sharov
3ac9f493b6
move chainname and snapcfg packages to erigon-lib ( #8508 )
2023-10-18 13:37:39 +07:00
canepat
9568567eda
Add RPC daemon using Silkworm ( #8486 )
...
This introduces _experimental_ RPC daemon run by embedded Silkworm
library. Same notes as in PR #8353 apply here plus the following ones:
- activated if `http` command-line option is enabled and `silkworm.path`
option is present, nothing more is required (i.e. currently, both block
execution and RPC daemon run by Silkworm when specifying
`silkworm.path`, just to keep things as simple as possible)
- only Execution API endpoints are implemented by Silkworm RPCDaemon,
whilst Engine API endpoints are still served by Erigon RPCDaemon
- some features are still missing, in particular:
- state change notification handling
- custom JSON RPC settings (i.e. Erigon RPC settings are not passed to
Silkworm yet)
2023-10-18 06:37:16 +07:00
canepat
19c428dd7d
Use Erigon execution for memory mutations ( #8503 )
2023-10-17 22:52:52 +02:00
Andrew Ashikhmin
def6067f30
eth/68: always announce tx sizes with envelopes ( #8502 )
...
N.B. [eth/68](https://eips.ethereum.org/EIPS/eip-5793 ) is implemented by
`EncodeAnnouncements` in `erigon-lib/rlp/encodel.go`
2023-10-17 16:52:29 +02:00
tk
8ddfbfd88c
Spell Check: Fix typos ( #8480 )
...
Spell Check:
Concensus --> Consensus
prodiced --> produced
configuraion --> configuration
cabable --> capable
structue --> structure
eample --> example
nework --> network
configration --> configuration
regestering --> registering
registratio --> registration
excuted --> executed
Simlarly --> Similarly
dictactes --> dictates
respresented --> represented
lengthes --> lengths
2023-10-17 11:21:27 +07:00