lupin012
6a83a91145
Add create access list test ( #9062 )
2023-12-23 21:38:47 +07:00
Dario Gagliano
0aa06af226
Add benchOtsGetBlockTransactions ( #8672 )
2023-11-21 15:53:10 +07:00
Sixtysixter
0a374ab615
Review debug_trace* benches ( #8773 )
...
Review for following benches for the sake of clarity:
- debug_traceBlochByNumber
- debug_traceBlochByHsh
- debug_traceTransaction
- debug_traceCall
Bench name `benchTraceBlockByHash` has been moved to
`benchDebugTraceBlockByHash`
Bench name `benchTraceTransaction` has been moved to
`benchDebugTraceTransaction` (to avoid confusion with future bench for
trace_transaction APIs)
2023-11-20 16:27:59 +07:00
lupin012
1b14921a9d
rpctest: Adapts rpctest error handling all tests ( #8744 )
2023-11-17 08:57:08 +07:00
Sixtysixter
d1271268c7
debug_traceBlockByNumber pattern test ( #8655 )
...
added debug_traceBlockByNumber API pattern test
2023-11-07 15:51:25 +07:00
lupin012
e42642e353
rpctest: Fix error mgt from bench1 to bench9 ( #8548 )
2023-10-24 12:55:33 +07:00
lupin012
93be5ecddc
rpctest: Add rpctest get block by number ( #8476 )
2023-10-17 10:40:36 +07:00
lupin012
2a760e9c02
rpctest: Update tx receipt test ( #8415 )
2023-10-12 14:17:38 +07:00
lupin012
67f85e55a1
rpc_test: Add test for get tx from hash ( #8418 )
2023-10-12 14:17:03 +07:00
lupin012
ecba93837a
rpctest: Add rpctest for eth_getBlockByHash() ( #8323 )
2023-09-30 13:06:14 +07:00
lupin012
140b47ab58
Add eth_getBalance test ( #6583 )
...
Add test on eth_getBalance() also with vegeta files creation to make
performance tests
2023-01-16 21:52:11 +00:00
ledgerwatch
329d586464
Try to reproduce and fix eth_getBlockByNumber returning nil ( #4608 )
...
* Small optimisation for eth_getBlockByNumber
* Option to not retrieve transactions
* fixes
* Check hash
* Fixes
* Avoid shadowing of err in BlockWithSenders
* Fix test
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2022-07-06 14:10:12 +01:00
bernard-wagner
58d2118c10
rpcdaemon: added debug_traceBlockByNumber and debug_traceBlockByHash ( #3548 )
2022-02-19 08:15:27 +00:00
Alex Sharov
da00e949c4
RemoteRPC: coherentCache for kv.Code; LocalRPC: enable small blocksLRU ( #2815 )
2021-10-12 12:04:04 +07:00
canepat
03659cc801
Add eth_call bench test ( #2796 )
...
Refactor requestAndCompare to check errors
2021-10-08 08:43:54 +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
5069558752
Apache licensed logger ( #2460 )
2021-07-29 17:23:23 +07: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
ledgerwatch
1c24b9371e
Refactoring of rpctest to reduce copy-paste and enable error recording ( #2401 )
...
* Refactoring of rpctest to reduce copy-paste and enable error recording
* Reduction
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-19 18:50:45 +01:00
ledgerwatch
c0488ea919
Fix for trace in trace_replayTransaction and trace_replayBlock ( #2380 )
...
* Fix for trace in trace_replayTransaction and trace_replayBlock
* Add to the rpctest
* Improve output
* Fix typo
* Simplify
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-07-16 08:31:28 +01:00
ledgerwatch
74a96cbefd
Improvements in rpctest ( #2376 )
2021-07-15 21:00:10 +07:00
ledgerwatch
f5e42b1e7a
Fixes in rpctest and rpcdaemon for debug_traceTransaction, and opcode tracer, tool for repairing broken receipts ( #2284 )
...
* Fixes in rpctest and rpcdaemon for debug_traceTransaction
* Fix for opcode tracer
* Tool to fix receipts
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-03 14:34:23 +01:00
ledgerwatch
ba55611f29
rpctest for eth_getTransactionReceipt ( #2271 )
...
* rpctest bench for eth_getTransationReceipt
* Add blockHash to re-generated receipts
* Modify scanReceipts
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-02 14:34:20 +01:00
Artem Vorotnikov
af836a6200
Nuke LMDB ( #2167 )
2021-06-16 13:57:58 +03:00
Evgeny Danilenko
74847d77e6
Rename to Erigon ( #2018 )
...
* turbo-geth to erigon
* tg, turbo to erigon
2021-05-26 11:35:39 +01:00
Alex Sharov
0be3044b7e
rename ( #1978 )
...
* rename
* rename "make grpc"
* rename "abi bindings templates"
* rename "abi bindings templates"
2021-05-20 19:25:53 +01:00
Alex Sharov
9d66aa0fe3
better support for mdbx in snapshots ( #1971 )
2021-05-20 18:12:07 +07:00
ledgerwatch
793c13e20e
trace_filter and CallTrace Index (derivative of #1626 ) ( #1867 )
...
* Trace Index
* trace_filter
* hrtc -> hrt
* Fix CallTraces
* wip
* wip
* Fix for incorrect gas
* fix
* Fix Tracer
* Add block and uncle coinbases to trace index
* rewind coinbase
* Commit every 100k blocks after block 3m
* Simplify
* Safe unwinds
* Safe unwind 2
* Cleanup
* Simplification
* Remove intermediate JSON transform
* Reinstate optional CallIndex stage
* Create rpctest bench for trace_filter
* Fix trace_filter generator
* Restore unwind order
* Ignore the storage mode
* Ignore the storage mode
Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-05-04 07:23:54 +01:00
Artem Vorotnikov
58fca1cd0a
trace_block (part 1) ( #1714 )
2021-04-15 00:44:58 +03:00
ledgerwatch
7b019aaa72
rpctest: Recording requests and responses and replay command ( #1644 )
...
* Record to file
* Add replay command
* Update doc
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-03-31 20:20:38 +01:00
ledgerwatch
270f866b06
rpctest commands to support block ranges, integration tool to allow tx tracing into files ( #1616 )
...
* block range options for rpctest
* convert bench8 to fastjson
* Add txtrace to integration tool
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-03-27 21:43:38 +00:00
ledgerwatch
2daa71e6cb
Support for trace_callMany ( #1486 )
...
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-02-10 17:04:47 +00:00
ledgerwatch
7c8bae8591
Implementation of debug_traceCall, add stateDiff to trace_call ( #1442 )
...
* Implementation of debug_traceCall
* Fix compile error
* Implementing stateDiff in trace_call - WIP
* fixes to stateDiff, better parsing in rpctest
* Fix lint
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-01-18 11:13:19 +00:00
ledgerwatch
0953fd42cb
WIP trace_call implementation ( #1399 )
...
* trace_call initial
* Fix tests
* More tracing
* Add more fields to the action
* Completed first example query
* Add initial bench11 to compare trace_call with OpenEthereum
* Exclude precompile calls from call traces
* Add self-destruct, call types, more comparison in rpctest
* Support for execution errors
* Stack underflow error and delegatecall value
* Fix lint
* Fix suicide traceAddress, Bad instruction error
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2020-12-14 11:27:52 +00:00
Alex Sharov
e02d6acc7d
bitmap indices for logs ( #1124 )
...
* save progress
* try now
* don't create bloom inside rlpDecode
* don't create bloom inside ApplyTransaction
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* rename method
* print timings
* print timings
* print timings
* sort before flush
* fix err lint
* clean
* move tests to transactions
* compressed version
* up bound
* up bound
* more tests
* more tests
* more tests
* more tests
* better removal
* clean
* better performance of get/put methods
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* optimize rpcdaemon
* fix test
* fix rpcdaemon
* fix test
* simplify
* simplify
* fix nil pointer
* clean
* revert some changes
* add some logs
* clean
* try without optimize
* clean
* clean
* clean
* clean
* try
* move log_index to own stage
* move log_index to own stage
* integration add log_index stage
* integration add log_index stage
* clean
* clean
* print timing
* remove duplicates at unwind
* extract truncateBitmaps func
* try detect
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* add blackList of topics
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* clean
* sharding 1
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 2
* sharded 3
* sharded 3
* sharded 3
* speedup things by putCurrent and putReserve
* clean
* optimize trim
* clean
* remove blacklist
* add more info to err
* ?
* clean
* clean
* clean
* clean
* clean
* working version
* switch to cgo version of roaring bitmaps
* clean
* clean
* clean
* clean
* more docs
* clean
* clean
* fix logs bloom field
* Fix debug_getModifiedAccountsByNumber
* Try to fix crash
* fix problem with "absent block"
* fix problem with "absent block"
* remove optimize method call
* remove roaring iterator
* fix problem with rebuild indicess
* remove debug prints
* tests for eth_getLogs involving topics
* add tests for new stage, speparate topics into 2 buckets
* version up
* remove debug logs
* remove debug logs
* remove bloom filter implementation
* Optimisation
* Optimisatin not required, make rpctest lenient to geth errors
* Lenient to geth failures
Co-authored-by: Alexey Akhunov <akhounov@gmail.com>
2020-09-28 18:18:36 +01:00
Alex Sharov
1dcc2b141a
Rpcdaemon as lib ( #940 )
...
* share config object
* create default config and logger
* move db connection to common func
* move server start to cli package
* clear
* clear
* rename cli to rpc
* use unified SetupLogger func
* make all root flag persistent
* use common flags in different packages
* use common flags in different packages
* move TraceTx method to eth package
* use native slice flags
* create package "turbo"
* disable geth api
* disable geth api
* move more data types to turbo/adapter package
* add support for customApiList
* run more
* run more
* run more
* dog-food
* move DoCall
* move DoCall
* fix tests
* fix test
2020-08-19 12:46:20 +01:00
b00ris
eb46dd68df
Account range testing ( #938 )
...
* save state
* save state
* save new timeouts
* compare passed
* save state
* cleanup
2020-08-19 07:33:49 +01:00
ledgerwatch
72dcf478d3
Fix debug_storageRangeAt in rpc daemon ( #732 )
...
* Fix storageRangeAt
* Fix formatting
* Fix lint
* Fix lint
* Prevent racing by closing db after the blockchain
2020-07-10 06:44:01 +01:00
ledgerwatch
ed866e6934
non-concurrent ETL, debug_traceTransaction in rcpdaemon ( #692 )
...
* Fixing history index
* Remove chunk generation, fix formatting
* Fix compile error, clean up hack.go
* Fix output tests
* Fix index generator test
* Fixed checkChangeSets
* Fix linter
2020-06-28 07:10:27 +01:00
ledgerwatch
e322961dd2
Non scalable but correct implementation of eth_getProof ( #562 )
...
* Prototype works
* Fix linter, start actual implementation
* More on getProof implementation
* Fixes
* Fix storage proofs
* Fix linter, start adding to rpctest
* Fixes in eth_getProof and rpctest
* Fix linter
* Reenable check for debug_traceTransation
* Cleanup
2020-05-20 15:32:50 +01:00
ledgerwatch
0c6a44b5e5
Index bits to mark creation of accounts or storage items ( #483 )
...
* Index bits
* Fix linter
* Fix linter
* Not to call getModifiedAccountsByNumber for go-ethereum
* Remove the 0x000 kludge
2020-04-25 15:50:32 +01:00
ledgerwatch
091811c3d1
Account range crash fix ( #481 )
...
* Pass error from accountRange
* Fix linter
* Fixes for accountRange
* Fix tests
* Fix tests
* Eliminate deadlocks
* Fixes
* Fix linter
* Fix linter
* Code hash fixes
* Fix linter
* Fix linter
* Fix linter
* Fix linter
* Fix in rpctest
* Ignore storage roots
* Fix linter
* Fix dump test
2020-04-23 10:35:43 +01:00
Igor Mandrigin
7ad429ae5f
add debug_accountRange
to rpctest ( #476 )
2020-04-22 15:36:32 +03:00
ledgerwatch
92800eb66e
Remove duplicate and spurious items from WalkAsOf (not optimised) ( #480 )
2020-04-22 13:14:40 +03:00
ledgerwatch
076a1005aa
Fix eth_getLogs and restore it in rpctest ( #462 )
...
* Modifications to rpctest
* Park getLogs
* Fix in bloombits
* Add tolerance to rpc to geth
* Fix linter
* Fix linter
* Fix
* More fixes to rpctest
* Fixes in rpctest
2020-04-17 15:48:30 +01:00
Alex Sharov
805f9aa501
benchmark rpc daemon
...
* tracing, write bench1() result into files
* add context to computeTxEnv, remote_db cursor lazy cache allocation,
* more results
* added
* added
* added
* more info
* make linter happy
* exit from tracing gorutines
* remove unused param
* re-run CI
* re-run CI
* remove concept txHandle
* batch cursor in reports
* remove debug output
* fix shadow variables and unhandled errors
2019-12-22 21:10:46 +06:00
alex.sharov
73b50e080d
debug_StorageRangeAt v0, got wrong response on request: {"jsonrpc":"2.0","method":"debug_storageRangeAt","params":["0x2bf07c790737be3bc4c57cbf3dedb231806f6bfef434657d59dcc9ddbe4665ab", 1,"0x8b3b3b624c3c0397d3da8fd861512393d51dcbac","0xfade75560a6cfb895f5dc7c4ab3fa10089ac2372c98aa78280d029ab36285ad6",1024],"id":1377}
2019-12-13 09:56:30 +06:00
ledgerwatch
b2ca635d86
Debug tool for recursively comparing state (in DB or in a file) with geth archive node ( #191 )
...
* Fetching results of eth_getProof
* Dump 5 levels of the trie in a file for repeated runs
* Drill down to 6 levels of the trie
* Fix lint
* Fix lint
* Fix lint
* verifySnapshot to check accounts with emptyRoot
* Descend into short nodes
* Latest tool fixes
* Fix lint
* Fix state properly working
2019-11-25 13:36:21 +00:00
Giulio
138241bd2c
linting
2019-11-05 22:51:11 +01:00
Alexey Akhunov
fe01bccbb8
Apply Turbo-Geth modifications to go-ethereum codebase
2019-11-01 21:52:03 +01:00