Alex Sharov
a79b3cd6eb
unify stage params ( #2384 )
2021-07-17 09:09:56 +07:00
Alex Sharov
325c9cd9d8
RPC: compatible accountRange ( #2378 )
2021-07-16 22:01:29 +07: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
Alex Sharov
8f0ce86ad0
set same timeout for call and trace ( #2373 )
2021-07-15 17:25:32 +07:00
Alex Sharov
12ac18161d
fix crush in api ( #2372 )
2021-07-15 10:05:57 +07:00
Artem Vorotnikov
a49b920659
Remove preimages ( #2370 )
2021-07-15 09:06:07 +07:00
Alex Sharov
623a3feeee
RPC: return all stages progress inside eth_syncing ( #2353 )
2021-07-13 09:17:05 +07:00
Alex Sharov
e1c17e035a
rawdb.TxLookup - to return err, remove docs of rpcdaemon dual mode ( #2340 )
2021-07-11 12:25:21 +07:00
Alex Sharov
5eaf4c8cc3
rpc: 1559 in call and tracing ( #2327 )
2021-07-11 04:05:56 +00:00
Alex Sharov
43af5d42b8
simplify staged sync world ( #2336 )
...
* simplify world
* simplify world
* simplify world
2021-07-10 16:43:58 +07:00
Alex Sharov
e98340d806
Simplify stagedsync.Prepare ( #2317 )
2021-07-08 20:52:22 +07:00
Alex Sharov
360735318b
rpc: add --rpc.batch.concurrency flag ( #2308 )
2021-07-07 10:48:21 +07:00
Alex Sharov
a68b5ba361
Replace ChainConfig.WithEIPsFlags by go-ethereum's ChainConfig.Rules ( #2304 )
...
* use chainRules
* use chainRules
* use chainRules
* use chainRules
* use chainRules
2021-07-05 19:52:50 +01:00
Alex Sharov
9683b26483
remove ctx from state writer interface ( #2302 )
2021-07-05 15:42:44 +07:00
Alex Sharov
3db7e85994
Simplify GetAsOf ( #2285 )
...
* no reason to copy if we work with ethdb.Tx (user of ethdb.Tx expecting that all data valid until end of tx)
* less objects
2021-07-04 08:49:31 +01: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
Alex Sharov
aa70f3c5a8
speedup tracing by not recalculating senders ( #2286 )
2021-07-03 13:55:14 +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
Alex Sharov
c12ef4478b
don't call http handler after ws handler ( #2267 )
2021-07-02 11:10:54 +01:00
ledgerwatch
a05d1be531
Pull grpc bindings into erigon-lib ( #2265 )
...
* Pull grpc bindings into erigon-lib
* Remove mdbx dist
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-01 22:31:14 +01:00
Alex Sharov
ea81761991
enable private rpc by default in Erigon, better logs in the beginning ( #2262 )
2021-07-01 22:30:55 +01:00
Zhengyan Gao
f4ef314e50
add GasPrice for the DynamicFeeTransaction. ( #2261 )
2021-07-01 11:29:32 +07:00
Alex Sharov
bfe4d97fae
fix_receipt_status ( #2250 )
2021-06-30 12:56:00 +01:00
Zhengyan Gao
2fb9b2ebc8
add effectiveGasPrice field for GetTransactionReceipt, GetBlockReceipts ( #2252 )
2021-06-30 09:50:39 +07:00
Alex Sharov
8f6aa2f7ae
propagate new tx to p2p ( #2254 )
2021-06-29 17:00:22 +07:00
Alex Sharov
a6f4b08716
Revert "Propagate new txs to P2P ( #2249 )" ( #2253 )
...
This reverts commit e9ae6d688f
.
2021-06-29 15:46:00 +07:00
Alex Sharov
e9ae6d688f
Propagate new txs to P2P ( #2249 )
2021-06-29 14:40:23 +07:00
Alex Sharov
96ecce60e4
ChainID alias for ChainId ( #2248 )
2021-06-28 18:36:07 +07:00
Andrea Lanfranchi
bc16c0127f
Update README.md
2021-06-28 12:55:14 +02:00
Alex Sharov
f30c3b8951
Rpcdaemon help add namespaces ( #2244 )
...
* add namespaces list to rpcdaemon help
* add namespaces list to rpcdaemon help
* add namespaces list to rpcdaemon help
2021-06-27 22:14:14 +01:00
Zhengyan Gao
31cd8afe98
update tx block base fee, tips,fee cap json fields. (eip1559) ( #2237 )
...
* update tx block base fee, tips,fee cap json fields. (eip1559)
* gofmt core/types/block.go
2021-06-27 22:14:01 +01:00
Alex Sharov
cba7861164
Send raw tx test ( #2234 )
2021-06-27 13:41:21 +07:00
Alex Sharov
0edac73451
RPC: trace_replayTransaction and trace_replayBlockTransactions methods (stateDiff only) ( #2238 )
...
* trace_replay
* trace_replay
* trace_replay
* trace_replay
* trace_replay
2021-06-26 13:27:29 +01:00
Alex Sharov
605d7a8d59
Sokol v0 ( #2228 )
...
* handle chain flag in integration
* handle chain flag in integration
* handle chain flag in integration
* save
* save
* merge devel
* save
* noopWriter - one is enough
* chain spec parser
* chain spec parser
* embed
* embed
* embed
* embed
* embed
* embed
* embed
* clean
* clean
* correct alloc after reset state
* correct alloc after reset state
* correct alloc after reset state
* integration reset state now does re-apply genesis and chainConfig
* eips summary
* eips summary
* eips summary
2021-06-25 19:13:40 +01:00
Alex Sharov
d8608ac22e
simplify eth_callBundle ( #2233 )
...
* simplify eth_callBundle
* simplify eth_callBundle
2021-06-25 17:25:12 +01:00
Roman Koblov
18fa156d92
Make default gas for eth_call to be maximum gas capacity instead of 0 ( #2232 )
...
* Make default gas for eth_Call to be maximum gas capacity instead of 0
* Fix nil pointer dereference
2021-06-24 15:48:54 +01:00
ledgerwatch
876dde506f
Fix range for eth_getLogs ( #2227 )
...
* Fix range for eth_getLogs
* Use Or and measure time
* more measurement
* more measurement
* Not compute tx hashes
* Not compute tx hashes
* Not compute tx hashes
* filter logs before derive fields
* Fix filtering by block number
* fix
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-23 23:33:45 +01:00
ledgerwatch
6292056503
Remove root from eth_getTransactionReceipt ( #2211 )
...
* Remove root from eth_getTransactionReceipt
* Simplifaction of status
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-23 15:52:31 +01:00
Alex Sharov
59d05dc5fe
hide file exists err ( #2218 )
2021-06-22 11:09:45 +01:00
Alex Sharov
bc271f92ce
To break dependency to db implementation - move all db classes to "ethdb/kv" and leave in "ethdb" only interfaces ( #2195 )
2021-06-19 15:21:53 +07:00
mempirate
ca926ce94d
net_peerCount for remote sentries ( #2192 )
...
* net_peerCount for remote sentries
* cleanup
* Simplify NetPeerCount using SentryClient
* Refactor id -> count
2021-06-18 14:34:15 +01:00
mempirate
e51b09da0d
Implements net_peerCount RPC call for internal sentries ( #2172 )
...
* Implement API and protobuf
* Squashed 'interfaces/' content from commit cd3eca28e
git-subtree-dir: interfaces
git-subtree-split: cd3eca28e50367af9de52fca863b1d7528bff774
* Implement net_peerCount RPC call
* Squashed 'interfaces/' content from commit cd3eca28e
git-subtree-dir: interfaces
git-subtree-split: cd3eca28e50367af9de52fca863b1d7528bff774
* Fixing merge conflicts
* Remove p2p.Server from Ethereum backend
* Fix peerCount calculation for internal sentries
* Bump eth backend API version
* Update rpcdaemon README
* Document version change
2021-06-17 22:55:20 +01:00
ledgerwatch
9d03cd4bf4
trace compatibility with OE (sometimes bug for bug) ( #2174 )
...
* Initial investigations
* Add compatibility option, cleanup
* More cleanup
* Better error handling for streaming RPC requests
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-06-16 18:24:56 +01:00
Artem Vorotnikov
af836a6200
Nuke LMDB ( #2167 )
2021-06-16 13:57:58 +03:00
BitBaseBit
7ed337cdcc
Implemented panic handling, graceful shutdown and reporting for all goroutines that don't explicitly handle them. ( #2153 )
...
* implemented crash reporting for all goroutine panics that aren't handled explicitly
* implemented crash reporting for all goroutine panics that aren't handled explicitly
* changed node defaults back to originals after testing
* implemented panic handling for all goroutines that don't explicitly handle them, outputting the stack trace to a file in crashreports
* handling panics on all goroutines gracefully
* updated missing call
* error assignment
* implemented suggestions
* path.Join added
* implemented Evgeny's suggestions
* changed path.Join to filepath.Join for cross-platform
* added err check
* updated RecoverStackTrace to LogPanic
* updated closures
* removed call of common.Go to some goroutines
* updated scope capture
* removed testing files
* reverted back to original method, I feel like its less intrusive
* update filename for clarity
2021-06-13 17:41:39 +01:00
ledgerwatch
d1e4edb180
Better compatibility with OE for trace_call and trace_callMany ( #2137 )
...
* Better compatibility for trace_call
* Also for trace_callMany
* non canonical hash error
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-06-11 13:19:10 +01:00
Marin Ivanov
5226d98379
Add ws.compression flag to rpcdaemon ( #2143 )
...
* Add ws.compression flag to rpcdaemon
* Fix WebSocketHandler in tests
2021-06-11 10:21:39 +01:00
Alex Sharov
eedabfca85
txpool_content ( #2127 )
...
* txpool_content
* txpool_content
* txpool_content
* txpool_content
* Squashed 'interfaces/' content from commit 1e916d013
git-subtree-dir: interfaces
git-subtree-split: 1e916d0137aff7bd9e9356cc203cea5f0ea9c7f1
* add test
* add test
* add test
* merge devel
* save
2021-06-11 09:34:47 +01:00
Evgeny Danilenko
de26634d8d
TEVM status pruning ( #2034 )
...
* use trace for TEVM status
* restore testdata
* fix getting contract from plain state
* unwind
* linters
* reproducible build debug
* debug
* debug
* remove debug
2021-06-11 09:34:25 +01:00
ledgerwatch
aae8fddaee
Update README.md ( #2125 )
2021-06-09 11:20:46 +01:00