Alex Sharov
554d27468e
parity_listStorageKeys: *mdbx.MdbxCursor is not kv.CursorDupSort ( #4858 )
2022-07-29 09:13:48 +07:00
Enrique Jose Avila Asapche
8b1574127a
checking txn chain id before adding it to the tx pool ( #4855 )
2022-07-29 08:26:15 +07:00
Andrew Ashikhmin
59bcbb4f33
No TTD mismatch if there's no TTD in chainConfig yet ( #4852 )
2022-07-28 18:25:01 +02:00
Andrew Ashikhmin
7ae99884af
Log data if cannot decode BlockBodiesPacket66 ( #4850 )
2022-07-28 17:26:34 +02:00
ledgerwatch
167de529a8
Fixes for erigon22 prototypes ( #4851 )
...
* Fixes for erigon22 prototypes
* Add waiting/applying stats
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-28 13:26:48 +01:00
hexoscott
75151e0700
fix memory leak in HandleInboundMessage ( #4848 )
2022-07-28 12:19:34 +01:00
ledgerwatch
09c104803a
Split erigon2.2 and erigon2.3 prototypes ( #4811 )
...
* Split erigon2.2 and erigon2.3 prototypes
* Renaming
* Interruptible and resumable erigon22
* Always regenerate trie
* Introduce aggregator
* Fixes
* cleanup
* Fix lint
* Update to erigon-lib main
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-28 12:16:37 +01:00
Alex Sharov
aee4b53788
save list of snapshots in db ( #4777 )
...
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
2022-07-28 16:57:38 +07:00
battlmonstr
620d65ef10
crypto: MarshalPubkey unit test ( #4846 )
2022-07-28 09:23:58 +07:00
Andrew Ashikhmin
d85e3c626e
Fix consensus tests ( #4844 )
...
* Fix timeout in (*MockSentry) insertPoSBlocks
* Fix bcInvalidHeaderTest/DifficultyIsZero
2022-07-27 17:43:48 +02:00
Andrew Ashikhmin
1ffa984457
Don't wait for CL in initialCycle ( #4841 )
2022-07-27 13:52:50 +02:00
Andrew Ashikhmin
c591266914
Small PoS clean-ups ( #4834 )
...
* Amend comment
* More watchful sleep
* improve comment
* Cosmetics for lock/unlock
* statusRef -> statusDeref
* Comment on obsure logic
2022-07-27 12:14:35 +02:00
Andrew Ashikhmin
b42b4e2aa2
More timeout prevention ( #4839 )
...
* More timeout prevention
* Fix Hive tests
2022-07-27 11:28:00 +02:00
Andrew Ashikhmin
f927ac8037
Increase JWT issued-at window to 60s ( #4835 )
2022-07-27 09:16:50 +02:00
Giulio rebuffo
039b661803
fixed timeout on CL ( #4836 )
...
* fixed timeout
* send response immediately wen dealing with SYNCING
* send response immediately wen dealing with SYNCING
* correct lvh for ACCEPTED
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-27 09:16:26 +02:00
Alex Sharov
0db00957e8
Fix for a lot of pending transactions being dropped from newPendingTransactions ( #4837 )
2022-07-27 12:11:57 +07:00
Giulio rebuffo
101e181c52
if PoS download block is within reach, determine VALID or INVALID ( #4812 )
...
* if PoS download is fast enough, determine VALID or INVALID
* more acceptable absolute value
* solved comments
* remove useless
* moved check in stage_headers
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-26 15:24:02 +02:00
Andrew Ashikhmin
c1f848746d
Update consensus tests to v11 ( #4724 )
...
* Consensus tests update 11
* Add GrayGlacier fork
* Wire currentRandom from tests into PREVRANDAO
* Serenity engine
* Support insertion of PoS blocks in MockSentry
* Introduce marshallTypedTransactionsAsRlpStrings arg into (*Block) RawBody()
* Revert "Introduce marshallTypedTransactionsAsRlpStrings arg into (*Block) RawBody()"
This reverts commit 903fca572be03c7de33318ce177a03a4be34927b.
* Post-merge fix
* Don't wait for Beacon Chain in tests
* Skip powToPosBlockRejection transition test
* ForkChoice in insertPoSBlocks
* Add withPosDownloader arg to MockWithEverything in order to fix TestPoSDownloader
2022-07-26 09:35:38 +02:00
Alex Sharov
b6ea28ea80
kv.Del() remove second parameter ( #4832 )
...
* save
* save
* save
* save
* save
* save
* save
2022-07-26 12:47:05 +07:00
Alex Sharov
60f1adddcd
implement server kv.Snapsthos() method ( #4831 )
...
* save
* save
2022-07-26 10:44:47 +07:00
Alex Sharov
3aac12a5f1
use PrioritizedSend method ( #4830 )
2022-07-26 10:37:51 +07:00
Alex Sharov
bc7f49bc1c
kv.Snapshots() server implementation ( #4829 )
2022-07-26 10:16:25 +07:00
Alex Sharov
5ee60dba3b
fix sort func ( #4828 )
2022-07-26 09:46:11 +07:00
Alex Sharov
790af5a62e
kv.Snapsthos() grpc method ( #4827 )
2022-07-26 09:44:53 +07:00
Alex Sharov
271898ee92
add go.work.sum to gitignore #4826
2022-07-26 09:30:53 +07:00
Alex Sharov
c40fce2ba0
kv.Snapshots() grpc method ( #4825 )
2022-07-26 09:28:18 +07:00
Andrew Ashikhmin
a4d8031f5d
Fix RemoveContents for non-existing dir ( #4823 )
2022-07-25 15:58:40 +02:00
Alex Sharov
6faf337b27
pool: allow non-parsable txs in db, skip them with warning
2022-07-25 13:06:56 +07:00
Alex Sharov
b20f7ecdd1
docker_hub_default_pid ( #4819 )
2022-07-25 12:49:29 +07:00
Alex Sharov
9e371fef5c
remove only etl-tmp content, but not dir itself #4816
2022-07-25 11:31:57 +07:00
Alex Sharov
b231856c1c
avoid sudo in makefile #4818
2022-07-25 11:29:34 +07:00
Alex Sharov
7826a33b87
save ( #4817 )afix "grafana user format" #4817
2022-07-25 11:26:42 +07:00
Giulio rebuffo
a372746397
Move some checks out enginePayload and fcu ( #4805 )
...
* made in refactoring
* test
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-24 16:20:08 +02:00
ledgerwatch
6f53d1ef4d
Fix test compilation error ( #4809 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-07-24 10:44:52 +01:00
bgelb
6481757175
fix regressions in trace_call and eth_createAccessList introduced by PR #3517 ( #4807 )
2022-07-24 09:50:43 +01:00
dmitriyselivanov
e85796a38c
rpcdaemon: added test for eth_call in case of a pruned block ( #4776 )
2022-07-24 09:50:00 +01:00
banteg
1533bea3f6
fix(vmtrace): missing pushes ( #4808 )
...
* fix(vmtrace): add chainid stack value
* fix(vmtrace): add coinbase stack value
2022-07-24 08:56:37 +01:00
banteg
4c0ab19bc6
fix(vmtrace): return value pushed by smod ( #4806 )
2022-07-24 12:21:31 +07:00
ledgerwatch
81d106bc9d
Experiment in parallel execution ( #4652 )
...
* Restructure tx execution
* fixes
* Fixes and traces
* Tracing
* More tracing
* Drain the result channel
* Intermediate
* more efficient parallel exec
* Sorted buffer
* Fix results size
* fix for the recon
* Fix compilation
* Sort keys in Write and Read sets, fix compilation in rpcdaemon22
* Update to latest erigon-lib
* Update to erigon-lib
* Remove go.mod replace
* Update erigon-lib
* Update to erigon-lib main
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-07-23 18:39:08 +01:00
Giulio rebuffo
1cb6be02a5
Avoid constantly triggering stageloop when using Engine API ( #4797 )
...
* avoid constantly triggering stageloop when using Engine API
* fix lint + test
* fixed comments
* ops
* little fixes here and there
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-23 18:57:23 +02:00
Andrew Ashikhmin
d2389a1f26
Sepolia MergeNetsplit block ( #4804 )
2022-07-23 18:02:31 +02:00
Alex Sharov
68e35417fc
RetireBlocks: encapsulate delete logic
2022-07-23 11:09:16 +07:00
Alex Sharov
95f0338ddb
Pool: parse rlp chain id for non-legacy transactions #4802
2022-07-23 10:13:13 +07:00
Alex Sharov
62873649d9
lint up 47.2 ( #4801 )
2022-07-23 10:09:24 +07:00
Alex Sharov
6a759a34f8
pool: metrics ( #4800 )
2022-07-23 10:06:35 +07:00
Alex Sharov
dd4bae789b
Pool: parse rlp chain id for non-legacy transactions
2022-07-23 09:33:45 +07:00
Max Revitt
01641e3900
fix(ci): hive results workflow syntax ( #4796 )
2022-07-22 19:05:08 +03:00
Max Revitt
0d979e18aa
fix(readme): latest badge.svg gist links ( #4795 )
2022-07-22 18:18:45 +03:00
Max Revitt
37ba45a627
feat(ci): badges for hive and code coverage on devel ( #4793 )
...
* feat(ci): badges for hive and code coverage on devel
* feat(ci): hive CI tidy up (#2 )
run hive on successful CI only
run on non-draft PR only
2022-07-22 17:09:50 +02:00
Max Revitt
d6001225e7
feat(makefile): add documentation and coverage command ( #4792 )
2022-07-22 14:26:18 +02:00