Enrique Jose Avila Asapche
d72fba3bec
eth_estimateGas: read header instead of whole block ( #4561 )
...
* check if block is nil
* using read header
* returning 0, nil
2022-06-29 17:29:31 +03:00
Alex Sharov
cfa8b545fc
downloader: fix tmp dir detection check #4575
2022-06-29 19:53:52 +06:00
hrthaowang
479912423e
Introduce eth_callMany
and debug_traceCallMany
( #4567 )
...
* rpc: add eth_callMany (#1 )
* clean the repo
* clean style
* remove unwanted err check
* fix header bug
* Add RPC `debug_traceCallMany` (#4 )
* update submodule
* fix error msg
2022-06-29 14:24:21 +01:00
Andrew Ashikhmin
4155ec101c
Fix txpool.accountslots flag ( #4573 )
2022-06-29 14:44:22 +02:00
Andrew Ashikhmin
8f86c5d615
Remove getNodeData experimental feature ( #4559 )
2022-06-29 18:23:00 +06:00
Alex Sharov
880a339456
gen less blocks in test ( #4571 )
2022-06-29 13:22:47 +06:00
Alex Sharov
95b41490e0
Advise remove --snap.stop when no indices ( #4570 )
...
* save
* save
2022-06-29 09:14:37 +06:00
Alex Sharov
f613fcafd2
torrent verbosity allow debug #4569 Open
2022-06-29 08:42:11 +06:00
Enrique Jose Avila Asapche
64697a9647
torrent verbosity now uses int ( #4551 )
...
* torrent verbosity now uses int
* logging torrent verbosity
* moved crit correctly
2022-06-29 08:29:59 +06:00
Giulio rebuffo
ed69bac065
Fixed in-memory execution hive tests ( #4565 )
...
* badBlockHalt
* fixed buidl
* lintl
2022-06-29 08:28:00 +06:00
Alex Sharov
6878ddb76f
More user-friendly warning about non-existing module of rpc #4568
2022-06-29 08:24:57 +06:00
Giulio rebuffo
aa7985341e
LVH support to memory overlay ( #4555 )
...
* fixed fcu
* fixed leak
* maybe now?
* wrote forkchoice
2022-06-28 17:46:24 +02:00
Andrew Ashikhmin
dc5d3ffaac
Revert "Switch from eth/66 to eth/67 ( #4549 )" ( #4562 )
...
This reverts commit 16e57aa8a2
.
2022-06-28 13:42:35 +02:00
Andrew Ashikhmin
16e57aa8a2
Switch from eth/66 to eth/67 ( #4549 )
...
* Switch from eth/66 to eth/67
* Fix a compilation error
* Update erigon-lib
* Refresh erigon-lib
2022-06-28 10:12:48 +02:00
Alex Sharov
b315394c48
eth_estimateGas to use snapshots and blocksLRU ( #4556 )
2022-06-28 13:56:08 +06:00
Alex Sharov
538b4fea6c
Snapshots: don't panic after too far reset ( #4558 )
...
* save
* save
* save
* save
2022-06-28 10:31:44 +06:00
Alex Sharov
359ae889b8
don't crush on p2p message handling panic ( #4557 )
...
* save
* save
2022-06-28 10:19:57 +06:00
Levi Aul
5b42a6e8e8
Pass context to engines that perform async operations ( #4531 )
...
* Configure consensus engine with context of stage if engine will do async work
* Change API to make setting of context for AsyncEngine multithreaded-safe
* Ensure lock gets inherited by reference
* Fix linter errors
2022-06-28 09:49:51 +06:00
Giulio rebuffo
b96a3e73ae
ttd sepolia ( #4552 )
2022-06-28 01:53:04 +02:00
Giulio rebuffo
588c2d4e36
Implemented side forks support (up to depth of 128). ( #4514 )
...
* side forks
* fixed stuff
* lint
* update go.mod and go.sum
* cmd
* added comment
* better validatePayload
* fixed empty payload sometimes
* support future side forks
* added crit error handle
* fix compile err
* lint
2022-06-27 15:59:54 +02:00
ValValu
4897f03cbd
Update Readme re http=false ( #4550 )
...
if you wish to separate node from rpcdaemon need to launch with -http=false or rpcdaemon will not launch as port occupied by erigon
2022-06-27 13:10:45 +02:00
Alex Sharov
f0fde26902
document rpc filter methods ( #4548 )
2022-06-27 09:45:19 +06:00
Alex Sharov
b9cb6d953e
Fix nil td ( #4546 )
...
* save
* save
2022-06-26 17:27:14 +06:00
Alex Sharov
afd07e5dee
--no-downloader flag support ( #4545 )
2022-06-26 17:13:32 +06:00
Alex Sharov
529682aa9d
New goerli snapshot ( #4544 )
2022-06-26 17:13:07 +06:00
Alex Sharov
1f4f850b89
pass context around hased state stage ( #4537 )
...
* save
* save
* save
2022-06-25 20:34:42 +06:00
Alex Sharov
0d29c3d47d
Compress: reduce etl buffers to save RAM ( #4536 )
2022-06-25 19:39:39 +06:00
Andrea Lanfranchi
0982edda38
Wmake.ps1 changes ( #4532 )
...
* wmake.ps1 changes
* Polish knobs
* wnoSubmoduleUpdate -> WnoSubmoduleUpdate
* Remove leftover
* Remove pollution of GODEBUG
2022-06-25 13:50:36 +06:00
Andrew Ashikhmin
9b8888d797
Delete bad blocks on unwind ( #4529 )
...
* Delete bad headers
* Delete bad bodies
2022-06-24 15:52:04 +02:00
Enrique Jose Avila Asapche
389af4fc06
check if block is nil ( #4528 )
...
* check if block is nil
* added to rpcdaemon22
2022-06-24 19:48:40 +06:00
primal_concrete_sledge
5e2f6bb2db
Fix/new eth filters ( #4504 )
...
* Add fixes to eth_newPendingTxFilter and others
* Fix tests
* Add test
* Add goroutines return on closed chans
2022-06-24 09:11:38 +01:00
Andrew Ashikhmin
8de7c5e41c
JSON parsing of safe & finalized ( #4524 )
2022-06-23 19:37:39 +02:00
Giulio rebuffo
7896fc60b6
fixed notifications ( #4520 )
2022-06-23 17:23:35 +02:00
Andrew Ashikhmin
70bd93c5c3
Only apply overrides to stored config of a private chain ( #4521 )
2022-06-23 10:41:15 +02:00
Chase Wright
1c4584b438
Include admin methods in README ( #4519 )
2022-06-23 07:13:32 +06:00
Andrew Ashikhmin
0a527feddb
Send Engine API response after tx.Commit() even when useExternalTx ( #4516 )
...
* pendingPayloadStatus -> pendingPayloadHash
* Ensure that Engine API response is sent after tx.Commit() even when useExternalTx
* ProcessEngineApiResponse -> SendEngineApiResponse
* PayloadResponse -> PayloadStatus
2022-06-22 14:54:23 +02:00
Andrew Ashikhmin
18e5bf3bbf
Rework PR 4505 ( #4511 )
...
* Revert "Update chainConfig in the database (#4505 )"
This reverts commit f38ab485e0
.
* Only preserve config of unknown chains
2022-06-21 10:17:54 +02:00
Luke Montgomery
a11dadd012
fixed typo in db_faq.md ( #4509 )
2022-06-21 08:58:55 +01:00
Andrew Ashikhmin
daa84922d6
Commit transaction before responding on Engine API ( #4506 )
...
* Remove an unused interrupt value
* Remove sendErrResponse from safeAndFinalizedBlocksAreCanonical
* Clean up err handling
* startHandlingForkChoice returns response
* handleNewPayload returns response
* Commit transaction before responding on Engine API
* small fix
* Reply with SYNCING before long unwind
* schedulePoSDownload doesn't require requestStatus anymore
2022-06-20 23:03:17 +02:00
ledgerwatch
f38ab485e0
Update chainConfig in the database ( #4505 )
...
* Update genesis.go
* Remove the test
* Remove unnecessary code
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-06-20 16:51:19 +01:00
dylanhuang
834f0f4dea
add eulerBlock in chapel.json ( #4503 )
2022-06-20 12:45:24 +01:00
Alex Sharov
acd69a63ec
"-tags debug" to allow pprof show profiling from C code ( #4502 )
2022-06-20 15:16:56 +06:00
Alex Sharov
6612cf42d6
"torrent_hashes --verify" to detect "snapshots/tmp" dir ( #4501 )
2022-06-20 14:31:57 +06:00
ledgerwatch
79830adefa
[erigon2.2] collecting read indices ( #4499 )
...
* [erigon2.2] collecting read indices
* Fix compile issue
* Update to latest erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-20 09:00:45 +01:00
ledgerwatch
820014734f
[BSC] fix for the Euler fork ( #4500 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-20 08:53:01 +01:00
fenghaojiang
811eef5a7b
add_abigen_error_handle ( #4498 )
...
* add_abigen_error_handle
* add abigen error type test code
2022-06-20 08:48:25 +01:00
Giulio rebuffo
7a2b575e56
Added memory execution ( #4446 )
...
* add
* added in memory execution draft
* func to state
* added functionality
* backend function for memory execution
* simplified stage state
* haltable stage execution
* added mod sum
* hd
* sl
* LOL
* LOL again
* need trace
* more logs
* added cleanup on fcu
* fcu
* mod
* bunch of prtln
* feed
* ops
* headers notify
* revert
* slightly more commented
* head
* nil block retire
* comments
* prevent clean
* corrected occasional panics
* fixed lint
2022-06-19 20:45:36 +01:00
Enrique Jose Avila Asapche
29760d1425
Getting rid of unnecessary cache ( #4494 )
...
* whitelistedTable used
* added descriptions
* no cache
* lint
2022-06-19 19:39:43 +01:00
ledgerwatch
64067a2b77
Debugging Engine API ( #4488 )
...
* defer tx rollback
* Add http.trace flag
* Fixed http.trace flag
* Fix lint
* Fix lint
* Delete unused tests
* Fix lint
* Fix lint
* Fix lint
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-19 13:40:28 +01:00
ledgerwatch
2e3a75f2b1
[erigon2.2] Add skip analysis to trace_filter ( #4487 )
...
* [erigon2.2] Add skip analysis to trace_filter
* Optimisation
* Update to latest erigon-lib
* Fix test
* Update to latest erigon-lib
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-06-19 07:01:00 +01:00