Commit Graph

373 Commits

Author SHA1 Message Date
Nickolay Savchenko
d027d712eb
Json rpc eip1898 correctness (#2736) 2021-09-28 09:25:56 +07:00
Zachinquarantine
5da7fb64bf
Remove deprecated Whisper code (#2726) 2021-09-25 22:28:25 +07:00
Alex Sharov
787ec652a0
Sender check read from db (#2717) 2021-09-22 11:57:09 +07:00
Alex Sharov
3de50637cd
remove changeset.Walk func (#2716) 2021-09-22 07:54:29 +07:00
alex.sharov
6927165f0e save 2021-09-21 08:57:23 +07:00
Alex Sharov
8d9e058eb7
Pool: chain config, non-mainnet (#2702) 2021-09-18 20:58:23 +07:00
Alex Sharov
3b9f07f550
don't recover sender only to print it in logs (#2695) 2021-09-16 21:08:46 +07:00
Alex Sharov
ad1682cf40
Expose mdbx's txID to remote_kv (#2686) 2021-09-15 14:22:57 +07:00
Alex Sharov
ec14cba611
Remote Pool: add mining rpc, test pending txs stream (#2685) 2021-09-15 09:09:19 +07:00
ledgerwatch
15b4095718
Move ETL to erigon-lib (#2667)
* Move ETL to erigon-lib

* Update link in the readme

* go mod tidy

* Use common/chan.go from erigon-lib

* Clean up

* Fix lint

* Fix test

* Fix compilation

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-09-12 08:50:17 +01:00
Alex Sharov
87afc18cfd
increase fdlimit from all binaries (#2665)
(not only rpcdaemon)
2021-09-11 16:25:21 +07:00
Alex Sharov
2d8941a845
Pool: built-in v2 (#2643) 2021-09-08 12:31:51 +07:00
Alex Sharov
99317663f8
No open db in main, right clique sign, periodically release write tx on devnet (#2642) 2021-09-08 11:13:34 +07:00
Alex Sharov
2f5b1e490b
revert json iter pool change (#2627) 2021-09-07 09:54:00 +07:00
ledgerwatch
450bd5d655
Not to exclude traces to precompiles on the top level (#2635)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-06 16:36:44 +01:00
Alex Sharov
28480a36ec
Pool: add --txpool.v2 flag to rpcdaemon (#2624) 2021-09-03 11:19:35 +07:00
Alex Sharov
cf026fdd91
Rpcdaemon race on chainConfig set (#2617) 2021-09-02 15:47:48 +07:00
ledgerwatch
6564d6a42f
Properly fix the case when gasPrice is not specified (#2607)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-01 09:26:24 +01:00
Alex Sharov
f3021dd2af
RPC: small optimizations (#2564) 2021-08-24 08:28:58 +01:00
Omar Ceja
63083657d4
Support for latest block in erigon_getHeaderByNumber (#2574)
Co-authored-by: Omar Ceja <oceja@users.noreply.github.com>
2021-08-24 09:13:51 +07:00
Leonardo Yvens
629969fdd6
rpc: Increase the default gas limit to 50 million (#2572)
To be consistent with the change in e9b2c80.
2021-08-23 21:30:21 +07:00
ledgerwatch
e3114acc9e
Avoid crash with vmTrace (#2555)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-19 10:38:18 +01:00
Andrea Lanfranchi
00d627bdb0
Remove config.name (const "erigon") from paths (#2531)
* Remove config.name (const "erigon") from paths

* Fix unit test

* Safety check

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-18 16:24:03 +07:00
Alex Sharov
6c7edb0d34
state diff send to txpool (#2532) 2021-08-17 15:52:55 +07:00
Alex Sharov
c7c3a5932a
rename ReadBody to ReadBodyWithTransactions to make it obvious that it's heavier then just ReadBody (#2534)
* rename ReadBody to ReadBodyWithTransactions

* rename ReadBody to ReadBodyWithTransactions
2021-08-15 17:08:28 +07:00
Alex Sharov
5278ef4224
experimental: txpool cmd (#2530)
* save

* sentry handshake

* move sentry clients to erigon-lib

* move sentry clients to erigon-lib

* move sentry clients to erigon-lib

* move sentry clients to erigon-lib

* correct grpc retry

* correct grpc retry

* correct grpc retry

* save

* save

* save

* save
2021-08-14 20:47:11 +07:00
Thomas Jay Rush
dfeabada77
Fixes issue #2527 and #2526 and adds testing to rpctest (#2528) 2021-08-13 20:45:09 +01:00
Alex Sharov
4f358fca88
Increase default private.api.ratelimit (#2521)
* increase default private.api.ratelimit

* increase default private.api.ratelimit
2021-08-13 16:51:59 +01:00
ledgerwatch
9f14d00788
Fix trace_filter crash (#2523)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-13 10:52:56 +01:00
Alex Sharov
f01a71a696
feehistory fix types to be compatible with spec (#2518) 2021-08-13 10:47:43 +07:00
ledgerwatch
42418d18ad
trace_call and trace_callMany to set gasPrice = basefee if not specified (#2513)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-08-12 09:13:23 +01:00
ledgerwatch
7d586d986d
Compatibility fixes for vmTrace (#2512)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-11 21:23:04 +01:00
Alex Sharov
f78484d141
Update README.md 2021-08-11 15:19:13 +07:00
Evgeny Danilenko
4cd72c8328
Keep readonly value while changing interpreters back and forth (#2508)
* restore TEVM

* fuzzing and property based

* comment

* lint

* stack callback into defer ater checking an error

* sequential tests
2021-08-10 09:48:56 +07:00
ledgerwatch
350d7fe7a9
Adding support for vmTrace into trace_ routines (#2497)
* VmTrace

* Fixes to gasCall, beginning of vmTrace

* Fix opcode tracer

* Add mem and store, enable vmTrace for all methods

* Fix lint

* More nuances and debugging|

* More fixes

* Fix for trace_callMany

* Fix for trace_callMany

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-08 13:28:03 +01:00
Alex Sharov
6bf34b5cb8
RPC: eth_feeHistory (#2501)
* eth_FeeHistory

* eth_FeeHistory

* eth_FeeHistory

* lint

* lint
2021-08-08 14:27:47 +07:00
Alex Sharov
72e9660b74
RPC: eth_MaxPriorityFeePerGas (#2498) 2021-08-08 09:18:41 +07:00
Alex Sharov
6e24a83065
extract kv interface from remoteKv client (#2494) 2021-08-07 12:03:12 +07:00
Richard Patel
743fe8d77b
README.md: add txpool_status (#2491) 2021-08-06 17:10:29 +07:00
Richard Patel
7767b4df88
rpcdaemon: add txpool_status() (#2407)
perfecto
2021-08-06 09:45:44 +07:00
ledgerwatch
44f43312c9
Minor fixes for tracing (#2485)
* Minor fixes for tracing

* Typo in comment

* rpctest bench tracefilter to use limited number of accounts

* replay command to fail if there is a difference

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-03 20:58:18 +01:00
Alex Sharov
6bd44eb26c
move kv to erigon-lib (#2467) 2021-07-29 18:53:13 +07:00
Alex Sharov
5069558752
Apache licensed logger (#2460) 2021-07-29 17:23:23 +07:00
ledgerwatch
69fcbe74ce
Fix tracing issues (#2461)
* Fix tracing issues

* Fix test

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-28 18:49:06 +01:00
Alex Sharov
838e5f9ef2
Move bucket constants into kv package, move kv interface to kv package (#2455) 2021-07-28 09:47:38 +07:00
Alex Sharov
974eb62d75
fix _syncing on zero block (#2453) 2021-07-27 19:22:27 +07:00
ledgerwatch
89ab061569
trace_ methods to take into account AccessList intrinsic gas (#2440)
* Debugging

* trace_ methods to take into account AccessList intrinsic gas

* Clean upp and fix error message

* More cleanup

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-24 12:22:38 +01:00
Alex Sharov
6801208497
move some tests to kv interface (#2438) 2021-07-24 14:14:11 +07:00
Alex Sharov
b957ae98e4
eip1559 for pending tx rpc (#2426) 2021-07-22 21:21:55 +07:00
ledgerwatch
d7c405308c
Update skip_analysis.go (#2420) 2021-07-22 18:57:36 +07:00