Alex Sharov
f6ca07e215
integration --workers flag ( #5326 )
2022-09-10 10:37:56 +07:00
Enrique Jose Avila Asapche
6d1d3a9f47
moved retiring of blocks from senders into snapshot stage ( #5290 )
2022-09-09 21:48:16 +07:00
Alex Sharov
8813ea87fd
Erigon22: add state reconstitution to stage_exec ( #5321 )
2022-09-09 14:40:25 +07:00
Chase
927f9e1c56
Add eth_callMany and debug_traceCallMany to README ( #5319 )
...
* Add eth_callMany to README
Should have been included in https://github.com/ledgerwatch/erigon/pull/4567
* Update README.md
* Update README.md
2022-09-09 11:18:23 +07:00
Andrew Ashikhmin
b8f8711aca
Disable Hive tests that currently fail in CI ( #5318 )
2022-09-08 14:55:57 +02:00
Andrew Ashikhmin
18554a2f90
Revert "fix: relax deposit contract prune to first deposit ( #5295 )" ( #5317 )
...
This reverts commit d8c9b1151d
.
2022-09-08 10:19:45 +02:00
Alex Sharov
caa23b9532
erigon22: simplify interhashes stage ( #5315 )
2022-09-08 14:02:50 +07:00
Alex Sharov
9e9b5806e0
Erigon22: history iterator v2
2022-09-08 11:13:53 +07:00
banteg
d8c9b1151d
fix: relax deposit contract prune to first deposit ( #5295 )
2022-09-07 22:33:31 +03:00
Andrew Ashikhmin
299adf4d3e
New transactions should prompt mining instead of postponing it ( #5309 )
2022-09-07 22:17:14 +07:00
Max Revitt
0114a4df1f
feat(hive): add makefile command to run hive locally ( #5305 )
2022-09-07 18:38:45 +07:00
Alex Sharov
fceb272c6b
Erigon22: use history iterator ( #5303 )
2022-09-07 15:58:41 +07:00
Andrew Ashikhmin
270fb4cde9
Fix IH when state contains addresses < 1st key in AccTrie ( #5296 )
...
* Test case that reproduces wrong trie root in Hive
* Do not hardcode roots
* Fix IH when state contains addresses smaller than the first key in AccTrie
2022-09-07 10:34:49 +02:00
hexoscott
ba6935ed03
fix for bodies stage looping infinitely when a block is mined locally ( #5291 )
2022-09-07 12:18:25 +07:00
Alex Sharov
98e69b55f4
--experimental.history.v2 ( #5302 )
2022-09-07 12:16:31 +07:00
Igor Mandrigin
a0c80ccbee
Fix compatibility of eth_getBlockTransactionCountByHash ( #5297 )
...
* fix compatibility of eth_getBlockTransactionCountByHash
* fixup
2022-09-07 12:11:48 +07:00
Tim Myers
e2301387eb
chore: goreleaser workflow fix ( #5298 )
...
Use the automatically provided GITHUB_TOKEN secret.
Currently only has the default permissions which should let
it read the tag as needed.
Commented permissions would allow it to also automatically write
a github release, but will see if it works without that for now
for minimimum change.
2022-09-07 11:44:21 +07:00
Max Revitt
488121f669
fix(headers): signal cleanly shutdown headers and allow exit ( #5286 )
2022-09-06 08:02:24 +01:00
Alex Sharov
f8c20afe8d
erigon22: remove hardcoded workers amount ( #5288 )
2022-09-06 13:54:16 +07:00
Enrique Jose Avila Asapche
036d6f3e1d
Cursor err ( #5283 )
...
* deleting BorTxLookUp separetly
* logs
* another place
* typo
* full separation of borTxnLookup and using next
* not checking if we have tx
2022-09-06 08:45:24 +07:00
Leonard Chinonso
0543ba6120
Adding a new stage for snapshots download and creation ( #5261 )
...
* Adding a new stage for snapshots download and creation
* More changes made
* finished moving things into snapshot stage
* ops
* another merge problem
Co-authored-by: Enrique Jose Avila Asapche <eavilaasapche@gmail.com>
2022-09-06 08:44:22 +07:00
Alex Sharov
25e615a878
erigon22: historyReader22 and more tests ( #5281 )
...
* save
* save
2022-09-05 21:31:00 +07:00
Alex Sharov
6bfd2c3472
erigon22: rpc getLogs and traceFilter ( #5277 )
2022-09-05 11:33:55 +07:00
Enrique Jose Avila Asapche
6ce38853a2
getting rid of breaking line ( #5246 )
2022-09-05 10:42:32 +07:00
Alex Sharov
836e3cb721
clean deps ( #5276 )
2022-09-05 10:32:16 +07:00
Alex Sharov
7874921e73
erigon22: correct incarnation ( #5275 )
2022-09-05 10:31:17 +07:00
ledgerwatch
da90c9752e
Fix for goerli resync ( #5269 )
...
* Fix for goerli resync
* Fix
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-04 14:51:36 +01:00
ledgerwatch
c9ae7310e9
Fix lint ( #5270 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-04 14:30:59 +01:00
Giulio rebuffo
435de928b7
Separation of Pedersen code, account and storage hashing ( #5267 )
...
* separation of pedersen hashing
* added multithreading to accounts
* more workers
* removed err
* ops
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-03 19:55:13 +02:00
Enrique Jose Avila Asapche
8fc7c78620
Bor txlookup ( #5260 )
...
* printing
* logging
* spam off
* ops
* clean up
* deleted all bor related stuff in snapshots
* adding bor tx to BorTxLookUp
* added readBorTxLookUp
* getting bor tx from bor lookup
* comments
* deleted bor related stuff
* deleting bor tx
* writing borTxLookUp in stage_txlookup
* using bytes
* little fixes
* updated erigon-lib
* using biEndian
* clean up
* setting bytes for big int
* log
* logging
* more logs
* delete logs
2022-09-02 17:41:58 +03:00
Giulio rebuffo
faebec48c9
Added pedersen hash generator utility in cmd/verkle ( #5258 )
...
* added tree key functions for verkle tries
* added tree key functions for verkle tries
* added tree key functions for verkle tries
* Pedersen hash generator
* removed extra functions
* better comment
* ops
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-02 15:45:30 +02:00
Enrique Jose Avila Asapche
68cc6e4612
taking bad transaction out the slice ( #5265 )
2022-09-02 15:26:38 +02:00
Andrew Ashikhmin
ea576ba6f1
EIP-3855: PUSH0 instruction ( #5256 )
...
* core/vm: implement EIP-3855: PUSH0 instruction (#24039 )
* core/vm: Implement PUSH0
* Move PUSH0 to enable3855
* Add method doc
* Fix compilation
* Enable EIP-3855 in Shanghai
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2022-09-02 09:48:53 +02:00
Max Revitt
5c49726f53
fix(evm): fee and tip calc bug ( #5252 )
2022-09-02 10:04:49 +07:00
Andrew Ashikhmin
f379f6728c
Tests update 11.1 ( #5257 )
2022-09-01 19:49:49 +01:00
ledgerwatch
693017c554
Cleanup Tevm experimental code ( #5259 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 19:49:29 +01:00
ledgerwatch
73e2d1146e
Cleanup interfaces ( #5254 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 16:44:37 +01:00
Andrew Ashikhmin
7f83bef559
Add support for Shanghai & Cancun blocks ( #5255 )
2022-09-01 17:37:53 +02:00
Andrew Ashikhmin
6affc2acb6
txpool: Validate v, r, s in signature ( #5251 )
2022-09-01 16:07:25 +02:00
Michelangelo Riccobene
590276d3e1
Print peer-id using hex encoding to avoid unprintable characters ( #5248 )
2022-09-01 15:04:49 +01:00
ledgerwatch
9d88cb59c7
Cleanup interfaces ( #5245 )
...
* Cleanup interfaces
* Fix for windows
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-01 07:00:29 +01:00
Giulio rebuffo
361403f2ca
Added verkle tree key hash generating functions. ( #5249 )
...
* added tree key functions for verkle tries
* added tree key functions for verkle tries
* added tree key functions for verkle tries
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-09-01 02:15:40 +02:00
Giulio rebuffo
e74f9bea1b
RLP ( #5235 )
...
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-08-31 18:06:19 +02:00
Enrique Jose Avila Asapche
8b3162a4c7
Small capacity ( #5244 )
...
* typo
* no log
* using headerBuf[1:]
2022-08-31 21:25:03 +07:00
Andrew Ashikhmin
4a7bcc73e1
Restore check against Beacon Chain requests before TTD ( #5234 )
...
* getPayloadStatusFromHashIfPossible -> getQuickPayloadStatusIfPossible
* Restore TTD check
* Amend log warning
* Restore full stop in comment
* 3 Hive tests are fixed now
2022-08-31 11:01:02 +02:00
Alex Sharov
35687c0e2c
erigon22: TestRecreateAndRewind ( #5241 )
2022-08-31 13:34:16 +07:00
Alex Sharov
b4fffacb4c
fix docker ci ( #5242 )
2022-08-31 11:23:19 +07:00
Alex Sharov
74c16f9531
mdbx more metrics ( #5240 )
2022-08-31 10:05:31 +07:00
Max Revitt
159e53d503
EVM fix - issue #5077 ( #5233 )
...
* fix(evm): output and add makefile command
* fix(evm): correct number type conversion
2022-08-31 07:51:08 +07:00
Nathan (Blaise) Bruer
002aba4686
Add STOP_AFTER_STAGE environ ( #5207 )
...
Adds ability to stop after a stage instead of just before a stage.
This will allow users to use something like:
`STOP_AFTER_STAGE=Finish erigon`
And erigon will stop after a full cycle of syncing.
2022-08-31 07:46:27 +07:00