Alex Sharov
591c2c5ff4
e3: disalbe ci test ( #6064 )
2022-11-16 19:12:02 +03:00
Giulio rebuffo
7ea8de4a3f
added checkpoint saving ( #6060 )
2022-11-16 16:19:40 +01:00
Alex Sharov
e7a3c0789a
Disable ci3 ( #6063 )
2022-11-16 15:53:46 +03:00
Alex Sharov
30bf54ebf2
disable ci3 ( #6062 )
2022-11-16 15:49:32 +03:00
Alex Sharov
93926646f8
e3: prepare downloader for extraction ( #6061 )
2022-11-16 15:48:23 +03:00
Alex Sharov
7d034d0c79
e3: fix stuck exec after recon ( #6059 )
2022-11-16 14:22:49 +03:00
Alex Sharov
7957e69773
mdbx: configure merge threshold ( #6057 )
2022-11-16 09:44:34 +03:00
alex.sharov
bfda9bc731
save
2022-11-16 09:43:56 +03:00
Nebojsa Urosevic
44f909767d
Feat: add eth_exitst endpoint ( #5992 )
...
Feat: add `eth_exists` endpoint.
By introducing this endpoint, Erigon will fully enable remote execution
for pre-EIP158 blocks.
2022-11-16 07:12:52 +03:00
Andrew Ashikhmin
d9f342bb43
Restore MigrateFlags ( #6055 )
...
Another postfix to PR #6047 . This fixes `--datadir` flag passed to
`erigon init`. See also
https://github.com/ethereum/go-ethereum/pull/24751 .
2022-11-15 21:38:31 +01:00
Giulio rebuffo
3a2d3be080
Added persistence in LightClient ( #6056 )
2022-11-15 20:39:18 +01:00
Alex Sharov
242b5a76df
e3: fix doneCount variable ( #6053 )
2022-11-15 18:03:10 +03:00
Andrew Ashikhmin
ec9db8662c
Fix command line help ( #6052 )
...
Postfix after PR #6047 .
2022-11-15 12:03:06 +01:00
Andrew Ashikhmin
14c0643476
Enable both eth/66 and eth/67 by default ( #6048 )
2022-11-15 10:41:56 +01:00
Andrew Ashikhmin
32629bdce4
Upgrade urfave/cli to v2 ( #6047 )
...
See also
https://github.com/urfave/cli/blob/main/docs/migrate-v1-to-v2.md
2022-11-14 17:33:57 +01:00
Andrew Ashikhmin
8152d5c7e4
txpool: sync.Mutex instead of RWMutex ( #6045 )
...
Pick up https://github.com/ledgerwatch/erigon-lib/pull/735
2022-11-14 12:24:14 +01:00
Giulio rebuffo
ae01026ca9
Customizable networking for Erigon Lightclient ( #6032 )
2022-11-11 23:22:47 +01:00
Andrew Ashikhmin
5b3f2b8c5f
Update interfaces ( #6031 )
...
Pick up
813d816908
& https://github.com/ledgerwatch/interfaces/pull/131 .
2022-11-11 17:16:39 +01:00
ledgerwatch
5fc2ec4b52
Enable snapshot creation for Gnosis Chain ( #6030 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-11-11 15:38:59 +00:00
Max Revitt
74308f2500
fix(test): eliminate race conditions ( #6019 )
2022-11-11 15:22:09 +00:00
Andrew Ashikhmin
09c5e4699b
Fix panic("durations cannot be empty") ( #6029 )
2022-11-11 15:24:58 +01:00
Andrew Ashikhmin
04e3a18463
Block difficulty can be really big on Gnosis Chain ( #6028 )
...
For example, see https://gnosisscan.io/block/24938312 .
This fixes the following errors:
```
t=2022-11-11T12:39:01+0000 lvl=dbug msg="Handling incoming message" stream=RecvMessage err="newBlock66: too large block difficulty: bitlen 128"
t=2022-11-11T12:39:01+0000 lvl=dbug msg="Handling incoming message" stream=RecvMessage err="newBlock66: too large block difficulty: bitlen 128"
t=2022-11-11T12:39:01+0000 lvl=dbug msg="Handling incoming message" stream=RecvMessage err="newBlock66: too large block difficulty: bitlen 128"
```
2022-11-11 15:24:46 +01:00
Alex Sharov
c21a266236
Allow bigger jumps in 1 RwTx - for consistency ( #6026 )
2022-11-11 16:30:28 +07:00
Alex Sharov
90952c4110
e3: wal ram configure ( #6023 )
2022-11-11 11:28:22 +07:00
ledgerwatch
de26ccf6f6
Try non-parallel tests ( #6021 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-11-10 23:47:35 +00:00
ledgerwatch
14906fec17
Bump version ( #6020 )
2022-11-10 22:18:01 +00:00
Giulio rebuffo
f8916e9226
Made Lightclient default ( #5813 )
...
lightclient cl is default, for external cl, run `--externalcl`
2022-11-10 17:06:04 +00:00
hexoscott
ea1edf4a11
trace json error fix ( #6014 )
...
write trace transaction errors to json and continue
2022-11-10 15:37:16 +00:00
hexoscott
475fa08fdf
eth_gasPrice performance tweaks ( #6016 )
...
Code news up an oracle for every call so existing cache checks always
came back as 0. Moved cache up a layer and pass in via the new
`gasprice.Cache` interface. Looked at putting the oracle instance onto
the ethApi itself to re-use it that way, but the backend transaction
made it a little hard work as we can't re-use that. This seemed cleaner
but happy to take feedback.
Locally takes me from ±2.5k rps to ±43k rps so quite a difference there.
(k6 with 1000 virtual users)
2022-11-10 15:36:04 +00:00
Mike Neuder
bf34bed004
Adding GetStatus to the req/resp domain ( #6010 )
...
Part of https://github.com/ledgerwatch/erigon/issues/5884 defined in the
spec
https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#status .
We need this functionality to continue
https://github.com/ledgerwatch/erigon/issues/5965 because we need to
determine how many blocks to request from the checkpoint block.
2022-11-10 14:14:26 +01:00
Andrew Ashikhmin
424f38a9b6
AuRa: iterate over durations in order ( #6013 )
...
Iteration order over go maps is random.
2022-11-10 13:47:57 +01:00
ledgerwatch
7f12b809ec
Improvements to the downloader ( #6012 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-11-10 10:33:10 +00:00
ledgerwatch
00365ba6e8
Move anchor state logging into DEBUG (now that we redirect it to a file) ( #6007 )
2022-11-09 12:00:30 +00:00
Alex Sharov
6b0f7fa913
e3: recon reduce ram ( #6004 )
2022-11-09 14:32:44 +07:00
Alex Sharov
57db64b692
e3: fix coinbase 2 ( #6006 )
2022-11-09 13:53:07 +07:00
Alex Sharov
906953b246
e3: fix coinbase ( #6005 )
2022-11-09 13:48:23 +07:00
J1ang
537ae16655
refactor: add erigon_getLatestLogs
& fix typo ( #5994 )
...
refactor: add `erigon_getLatestLogs` & fix typo
2022-11-09 11:21:04 +07:00
hexoscott
12ed9d22cf
eth_estimateGas performance tweaks ( #6001 )
...
Will gain more perf improvements when the change for kvcache goes in
from erigon-lib.
Hopefully can be validated with hive? My main concern is the re-use of
the state reader, I couldn't find any manipulation of it so it looks
safe to re-use.
2022-11-08 21:48:11 +00:00
ledgerwatch
a4136faad4
Improve state cache performance ( #6002 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-11-08 21:47:20 +00:00
ledgerwatch
5b44f7d63b
Rework the peer finding ( #5999 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-11-08 14:16:17 +00:00
Andrew Ashikhmin
e469afdff5
Rewrite bytecode of the token contract on Gnosis Chain ( #5997 )
...
See https://github.com/NethermindEth/nethermind/pull/3930
2022-11-08 13:03:06 +01:00
Andrew Ashikhmin
3280531644
Simplify Header.EncodeRLP ( #5995 )
...
Also cherry-pick https://github.com/ethereum/go-ethereum/pull/24666 .
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-11-08 11:07:27 +01:00
J1ang
7f9edd68aa
feat: add erigon_getLatestLogs
as a new feature API. ( #5875 )
...
feat: add `erigon_getLatestLogs` as a new feature API.
1. `erigon_getLatestLogs` returns latest logs that match the filter with
`logCount` length. Implementation is similar to `erigon_getLogs` but it
uses `ReverseIterator` which makes it more efficient to fetch the latest
logs.
2022-11-08 08:35:00 +07:00
ledgerwatch
61559477a6
fixes for POS header downloader ( #5991 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-11-07 16:13:59 +00:00
hexoscott
636586c1b5
cache state check ( #5844 )
...
draft for now to get some early feedback on approach
2022-11-07 13:04:31 +00:00
Andrew Ashikhmin
82bb408e99
Only zero-gas transactions may be service ones ( #5989 )
...
Correction to PR #5873 .
See [Nethermind's
code](https://github.com/NethermindEth/nethermind/blob/1.14.5/src/Nethermind/Nethermind.Consensus.AuRa/Transactions/TxCertifierFilter.cs#L57 ).
2022-11-07 13:10:07 +01:00
Alex Sharov
897887cf25
e3: integration support unwind loop ( #5988 )
2022-11-07 17:50:30 +07:00
Alex Sharov
29b23895f5
e3: tmpdir ( #5985 )
2022-11-07 12:17:07 +07:00
Alex Sharov
160407b36a
e3: recon metrics ( #5984 )
2022-11-07 12:02:46 +07:00
Alex Sharov
1e5a513657
e3: configurable recon workers ( #5983 )
2022-11-07 11:42:44 +07:00