Matthieu Vachon
262c3117f6
Merge remote-tracking branch 'origin/master' into firehose-fh3.0
...
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# cmd/evm/internal/t8ntool/transition.go
# cmd/utils/flags.go
# consensus/beacon/consensus.go
# core/blockchain.go
# core/state_processor.go
# core/tracing/hooks.go
# core/vm/runtime/runtime.go
# eth/backend.go
# eth/tracers/api.go
# eth/tracers/dir.go
# eth/tracers/directory/tracers.go
# eth/tracers/internal/tracetest/calltrace_test.go
# eth/tracers/internal/tracetest/flat_calltrace_test.go
# eth/tracers/js/goja.go
# eth/tracers/js/tracer_test.go
# eth/tracers/live/noop.go
# eth/tracers/logger/logger.go
# eth/tracers/native/4byte.go
# eth/tracers/native/call.go
# eth/tracers/native/call_flat.go
# eth/tracers/native/mux.go
# eth/tracers/native/noop.go
# eth/tracers/native/prestate.go
# eth/tracers/tracers.go
# go.mod
2024-03-25 14:45:08 -04:00
Roberto Bayardo
5cea7a6230
ethclient/simulated: clean up Node resources when simulated backend is closed ( #29316 )
2024-03-25 18:03:44 +01:00
Martin HS
14cc967d19
all: remove dependency on golang.org/exp ( #29314 )
...
This change includes a leftovers from https://github.com/ethereum/go-ethereum/pull/29307
- using the [new `slices` package](https://go.dev/doc/go1.21#slices ) and
- using the [new `cmp.Ordered`](https://go.dev/doc/go1.21#cmp ) instead of exp `constraints.Ordered`
2024-03-25 07:50:18 +01:00
deterclosed
ae47004487
eth: fix typo ( #29320 )
2024-03-25 10:16:44 +08:00
Sina M
064f37d6f6
eth/tracers: live chain tracing with hooks ( #29189 )
...
Here we add a Go API for running tracing plugins within the main block import process.
As an advanced user of geth, you can now create a Go file in eth/tracers/live/, and within
that file register your custom tracer implementation. Then recompile geth and select your tracer
on the command line. Hooks defined in the tracer will run whenever a block is processed.
The hook system is defined in package core/tracing. It uses a struct with callbacks, instead of
requiring an interface, for several reasons:
- We plan to keep this API stable long-term. The core/tracing hook API does not depend on
on deep geth internals.
- There are a lot of hooks, and tracers will only need some of them. Using a struct allows you
to implement only the hooks you want to actually use.
All existing tracers in eth/tracers/native have been rewritten to use the new hook system.
This change breaks compatibility with the vm.EVMLogger interface that we used to have.
If you are a user of vm.EVMLogger, please migrate to core/tracing, and sorry for breaking
your stuff. But we just couldn't have both the old and new tracing APIs coexist in the EVM.
---------
Co-authored-by: Matthieu Vachon <matthieu.o.vachon@gmail.com>
Co-authored-by: Delweng <delweng@gmail.com>
Co-authored-by: Martin HS <martin@swende.se>
2024-03-22 18:53:53 +01:00
Martin HS
d9bde37ac3
log: use native log/slog instead of golang/exp ( #29302 )
2024-03-22 13:17:59 +01:00
Martin HS
14eb8967be
all: use min/max/clear from go1.21 ( #29307 )
2024-03-21 13:50:13 +01:00
Felix Lange
bca6c40709
beacon/blsync: support for deneb fork ( #29180 )
...
This adds support for the Deneb beacon chain fork, and fork handling
in general, to the beacon chain light client implementation.
Co-authored-by: Zsolt Felfoldi <zsfelfoldi@gmail.com>
2024-03-20 19:22:44 +01:00
Martin HS
04bf1c802f
eth/protocols/snap, internal/testlog: fix dataraces ( #29301 )
2024-03-20 15:22:52 +01:00
rjl493456442
15eb9773f9
triedb/pathdb: improve tests ( #29278 )
2024-03-19 10:50:08 +08:00
Matthieu Vachon
ecc78f5dd0
Merge branch 'extended-tracer-struct' into firehose-fh3.0
2024-03-18 15:46:07 -04:00
Martin Holst Swende
4f87f174b3
eth/tracers, cmd/evm: unexport JSONlogger
2024-03-18 17:33:55 +01:00
Matthieu Vachon
b1d1d36dc4
Merge branch 'firehose-fh3.0-backport-1.13.5' into firehose-fh3.0
...
# Conflicts:
# accounts/abi/bind/backends/simulated.go
# cmd/evm/internal/t8ntool/execution.go
# cmd/evm/internal/t8ntool/flags.go
# cmd/evm/internal/t8ntool/transition.go
# cmd/geth/snapshot.go
# consensus/beacon/consensus.go
# consensus/ethash/consensus.go
# consensus/misc/dao.go
# core/blockchain.go
# core/chain_makers.go
# core/evm.go
# core/genesis.go
# core/genesis_test.go
# core/state/dump.go
# core/state/state_object.go
# core/state/state_test.go
# core/state/statedb.go
# core/state/statedb_fuzz_test.go
# core/state/statedb_test.go
# core/state/sync_test.go
# core/state/trie_prefetcher_test.go
# core/state_transition.go
# core/tracing/hooks.go
# core/txpool/blobpool/blobpool_test.go
# core/txpool/legacypool/legacypool2_test.go
# core/txpool/legacypool/legacypool_test.go
# core/types/account.go
# core/vm/errors.go
# core/vm/evm.go
# core/vm/instructions.go
# core/vm/interface.go
# core/vm/interpreter.go
# eth/api_debug_test.go
# eth/tracers/api.go
# eth/tracers/directory/util_test.go
# eth/tracers/firehose.go
# eth/tracers/internal/tracetest/calltrace_test.go
# eth/tracers/internal/tracetest/flat_calltrace_test.go
# eth/tracers/internal/tracetest/prestate_test.go
# eth/tracers/js/goja.go
# eth/tracers/js/tracer_test.go
# eth/tracers/logger/logger.go
# eth/tracers/logger/logger_test.go
# eth/tracers/native/call_flat.go
# eth/tracers/native/prestate.go
# eth/tracers/tracers_test.go
# go.mod
# internal/ethapi/api.go
# light/odr_test.go
# miner/worker.go
# params/version.go
# tests/block_test_util.go
# tests/state_test_util.go
2024-03-15 12:48:29 -04:00
Matthieu Vachon
5cf6340406
Fixed new keccak256 implementation that wasn't working properly
2024-03-15 10:57:39 -04:00
Matthieu Vachon
d673f1927c
Added Firehose 3.0 backport tracer
2024-03-15 10:56:57 -04:00
Martin HS
40cac1d0e2
eth/catalyst: prettier output on bad new payloads ( #29259 )
...
When we receive a bad NewPayload, we currently emit a lot of data to the logging facilities. This PR makes it so we print less data.
2024-03-15 10:44:41 +01:00
shivhg
95715fdb03
eth/downloader, graphql: fix typos ( #29243 )
2024-03-15 10:07:47 +01:00
Haotian
cffb7c8604
params: use the same variable name as EIP-4788 ( #29195 )
...
In https://eips.ethereum.org/EIPS/eip-4788 the name `BEACON_ROOTS_ADDRESS` is used. This change makes geth use the same variable name to avoid confusion.
2024-03-15 09:14:31 +01:00
Matthieu Vachon
3834f135a9
Series of changes to get backport to 1.13.5 working
2024-03-14 16:53:22 -04:00
Sina Mahmoodi
28a80d617f
fix empty tracer config
2024-03-14 16:25:47 -04:00
Sina Mahmoodi
77486e91fb
fix lint issue
2024-03-14 16:23:56 -04:00
Sina Mahmoodi
d0a86c45b5
rm canceler
2024-03-14 16:23:56 -04:00
Sina Mahmoodi
94fc0b4a9e
replace opcode with byte
...
# Conflicts:
# core/tracing/hooks.go
# core/vm/evm.go
# core/vm/instructions.go
# eth/tracers/js/tracer_test.go
2024-03-14 16:23:54 -04:00
Sina Mahmoodi
ea02c9ebc2
fix eth config
2024-03-14 16:16:44 -04:00
Sina Mahmoodi
5c6fb316b7
rm OnKeccakPreimage
...
# Conflicts:
# core/tracing/hooks.go
2024-03-14 16:16:43 -04:00
Sina Mahmoodi
7190602bd2
rm embedding of noop tracer
2024-03-14 16:16:20 -04:00
Sina Mahmoodi
03e48ee451
rename tracer methods to On pattern
...
# Conflicts
# core/vm/interpreter.go
# eth/tracers/directory/noop.go
# eth/tracers/js/goja.go
# eth/tracers/live/noop.go
# eth/tracers/logger/logger.go
# eth/tracers/logger/logger_json.go
# eth/tracers/native/4byte.go
# eth/tracers/native/call.go
# eth/tracers/native/call_flat.go
# eth/tracers/native/mux.go
2024-03-14 16:16:18 -04:00
Sina Mahmoodi
25a3a744c3
rename Capture hooks to On
...
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# core/vm/instructions.go
# eth/tracers/directory/noop.go
# eth/tracers/internal/tracetest/calltrace_test.go
# eth/tracers/internal/tracetest/flat_calltrace_test.go
# eth/tracers/internal/tracetest/prestate_test.go
# eth/tracers/js/goja.go
# eth/tracers/js/tracer_test.go
# eth/tracers/live/noop.go
# eth/tracers/native/4byte.go
# eth/tracers/native/call.go
# eth/tracers/native/call_flat.go
# eth/tracers/native/mux.go
# eth/tracers/native/prestate.go
2024-03-14 16:07:18 -04:00
Sina Mahmoodi
688f0b9654
rename scopeContext to opContext
2024-03-14 16:03:07 -04:00
Sina Mahmoodi
d4ec634c05
rename GetLogger to Hooks
...
# Conflicts:
# eth/tracers/logger/access_list_tracer.go
# eth/tracers/logger/logger.go
# eth/tracers/logger/logger_json.go
# eth/tracers/logger/logger_test.go
# eth/tracers/tracers_test.go
# internal/ethapi/api.go
2024-03-14 16:03:05 -04:00
Sina Mahmoodi
39fc9dcafb
move logger interface to core/tracing
...
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# consensus/beacon/consensus.go
# consensus/ethash/consensus.go
# consensus/misc/dao.go
# core/evm.go
# core/genesis.go
# core/state/state_object.go
# core/state/state_test.go
# core/state/statedb.go
# core/state/statedb_fuzz_test.go
# core/state/statedb_test.go
# core/state/sync_test.go
# core/state/trie_prefetcher_test.go
# core/state_transition.go
# core/txpool/blobpool/blobpool_test.go
# core/txpool/legacypool/legacypool2_test.go
# core/txpool/legacypool/legacypool_test.go
# core/vm/evm.go
# core/vm/instructions.go
# core/vm/interface.go
# eth/api_debug_test.go
# internal/ethapi/api.go
# tests/block_test_util.go
# tests/state_test_util.go
2024-03-14 15:59:21 -04:00
Sina Mahmoodi
b202e8ab74
renaming GetLogger
...
# Conflicts:
# cmd/evm/internal/t8ntool/transition.go
# eth/tracers/logger/logger_test.go
# eth/tracers/tracers_test.go
2024-03-14 13:58:26 -04:00
Sina Mahmoodi
e1c669b3aa
moaar fixes
...
# Conflicts:
# core/state/state_test.go
# core/state/statedb_fuzz_test.go
# core/state/statedb_test.go
# core/state/sync_test.go
# core/state/trie_prefetcher_test.go
# core/txpool/blobpool/blobpool_test.go
# core/txpool/legacypool/legacypool2_test.go
# core/txpool/legacypool/legacypool_test.go
# eth/api_debug_test.go
2024-03-14 13:56:15 -04:00
Sina Mahmoodi
29ebfb30c3
fixes, rm t8ntool tracewriter
...
# Conflicts:
# cmd/evm/internal/t8ntool/execution.go
# cmd/evm/internal/t8ntool/transition.go
# core/vm/instructions.go
# eth/tracers/internal/tracetest/calltrace_test.go
# eth/tracers/internal/tracetest/flat_calltrace_test.go
# eth/tracers/internal/tracetest/prestate_test.go
# eth/tracers/js/tracer_test.go
# eth/tracers/logger/logger_test.go
# eth/tracers/tracers_test.go
# tests/block_test_util.go
# tests/state_test_util.go
2024-03-14 13:51:16 -04:00
Sina Mahmoodi
f1027b7c0a
fix goja scope object wrappers
2024-03-14 13:42:40 -04:00
Sina Mahmoodi
6013241175
fix memory copy util func
2024-03-14 13:42:40 -04:00
Sina Mahmoodi
e0b96540b7
Add canceler interface
2024-03-14 13:42:40 -04:00
Sina Mahmoodi
4e43718bd0
full struct-based tracing infra
...
# Conflicts:
# consensus/beacon/consensus.go
# consensus/ethash/consensus.go
# consensus/misc/dao.go
# core/blockchain.go
# core/evm.go
# core/genesis.go
# core/state/dump.go
# core/state/state_object.go
# core/state/statedb.go
# core/state_transition.go
# core/vm/evm.go
# core/vm/instructions.go
# core/vm/interface.go
# internal/ethapi/api.go
2024-03-14 12:09:18 -04:00
Sina Mahmoodi
4df6904051
use struct for tracing events
...
# Conflicts:
# core/blockchain.go
# core/state/state_object.go
# core/state/statedb.go
2024-03-14 11:57:58 -04:00
Sina Mahmoodi
8ec4560e17
refactor onBlockStart params, new skip method
2024-03-14 11:54:59 -04:00
Sina Mahmoodi
b210cc761d
remove onBeaconBlockRoot events
2024-03-14 11:54:59 -04:00
Sina Mahmoodi
d17940d2e7
minor fix
2024-03-14 11:54:59 -04:00
Sina Mahmoodi
318dc84314
add config for tracers
2024-03-14 11:54:59 -04:00
Matthieu Vachon
ccb7065fc8
Merge branch 'extended-tracer-struct' into firehose-fh3.0
2024-03-14 11:17:34 -04:00
Sina Mahmoodi
17f95b94a1
fix empty tracer config
2024-03-14 14:07:19 +01:00
Haotian
3c26ffeb29
eth/catalyst: remove error return in delayPayloadImport ( #29043 )
...
Co-authored-by: tmelhao <tmelhao@gmail.com>
2024-03-14 00:26:46 +01:00
Matthieu Vachon
2cc4ef938a
Ensure that clique still works in Geth
...
This is going to be opened as an issue as I think it should still work.
2024-03-13 16:25:03 -04:00
Matthieu Vachon
7b77261b7c
Added back OnNewAccount which is Firehose concept so I left it out of the merge commit just before this one
2024-03-13 16:24:14 -04:00
Matthieu Vachon
f47d2fc315
Merge branch 'extended-tracer-struct' into firehose-fh3.0
...
# Conflicts:
# core/blockchain.go
# core/state/statedb.go
# eth/backend.go
# eth/tracers/live/printer.go
# go.mod
# go.sum
2024-03-13 16:23:13 -04:00
Sina Mahmoodi
0b5975fee3
fix merge conflict
2024-03-13 12:48:34 +01:00
Sina Mahmoodi
65bdbc175f
fix lint issue
2024-03-13 12:45:22 +01:00
Sina M
eff424cc30
eth/tracers: fix concurrency issue for JS-tracing a block ( #29238 )
...
This change fixes a concurrency-issue where JS-tracers were accessing the block-ctx GetHash function in a in parallel, which is not safe.
2024-03-13 07:40:02 +01:00
Sina Mahmoodi
73ca96b97e
resolve merge conflict
2024-03-12 17:55:17 +01:00
hyhnet
cd490608e3
all: fix typos in comments ( #29186 )
2024-03-07 22:56:19 +01:00
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
1d2af89bbf
fix eth config
2024-03-06 18:42:18 +01:00
Felföldi Zsolt
aadcb88675
cmd/blsync, beacon/light: beacon chain light client ( #28822 )
...
Here we add a beacon chain light client for use by geth.
Geth can now be configured to run against a beacon chain API endpoint,
without pointing a CL to it. To set this up, use the `--beacon.api` flag. Information
provided by the beacon chain is verified, i.e. geth does not blindly trust the beacon
API endpoint in this mode. The root of trust are the beacon chain 'sync committees'.
The configured beacon API endpoint must provide light client data. At this time, only
Lodestar and Nimbus provide the necessary APIs.
There is also a standalone tool, cmd/blsync, which uses the beacon chain light client
to drive any EL implementation via its engine API.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
2024-03-06 17:50:22 +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
Marius van der Wijden
d8e0807da2
miner: refactor the miner, make the pending block on demand ( #28623 )
...
* miner: untangle miner
* miner: use common.hash instead of *types.header
* cmd/geth: deprecate --mine
* eth: get rid of most miner api
* console: get rid of coinbase in welcome message
* miner/stress: get rid of the miner stress test
* eth: get rid of miner.setEtherbase
* ethstats: remove miner and hashrate flags
* ethstats: remove miner and hashrate flags
* cmd: rename pendingBlockProducer to miner.pending.feeRecipient flag
* miner: use pendingFeeRecipient instead of etherbase
* miner: add mutex to protect the pending block
* miner: add mutex to protect the pending block
* eth: get rid of etherbase mentions
* miner: no need to lock the coinbase
* eth, miner: fix linter
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2024-03-06 14:45:03 +02:00
Delweng
6e379b6fc7
eth/tracers: prestate tracer add blob fee ( #29168 )
...
* eth/tracers: prestate balance add blob fee
Signed-off-by: jsvisa <delweng@gmail.com>
* eth/tracers: prestate test support blob tx
Signed-off-by: jsvisa <delweng@gmail.com>
* eth/tracers: add prestate blob tx test
Signed-off-by: jsvisa <delweng@gmail.com>
---------
Signed-off-by: jsvisa <delweng@gmail.com>
2024-03-06 14:36:12 +02:00
Péter Szilágyi
f4d53133f6
consensus, cmd, core, eth: remove support for non-merge mode of operation ( #29169 )
...
* eth: drop support for forward sync triggers and head block packets
* consensus, eth: enforce always merged network
* eth: fix tx looper startup and shutdown
* cmd, core: fix some tests
* core: remove notion of future blocks
* core, eth: drop unused methods and types
2024-03-05 16:13:28 +02:00
Undefinedor
a6d6e8ac41
rpc: remove deprecated method "Notifier.Closed" ( #29162 )
2024-03-05 14:44:23 +01:00
Andrei Silviu Dragnea
19607d1a10
eth/tracers: Fix prestateTracer pre nonce on contract creation ( #29099 )
...
The prestateTracer was reporting an inaccurate nonce for the contract being created in
post EIP-158 transactions. Correct nonce is 0, due to the issue nonce was being reported as 1.
2024-03-04 20:21:43 +01:00
Undefinedor
00905f7dc4
all: remove redundant import aliases ( #29144 )
2024-03-02 22:42:50 +02:00
Péter Szilágyi
0b1438c3df
eth: make transaction propagation paths in the network deterministic ( #29034 )
...
* eth: make transaction propagation paths in the network deterministic
* eth: avoid potential division by 0
* eth: make tx propagation dependent on local node id too
* eth: fix review comments
2024-03-02 22:39:22 +02: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
0a2f33946b
eth/catalyst: update simulated beacon for cancun ( #28829 )
...
* eth/catalyst: update simulated beacon for cancun
* validate blob hashes
* compute hashes from commitment
* fix beacon root and payload version
* check commitment conversion
* fix random attr
* flip dev to cancun
2024-02-29 14:17:32 +02:00
cui fliter
dbc27a199f
all: fix function names in docs ( #29128 )
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2024-02-29 11:29:06 +02:00
lightclient
1883438964
eth/catalyst: return invalid payload attributes instead of invalid parms for bad fcu payload ( #29115 )
2024-02-28 19:59:16 +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
Andrei Silviu Dragnea
5a0f468f8c
eth/tracers: Fix callTracer logs on onlyTopCall == true ( #29068 )
2024-02-27 10:29:12 +01:00
cui
c1f59b98f6
eth/catalyst: remove variable in tx conversion loop ( #29076 )
2024-02-26 13:22:13 +01:00
cui
edffacca8f
eth/catalyst: enable some commented-out testcases ( #29073 )
2024-02-26 10:59:03 +01:00
Haotian
93c541ad56
eth/catalyst: fix wrong error message of payloadV2 after cancun ( #29049 )
...
* eth/catalyst: the same error format
Signed-off-by: tmelhao <tmelhao@gmail.com>
* eth/catalyst: wrong error message for payloadV2 post-cancun
Signed-off-by: tmelhao <tmelhao@gmail.com>
* eth/catalyst: parentBeaconBlockRoot -> parentBlockBeaconRoot
Signed-off-by: tmelhao <tmelhao@gmail.com>
* apply commit review
Signed-off-by: tmelhao <tmelhao@gmail.com>
---------
Signed-off-by: tmelhao <tmelhao@gmail.com>
Co-authored-by: tmelhao <tmelhao@gmail.com>
2024-02-23 10:57:47 +02:00
ArtificialPB
e47a7c22c4
internal/ethapi: use overriden baseFee for gasPrice ( #29051 )
...
eth_call and debug_traceCall allow users to override various block fields, among them base fee. However the overriden base fee was not considered for computing the effective gas price of that message, and instead base fee of the base block was used. This has been fixed in this commit.
2024-02-22 14:39:22 +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
buddho
bba3fa9af9
core,eth,internal: fix typo ( #29024 )
2024-02-20 19:42:48 +08:00
Péter Szilágyi
f4852b8ddc
core/txpool, eth, miner: retrieve plain and blob txs separately ( #29026 )
...
* core/txpool, eth, miner: retrieve plain and blob txs separately
* core/txpool: fix typo, no farming
* miner: farm all the typos
Co-authored-by: Martin HS <martin@swende.se>
---------
Co-authored-by: Martin HS <martin@swende.se>
2024-02-20 11:37:23 +02:00
Péter Szilágyi
6fb0d0992b
core/txpool, miner: speed up blob pool pending retrievals ( #29008 )
...
* core/txpool, miner: speed up blob pool pending retrievals
* miner: fix test merge issue
* eth: same same
* core/txpool/blobpool: speed up blobtx creation in benchmark a bit
* core/txpool/blobpool: fix linter
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-02-19 15:59:40 +02:00
Péter Szilágyi
593e303485
core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval ( #29005 )
...
* core/txpool, eth, miner: pre-filter dynamic fees during pending tx retrieval
* miner: fix typo
* core/txpool: handle init-error in blobpool without panicing
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-02-17 13:37:14 +02: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
Marius van der Wijden
286090689a
eth/catalyst: add getClientVersion to capabilities ( #28994 )
2024-02-15 14:43:45 +01:00