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
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
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
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
Andrew Ashikhmin
b60642fa5a
Configure EIP-4844 parameters for Gnosis ( #8464 )
...
See https://github.com/gnosischain/specs/pull/20 &
https://github.com/gnosischain/specs/pull/24
2023-10-13 11:43:16 +02:00
Alex Sharov
6d9a4f4d94
rpcdaemon: must not create db - because doesn't know right parameters ( #8445 )
2023-10-12 14:11:46 +07:00
Giulio rebuffo
d90572b786
Hopefully an even faster version of mocked sentry ( #8402 )
2023-10-07 22:30:10 +02:00
Alex Sharov
87778fd0be
increase integration tests timeout ( #8389 )
2023-10-06 15:42:00 +07:00
Giulio rebuffo
2294c8c66c
EthereumExecutionService in MockSentry ( #8373 )
...
Now we use the ethereum execution service directly:
* Changed sig of InsertChain
* Use of the service in case of PoS
2023-10-05 18:30:19 +02:00
Alex Sharov
fa3b8c23b2
Downloader: step towards more complex datadir ( #8286 )
...
migration included - no manual actions required
2023-10-04 11:01:02 +07:00
Andrew Ashikhmin
6afcd7eeb6
Update BeaconRootsAddress ( #8294 )
...
Set BeaconRootsAddress to `0x000F3df6D732807Ef1319fB7B8bB8522d0Beac02`
in preparation for
[dencun-devnet-9](https://notes.ethereum.org/@ethpandaops/dencun-devnet-9 )
per https://github.com/ethereum/EIPs/pull/7672 . Hopefully this will be
the final change to BeaconRootsAddress.
Also update execution-spec-tests to
[v1.0.5](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.5 ).
2023-09-26 17:44:36 +02:00
Mark Holt
f794438335
Diag session routing ( #8232 )
...
Code to support react based UI for diagnostics:
* pprof, prometheus and diagnistics rationalized to use a single router
(i.e. they can all run in the same port)
* support_cmd updated to support node routing (was only first node)
* Multi content support in router tunnel (application/octet-stream &
appliaction/json)
* Routing requests changed from using http forms to rest + query params
* REST query requests can now be made against erigon base port and
diagnostics with the same url format/params
---------
Co-authored-by: dvovk <vovk.dimon@gmail.com>
Co-authored-by: Mark Holt <mark@disributed.vision>
2023-09-25 16:24:17 +01:00
Andrew Ashikhmin
e62e131a8e
Verify excessBlobGas (EIP-4844) ( #8269 )
2023-09-22 11:52:33 +02:00
Andrew Ashikhmin
ec2f50f74e
Upgrade execution-spec-tests to Cancun Devnet 9 Release 2 ( #8262 )
...
Upgrade execution-spec-tests to
[v1.0.4](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.4 ).
Set BeaconRootsAddress to `0xbEAC020008aFF7331c0A389CB2AAb67597567d7a`
in preparation for
[dencun-devnet-9](https://notes.ethereum.org/@ethpandaops/dencun-devnet-9 )
per https://github.com/ethereum/EIPs/pull/7672 .
2023-09-22 08:53:21 +02:00
Andrew Ashikhmin
a6309fe02e
Upgrade execution-spec-tests to Cancun Devnet 9 Release ( #8208 )
...
Upgrade execution-spec-tests to
[v1.0.3](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.3 ).
Set BeaconRootsAddress to `0xbEac00dDB15f3B6d645C48263dC93862413A222D`
in preparation for
[dencun-devnet-9](https://notes.ethereum.org/@ethpandaops/dencun-devnet-9 ).
2023-09-18 08:45:52 +02:00
Alex Sharov
3cea1b9b9e
torrent: add --webseeds cli arg ( #8176 )
2023-09-12 12:18:47 +07:00
Mark Holt
e81852320c
Remove unused metrics and out of date versions ( #8109 )
...
ergon/metrics contains a lot of unused types - the pull is removing them
prior to rationalizing between Prometheus and Victoria Metrics types.
It also have upgrades of golang-lru + sets types to v2 when possible.
2023-09-01 07:13:13 +07:00
battlmonstr
f7c7c109ce
ci: move TestExecutionSpec and TestMiningBenchmark to integration test suite ( #8104 )
...
TestExecutionSpec takes significant time to run (12s for me),
and frequently timeouts on Windows PR builds:
https://github.com/ledgerwatch/erigon/actions/runs/5974942021/job/16235304043?pr=8077
Same with bor.TestMiningBenchmark:
https://github.com/ledgerwatch/erigon/actions/runs/6024465717/job/16343219099
Move it to the integration workflow where the timeout is longer.
2023-08-30 14:54:27 +02:00
Mark Holt
f05a6ab43e
Bor mining benchmark ( #8096 )
...
Replacement for: https://github.com/ledgerwatch/erigon/pull/7998 with
windows fixes
---------
Co-authored-by: SHIVAM SHARMA <shivam691999@gmail.com>
2023-08-30 10:25:02 +01:00
Andrew Ashikhmin
a03e85e749
Disable TestExecutionSpec in e3 ( #8076 )
2023-08-25 12:43:29 +02:00
Andrew Ashikhmin
078e93011e
Skip failing TestBlockchainEIP ( #8074 )
2023-08-25 09:58:13 +02:00
Andrew Ashikhmin
75e3ae0ba4
Revert ethereum tests back to v12.3 ( #8073 )
...
Revert inadvertent change made by PR #8061
2023-08-25 08:36:43 +02:00
Andrew Ashikhmin
a6d9d26fe9
Fix opSelfdestruct6780 ( #8066 )
...
also upgrade execution-spec-tests to
[v1.0.2](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.2 )
2023-08-25 08:06:59 +02:00
Andrew Ashikhmin
1fd9d20e14
EIP-4788 v2 (no precompile) ( #8038 )
...
See https://github.com/ethereum/EIPs/pull/7456 &
https://github.com/ethereum/go-ethereum/pull/27849 . Also set the gas
limit for system calls to 30M (previously 2^64-1), which is in line with
the [Gnosis
spec](https://github.com/gnosischain/specs/blob/master/execution/withdrawals.md#specification ),
but should be doubled checked for Gnosis Chain.
2023-08-24 17:10:50 +02:00
Alex Sharov
2b6c21fddb
move mdbx to new org ( #8061 )
2023-08-24 18:00:24 +07:00
Andrew Ashikhmin
72e7cda960
Disable TestBlockchainEIP with e3 ( #7982 )
...
as it doesn't work with e3 for some reason. Follow up to RP #7981
2023-08-08 21:11:22 +02:00
Andrew Ashikhmin
9b3f3bd118
EIP-4844: fix wiring of maxFeePerBlobGas ( #7981 )
...
Previously maxFeePerBlobGas was lost in the `BlobTx` -> `Message`
conversion.
Also added initial support of [EL
EIPTests](https://github.com/ethereum/tests/tree/develop/EIPTests ).
2023-08-08 17:44:02 +02:00
Andrew Ashikhmin
ae76df1b8a
Update execution-spec-tests to v1.0.1 ( #7980 )
...
[v1.0.1](https://github.com/ethereum/execution-spec-tests/releases/tag/v1.0.1 )
"Cancun Devnet-8 Pre-Release" adds some tests for Cancun. This PR only
fixes a couple of issues; the majority of the new tests are still
failing and thus are skipped in `TestExecutionSpec`.
2023-08-08 15:01:35 +02:00
Giulio rebuffo
0e4e36b142
Replaced old version of Engine API with newer version ( #7972 )
2023-08-05 23:33:10 +02:00
Andrew Ashikhmin
7ca0d2399a
Upgrade EL tests to v12.3 ( #7949 )
...
See https://github.com/ethereum/tests/releases/tag/v12.3
2023-07-31 12:30:53 +02:00
Andrew Ashikhmin
7d35c6b737
EIP-4844: Rename "data gas" to "blob gas" ( #7937 )
...
See https://github.com/ethereum/EIPs/pull/7354 &
https://github.com/ethereum/consensus-specs/pull/3461 . Prerequisite:
https://github.com/ledgerwatch/erigon-lib/pull/1058
2023-07-28 12:12:05 +02:00
Alex Sharov
fb94eee69a
TestState: don't share db instance ( #7800 )
2023-06-26 13:55:36 +07:00
Andrew Ashikhmin
a24eae8d6c
EIP-4844: Handle data gas in txpool ( #7779 )
...
Prerequisite: https://github.com/ledgerwatch/erigon-lib/pull/1029
2023-06-23 11:10:23 +02:00
Alex Sharov
ded166d73d
e3: release chain maker changes ( #7787 )
2023-06-23 10:07:42 +07:00
Alex Sharov
eae2d9a79c
Disable ci tests on another servers: step 2 ( #7752 )
2023-06-17 10:27:58 +07:00
Alex Sharov
d3c3be9c91
e2: optimize tests speed ( #7738 )
2023-06-15 16:09:11 +07:00
Andrew Ashikhmin
252e57b76f
Base BlobTx on DynamicFeeTransaction ( #7736 )
...
Continuation of PR #7715
2023-06-15 10:57:27 +02:00
Alex Sharov
e5023775aa
Enforce blockReader interface ( #7737 )
...
- breaks dependency from staged_sync to package with block_reader
implementation
- breaks dependency from snap_sync to package with block_reader
implementation
- breaks dependency from mining to txpool implementation
2023-06-15 13:11:51 +07:00
Alex Sharov
5ff8246e2a
e4: release some tests ( #7729 )
2023-06-14 10:01:00 +07:00
Mark Holt
62b2375de9
7667 cli params vhost ( #7669 )
...
This change adds 'any' as an alternate wildcard to '*'.
I have updated all doc references in the main erigon repo - let me know
if there is anywhere else that needs changing.
2023-06-09 14:12:11 +01:00
Alex Sharov
1546a79771
lru lib version up ( #7695 )
2023-06-09 13:46:58 +07:00
Alex Sharov
afa4f53ae2
e3: use deserializeV3 for history ( #7691 )
2023-06-09 10:53:04 +07:00
Alex Sharov
bf9f5067f3
fix integration tests run ( #7672 )
2023-06-06 13:49:01 +07:00
Andrew Ashikhmin
190bc9dfd8
EIP-4844: add data_gas_used ( #7639 )
...
Implement https://github.com/ethereum/EIPs/pull/7062 and
https://github.com/ethereum/EIPs/pull/7095 . Pick up
https://github.com/ledgerwatch/erigon-lib/pull/1006 .
2023-06-02 21:26:19 +01:00
Alex Sharov
b163d3a877
e3: release some e4 parts ( #7629 )
2023-06-02 10:55:40 +07:00
Alex Sharov
3cba3908dd
use BlockReader.CanonicalHash method instead of rawdb ( #7604 )
2023-05-31 13:41:10 +07:00
Alex Sharov
111db5f655
blockReader in tests - step8 ( #7578 )
2023-05-25 12:46:11 +07:00
ledgerwatch
bc169179b0
[devnet tool] Side-quest: logging step 7 ( #7506 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-13 21:22:30 +01:00
racytech
42e8db3958
eip-4844: modified DecodeTransaction version 1 ( #7442 )
...
Blob transactions are SSZ encoded, so it had to be added to decoding.
There are 2 encoding forms: `network` and `minimal` (usual). Network
encoded blob transactions include "wrapper data" which are `kzgs`,
`blobs` and `proofs`, and decoded by `DecodeWrappedTransaction`. For
previous types of transactions the network encoding is no different.
Execution-payloads / blocks use the minimal encoding of transactions. In
the transaction-pool and local transaction-journal the network encoding
is used.
Concerns:
1. Possible performance reduction caused by these changes, not sure if
streams are better then slices. Go slices in this modifications are
read-only, so they should be referred to the same underlying array and
passed by a reference.
2. If `DecodeWrappedTransaction` and `DecodeTransaction` will create
confusion and should be merged into one function.
2023-05-09 18:44:53 +01:00