Sina Mahmoodi
eeb0a46429
rm canceler
2024-03-07 13:08:27 +01:00
Sina Mahmoodi
935ff70d6d
replace opcode with byte
2024-03-07 10:30:13 +01:00
Sina Mahmoodi
1d0101969a
rm OnKeccakPreimage
2024-03-06 17:08:00 +01:00
Sina Mahmoodi
73595f0911
rm embedding of noop tracer
2024-03-06 16:44:19 +01:00
Sina Mahmoodi
8b3cddabb5
rename tracer methods to On pattern
2024-03-06 16:34:18 +01:00
Sina Mahmoodi
37ce159500
rm OnStart and onEnd
2024-03-06 15:49:49 +01:00
Sina Mahmoodi
923c180058
rename Capture hooks to On
2024-02-29 17:18:43 +01:00
Sina Mahmoodi
f358e57490
rename scopeContext to opContext
2024-02-29 15:13:03 +01:00
Sina Mahmoodi
507c072b3b
rename GetLogger to Hooks
2024-02-28 19:41:58 +01:00
Sina Mahmoodi
a2829c6f49
rename LiveLogger to hooks
2024-02-28 19:38:04 +01:00
Sina Mahmoodi
7d8db9b503
move logger interface to core/tracing
2024-02-28 19:34:49 +01:00
Sina Mahmoodi
d65bad2f62
renaming GetLogger
2024-02-28 19:27:39 +01:00
Sina Mahmoodi
8cc747f439
moaar fixes
2024-02-28 19:20:17 +01:00
Sina Mahmoodi
a1877ab520
fixes, rm t8ntool tracewriter
2024-02-27 20:31:01 +01:00
Sina Mahmoodi
60c29ac5a2
fix goja scope object wrappers
2024-02-27 16:51:47 +01:00
Sina Mahmoodi
22234e9cc1
fix memory copy util func
2024-02-27 16:32:21 +01:00
Sina Mahmoodi
f434c8df56
Add canceler interface
2024-02-21 18:54:15 +01:00
Sina Mahmoodi
fc35780124
full struct-based tracing infra
2024-02-21 18:47:59 +01:00
Sina Mahmoodi
8997f51d49
Merge branch 'extended-tracer' into extended-tracer-struct
2024-02-16 19:09:10 +01:00
Sina Mahmoodi
490efc5f21
resolve merge conflict
2024-02-16 19:08:41 +01:00
Sina Mahmoodi
95741b1844
core: move genesis alloc types to core/types ( #29003 )
...
We want to use these types in public user-facing APIs, so they shouldn't be in core.
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-02-16 19:05:33 +01:00
Sina Mahmoodi
50095906e2
use struct for tracing events
2024-02-16 11:20:56 +01:00
Sina Mahmoodi
5f0a5437e6
refactor onBlockStart params, new skip method
2024-02-15 16:22:59 +01:00
Sina Mahmoodi
3ba6b92dfb
remove onBeaconBlockRoot events
2024-02-15 16:05:55 +01:00
Sina Mahmoodi
35291e6a8c
resolve merge conflict
2024-02-15 10:22:56 +01:00
Martin HS
8321fe2fda
tests: fix goroutine leak related to state snapshot generation ( #28974 )
...
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-02-14 17:02:56 +01:00
Sina Mahmoodi
0db7a19f33
minor fix
2024-02-14 16:54:51 +01:00
Sina Mahmoodi
674a38ed60
add config for tracers
2024-02-14 16:52:10 +01:00
Sina Mahmoodi
cf6a31514b
fix mdLogger
2024-02-09 11:19:56 +01:00
Sina Mahmoodi
03206befb9
fix blockchain -> logger circular import
2024-02-09 11:02:39 +01:00
Sina Mahmoodi
27f662d96c
fix merge conflict
2024-02-08 19:07:00 +01:00
Sina Mahmoodi
056f229260
indicate known block
2024-02-08 17:20:53 +01:00
Sina Mahmoodi
57cd0c30df
rm OnNewAccount
2024-02-08 16:30:14 +01:00
Sina Mahmoodi
2cc09548bb
rename
2024-02-06 17:33:18 +01:00
Sina Mahmoodi
95b50299a5
replace printer with noop live tracer
2024-02-06 17:31:33 +01:00
Sina Mahmoodi
f3c0a89b57
add OnBlockchainInit for chainConfig
2024-02-06 17:21:52 +01:00
Dimitris Apostolou
8fd43c8013
all: fix typos in comments ( #28881 )
2024-02-05 22:16:32 +01:00
Sina Mahmoodi
56862cf07f
emit onNewAccount when reseting account
2024-01-30 16:36:14 +01:00
Sina Mahmoodi
4c1d675041
resolve merge conflict
2024-01-29 20:00:43 +01:00
Martin HS
a5a4fa7032
all: use uint256 in state ( #28598 )
...
This change makes use of uin256 to represent balance in state. It touches primarily upon statedb, stateobject and state processing, trying to avoid changes in transaction pools, core types, rpc and tracers.
2024-01-23 14:51:58 +01:00
rjl493456442
78a3c32ef4
core, core/rawdb, eth/sync: no tx indexing during snap sync ( #28703 )
...
This change simplifies the logic for indexing transactions and enhances the UX when transaction is not found by returning more information to users.
Transaction indexing is now considered as a part of the initial sync, and `eth.syncing` will thus be `true` if transaction indexing is not yet finished. API consumers can use the syncing status to determine if the node is ready to serve users.
2024-01-22 21:05:18 +01:00
Paul Lange
c66ca8bf7a
tracer: use proper base fee in tests ( #28775 )
...
In the tracing tests, the base fee was generally set to nil. This commit changes this to pass the proper base instead, and fixes the few tests which become broken by the change.
2024-01-16 12:20:26 +01:00
Sina Mahmoodi
c3319301cc
add test case for frontier create out of storage
2024-01-15 13:37:39 +03:30
Sina Mahmoodi
580f02527e
has call reverted to snapshot
2024-01-12 17:53:12 +03:30
Sina Mahmoodi
a52c80dec5
Fix test case
2023-12-12 11:34:41 +03:30
Sina Mahmoodi
0d254e4983
fix test
2023-12-11 16:17:49 +03:30
Sina Mahmoodi
0484068df5
fix lint issues
2023-12-11 14:17:29 +03:30
Sina Mahmoodi
c5e407ba66
resolve merge conflicts
2023-12-05 18:13:41 +03:30
Sina Mahmoodi
f862531c25
rm chainConfig from OnGenesisBlock
2023-12-05 16:49:03 +03:30
Sina Mahmoodi
9e5c96fdff
add chainConfig to block events
2023-12-05 16:31:16 +03:30