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
Max Revitt
d2bbf22e3d
hive - run on successful CI ( #4791 )
...
* feat(ci): run hive tests as part of CI
* feat(ci): hive CI tidy up (#2 )
run hive on successful CI only
run on non-draft PR only
2022-07-22 14:26:05 +02:00
Alex Sharov
cd8b10f57e
snapshot merger: smaller interface ( #4786 )
...
* save
* save
* save
2022-07-22 16:54:05 +07:00
Giulio rebuffo
46a8c531ce
Optimized PoS header downloader ( #4775 )
...
* optimized PoS header downloader
* removed println
* comments
* ops
* Restore schedulePoSDownload params + simplify
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
Co-authored-by: yperbasis <andrey.ashikhmin@gmail.com>
2022-07-22 11:07:58 +02:00
Artem Tsebrovskiy
a1777accd8
fixed passing of raw byte slices to tx processing ( #4782 )
2022-07-22 15:47:33 +07:00
Giulio rebuffo
1d378b6618
Filter out bad tx with wrong chain id during block building phase. ( #4783 )
...
* filter out bad tx with wrong chain id
* report bad txs
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-22 09:18:19 +02:00
Alex Sharov
66758c7960
RetireBlocks: less arguments ( #4785 )
...
* save
* save
2022-07-22 13:44:42 +07:00
Andrew Ashikhmin
6060b87840
Fix binary vs raw confusion for PoS transaction ( #4781 )
...
* Replace PayloadMessage with Block
* RawTransactions -> BinaryTransactions for clarity
* add a log warning
2022-07-21 19:40:00 +02:00
Igor Mandrigin
42e59618a7
run engine tests on Hive
2022-07-21 14:50:03 +02:00
Max Revitt
770d7cf8bd
Hive CI output parse ( #4737 )
...
* feat(ci): run hive tests as part of CI
* feat(ci): add hive test runs and output parse
* feat(ci): parse hive output for forked repos
2022-07-21 14:47:36 +02:00
Giulio rebuffo
1becfc509b
extra reset before starting change in rewind side fork ( #4774 )
...
* extra reset before starting change
* extra reset before starting change
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-07-21 04:06:26 +02:00