Alex Sharov
a2e51a2469
e3: prune limited amount before commit #675 ( #5693 )
2022-10-11 11:25:13 +07:00
ledgerwatch
1bc0a796d2
fix for rpcdaemon crash if there is no datadir ( #5686 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-10-10 12:40:21 +01:00
Alex Sharov
ee76a4f490
e3: getLogsV3 fix history txnum ( #5676 )
2022-10-09 18:29:35 +07:00
Alex Sharov
6a52007c69
e3: always created dir ( #5638 )
2022-10-06 09:18:37 +07:00
Alex Sharov
ca9aa4723c
Compress params change ( #5631 )
...
as of https://github.com/ledgerwatch/erigon-lib/pull/651
2022-10-05 17:54:54 +07:00
Alex Sharov
2011dd806a
erigon3: fix stuck test ( #5629 )
2022-10-05 12:54:31 +07:00
ledgerwatch
94f4ea805d
Fixing hive SideChain reorg test ( #5620 )
...
the root cause is that when `inMemoryExecution` lambda gets created in
the `eth/backend.go`, it captures the reference of
`backend.notifications`, and so the execution of side-forks actually
adds notifications to there, and it all gets sent out to tx pool (and
RPC daemon) at the end of the stage loop (regardless of whether there
was forkchoice update or not)
so we can create a separate notification, but then somehow flush it to
the "main" nofitications when the in-memory exec state is flushed
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-10-05 05:42:38 +01:00
Alex Sharov
afcd605fc5
remote rpcdaemon to create snapshots/history dir at startup #5594
2022-10-02 14:48:26 +07:00
Alex Sharov
37f76c9a9e
bitmapdb ( #5593 )
2022-10-02 10:54:40 +07:00
a
7c8b3c2ba1
[rpcdaemon] greatly increase speed of {eth,erigon}_getLogs ( #5572 )
2022-10-02 10:51:19 +07:00
Alex Sharov
1b17a3226a
agg print stats at startup ( #5586 )
2022-10-01 09:29:28 +07:00
Enrique Jose Avila Asapche
c2a1558923
changed erigon logs fields ( #5476 )
...
* changed erigon logs fields
* lint
* Update erigon_receipts.go (#5485 )
* lint
Co-authored-by: a <edward9.lee@gmail.com>
2022-09-28 20:46:42 +01:00
Enrique Jose Avila Asapche
f4c6e45f45
returning validator in POS trace ( #5477 )
2022-09-28 20:45:52 +01:00
Håvard Anda Estensen
23d21f3b44
Enable unconvert linter ( #5566 )
2022-09-28 15:10:38 +01:00
bgelb
c28b1d230b
run traceCall on top of state resulting from fully executed baseblock a.k.a. starting state of blockNumber+1 ( #5555 )
2022-09-28 08:30:58 +01:00
Alex Sharov
6d07443ca5
erigon3: remote rpcdaemon used wrong agg dir #5562
2022-09-28 12:36:53 +07:00
Enrique Jose Avila Asapche
a968c7ed5b
cleaned up storage and retrieval of state sync receipts ( #5379 )
...
* cleaned up storage and retrieval of state sync receipts
* added ctx to the error and got rid of unused var
* missing one
* small change
* log error
* ops
* read header number
* checking if status is succesful
* nil ptr err
2022-09-27 11:39:58 +01:00
Alex Sharov
4c2611c03e
erigon3: eth_getLogs support logIndex field ( #5544 )
2022-09-27 16:08:45 +07:00
Alex Sharov
c64e7fe7ab
erigon3 test fix ( #5522 )
2022-09-26 13:34:46 +07:00
Alex Sharov
cb60382e6d
erigon3: rename "history.v2" to "history.v3" to avoid naming miss-match with "erigon3" ( #5519 )
2022-09-26 10:54:42 +07:00
Alex Sharov
fdb83de6f5
erigon22: authapi to use aggregator22 ( #5506 )
...
* save
* save
2022-09-26 09:09:30 +07:00
jiang
09db0c8d43
open erigon_blockNumber
API ( #5454 )
...
open `erigon_blockNumber` feature API that has been implemented
2022-09-21 19:30:01 +07:00
Alex Sharov
54343d1d69
save ( #5439 )
2022-09-20 13:09:24 +01:00
Alex Sharov
c782064582
erigon22: rpc fixes ( #5437 )
2022-09-20 14:01:54 +07:00
Enrique Jose Avila Asapche
e53fec1977
appending log into erigonLogs ( #5419 )
...
* appending log into erigonLogs
* Revert "appending log into erigonLogs"
This reverts commit 37ceb2fa3da156977bba764d7d9e77f27ae360d7.
* ops
2022-09-19 16:25:10 +03:00
Andrew Ashikhmin
775d4a225b
Don't check TerminalBlockHash in exchangeTransitionConfiguration ( #5428 )
2022-09-19 13:05:45 +02:00
Andrew Ashikhmin
7561a74af3
Remove terminal PoW block overrides ( #5420 )
2022-09-19 10:33:18 +02:00
Alex Sharov
9fb8a190bc
erigon22: folder snapshots/history ( #5351 )
2022-09-18 17:41:01 +07:00
Enrique Jose Avila Asapche
7b1bf44ce6
dont check for block reward or uncles if we are tracing POS ( #5410 )
...
* dont check for block reward or uncles if we are tracing POS
* comparing chainConfig to header difficulty
* fixed test
* difficulty == 0 then we are POS
2022-09-17 22:04:37 +01:00
ledgerwatch
43f592ed0e
Fixes for trace_block ( #5402 )
...
* Fixes for trace_block
* Print
* Print
* extra bodies
* extra bodies
* Add canonical check
* First fix for bodies mismatch
* More cleanup
* Advance progress
* Reset snapshots in integration
* Cleanup
* Way to reset snapshots stage
* Not reset sequence if not needed
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-09-17 12:53:27 +01:00
Temirlan
44266a9237
rcpdaemon, erigon: add --rpc.evmtimeout flag ( #5395 )
2022-09-17 13:25:27 +07:00
Amit Panghal
15ad43e100
fix trace_block response for post merge blocks ( #5361 )
...
* fix trace_block response for post merge blocks
* fix difficulty call
* fix types and other compile issues
* run go fmt
2022-09-15 12:20:41 +01:00
Enrique Jose Avila Asapche
0c64c3f2c7
added a way to get latest executed block post POS ( #5343 )
...
* added a way to get latest executed block post POS
* added erigon_ExecutedBlockNumber into readme
* optional rpc.BlockNumber
* better message
* updated readme
2022-09-14 13:56:31 +03:00
Alex Sharov
d1ddb5ee82
erigon22: fix txn overlap ( #5327 )
...
* save
* save
2022-09-10 11:26:58 +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
Igor Mandrigin
a0c80ccbee
Fix compatibility of eth_getBlockTransactionCountByHash ( #5297 )
...
* fix compatibility of eth_getBlockTransactionCountByHash
* fixup
2022-09-07 12:11:48 +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
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
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
Enrique Jose Avila Asapche
12331e018a
Fix bor txlookup ( #5170 )
2022-08-30 17:23:16 +03:00
Håvard Anda Estensen
65a0caeb94
Use strings.EqualFold for string comparison ( #5227 )
2022-08-30 14:37:14 +07:00
Enrique Jose Avila Asapche
01dbad0979
Separating ErigonLogs from Logs ( #5219 )
2022-08-30 09:49:05 +07:00
Håvard Anda Estensen
7c15ed59e4
Enable prealloc linter ( #5177 )
...
* Enable prealloc linter
* Set inital slice len to 0
2022-08-26 10:04:36 +07:00
Alex Sharov
fb2294d124
Erigon22: basic txNum forward/unwind ( #5176 )
2022-08-25 12:24:01 +07:00
Alex Sharov
69fbfc9bef
Snapshots: Erigon update list in db only after Downloader confirmation, rpcdaemon read list from db ( #5150 )
2022-08-23 16:28:07 +07:00
Alex Sharov
cb9f86fcbc
erigon22: incremental hash state stage ( #5111 )
2022-08-19 10:00:47 +07:00
Alex Sharov
46ef7e5305
erigon22: incremental hash state stage ( #5102 )
2022-08-19 09:35:43 +07:00
Håvard Anda Estensen
ad865ac758
Enable staticcheck linter ( #5084 )
2022-08-17 12:17:45 +07:00