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
Yiming Zang
db3a09495b
Merge pull request #17 from sei-protocol/yzang/SEI-6785
...
Add method deny list in geth http server
2024-03-12 16:33:10 +08:00
yzang2019
c27c86e295
Fix error code
2024-03-12 15:18:11 +08:00
yzang2019
8c577d5829
Change error type to methodNotFoundError
2024-03-12 13:39:24 +08:00
yzang2019
4952d19a6c
Add method deny list in geth http server
2024-03-07 16:21:31 +08:00
Matthieu Vachon
d0fd1bd7f3
Fixed missing instrumentation for txTrace which was making a test fail
2024-02-22 20:03:08 -05:00
Matthieu Vachon
39b25c9163
Merge remote-tracking branch 'sei/master' into extended-tracer-sei
...
# Conflicts:
# core/vm/contracts.go
# core/vm/evm.go
2024-02-22 17:03:04 -05:00
Jeremy Wei
a4f97f7b3d
Make block headers and txs public
2024-02-22 08:57:14 -05:00
codchen
dfcdccd122
Merge pull request #16 from sei-protocol/precompile-value
...
pass value to precompile calls
2024-02-22 15:32:32 +08:00
codchen
6f9b23cefe
pass value to precompile calls
2024-02-22 15:30:53 +08:00
Matthieu Vachon
04d3f64a96
Merge branch 'extended-tracer-backport-1.13.5' into extended-tracer-sei
...
# Conflicts:
# cmd/geth/config.go
2024-02-09 16:52:02 -05:00
Sina Mahmoodi
2264a9c3fe
fix mdLogger
...
Backport of cf6a31514b
2024-02-09 16:08:43 -05:00
Sina Mahmoodi
ee96dd2c03
live tracer err -> warn
...
Backport of 08cb623c2e
2024-02-09 16:08:28 -05:00
Sina Mahmoodi
97e9a8b315
fix blockchain -> logger circular import
...
Backport of 03206befb9
2024-02-09 16:07:56 -05:00
Matthieu Vachon
bd651ce4d9
Merge remote-tracking branch 'sei/master' into extended-tracer-sei
2024-02-08 16:07:25 -05:00
Matthieu Vachon
c5ebc52461
Merge branch 'extended-tracer-backport-1.13.5' into extended-tracer-sei-v1.13.5
2024-02-08 16:05:19 -05:00
Matthieu Vachon
7ff2ae6924
indicate Known block
...
Backport of 056f229260
2024-02-08 16:04:15 -05:00
Matthieu Vachon
31b3b7dca3
rm OnNewAccount
...
Backport of 57cd0c30df
2024-02-08 15:57:12 -05:00
Matthieu Vachon
5456ce5015
Merge branch 'extended-tracer-backport-1.13.5' into extended-tracer-sei-v1.13.5
...
# Conflicts:
# core/state/statedb.go
2024-02-06 15:40:27 -05:00
Matthieu Vachon
9f71824d8c
Backported commits from extended-tracer
...
- 6c44a594f4
- 188cd4182e
- f3c0a89b57
- 95b50299a5
- 2cc09548bb
2024-02-06 15:36:12 -05:00
Matthieu Vachon
301839fbfe
Merge branch 'extended-tracer-backport-1.13.5' into release/sei-1.x-fh3.0
...
# Conflicts:
# accounts/abi/bind/backends/simulated.go
# cmd/geth/config.go
# consensus/beacon/consensus.go
# consensus/ethash/consensus.go
# core/state_processor.go
# core/vm/contracts.go
# core/vm/contracts_test.go
# core/vm/evm.go
# eth/tracers/api.go
# eth/tracers/js/goja.go
# lib/ethapi/api.go
# light/odr_test.go
2024-02-06 15:18:47 -05:00
Matthieu Vachon
7f8926e716
Backporting extended-tracer branch
...
We backported branch `extended-tracer` at commit 3078dfe80b back to v1.13.5 of Geth.
To achieve the backport, we did:
- git checkout -b extended-tracer-squashed
- git reset --hard 3078dfe80b
- git reset --mixed fc380f52ef # This was the latest merged commit not from `extended-tracer` branch
- git commit -A -m "<This message>"
- git checkout v1.13.5
- git checkout -b extended-tracer-backport-v1.13.5
- git cherry-pick extended-tracer-squashed
2024-02-06 13:06:08 -05:00
codchen
c25df4e701
Merge pull request #14 from sei-protocol/disable-daemons
...
disable tx cache sender
2024-02-06 11:59:20 +08:00
codchen
63786021ad
disable tx cache sender
2024-02-06 11:58:40 +08:00
codchen
c047698e66
Merge pull request #13 from sei-protocol/evm-set-evm
...
Set EVM in StateDB in gasestimator
2024-01-30 13:43:13 +08:00
codchen
39ab532d6e
Set EVM in StateDB in gasestimator
2024-01-30 13:42:33 +08:00
codchen
b6b7630a24
Merge pull request #12 from sei-protocol/pass-orig-caller
...
pass orig caller to precompile
2024-01-18 11:35:01 +08:00
codchen
47856d75b3
pass orig caller to precompile
2024-01-18 11:34:18 +08:00
codchen
1786fcac44
Merge pull request #11 from sei-protocol/pass-delegatecall-flag
...
Pass IsDelegateCall to precompile calls
2024-01-18 11:25:11 +08:00
codchen
5d14fa58be
Pass IsDelegateCall to precompile calls
2024-01-18 11:24:44 +08:00
codchen
db336b3fcb
Merge pull request #10 from sei-protocol/fix-delegate-precompile
...
Send correct sender to precompile in delegatecall
2024-01-08 11:35:21 +08:00
codchen
b19992f4b3
Send correct sender to precompile in delegatecall
2024-01-08 11:29:52 +08:00
codchen
6ff4c5e1d8
Merge pull request #9 from sei-protocol/precompile-gas
...
add precompile interface with dynamically-calculated gas
2024-01-04 16:04:38 +08:00
codchen
10ddd7304d
add precompile interface with dynamically-calculated gas
2024-01-04 16:04:01 +08:00
codchen
7654bc2cb9
resolve conflicts
2023-12-12 14:32:36 +08:00
codchen
9ecc4274eb
make setDefaults public
2023-12-12 10:58:59 +08:00
codchen
43497a4c38
Pass sender to precompile Run()
2023-12-12 10:58:59 +08:00
codchen
8f0c453217
make internal public
2023-12-12 10:58:57 +08:00
codchen
42d0052297
fix import
2023-12-12 10:52:36 +08:00
codchen
d04ef5cf81
Use interface as Copy() result
2023-12-12 10:52:35 +08:00
codchen
16a8208f36
use interface instead of concrete state type
2023-12-12 10:52:02 +08:00
codchen
ff86dbf72a
Pass EVM pointer when running precompile
2023-12-12 10:46:41 +08:00
rjl493456442
e206d3f897
trie: remove inconsistent trie nodes during sync in path mode ( #28595 )
...
This fixes a database corruption issue that could occur during state healing.
When sync is aborted while certain modifications were already committed, and a
reorg occurs, the database would contain incorrect trie nodes stored by path.
These nodes need to detected/deleted in order to obtain a complete and fully correct state
after state healing.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-12-08 14:28:23 +01:00
Péter Szilágyi
d98d70f670
cmd/utils, eth: disallow invalid snap sync / snapshot flag combos ( #28657 )
...
* eth: prevent startup in snap mode without snapshots
* cmd/utils: try to fix bad flag combos wrt snap sync and snapshot generation
2023-12-08 15:16:04 +02:00
Felföldi Zsolt
fff843cfaf
beacon/light: add CommitteeChain ( #27766 )
...
This change implements CommitteeChain which is a key component of the beacon light client. It is a passive data structure that can validate, hold and update a chain of beacon light sync committees and updates, starting from a checkpoint that proves the starting committee through a beacon block hash, header and corresponding state. Once synced to the current sync period, CommitteeChain can also validate signed beacon headers.
2023-12-08 13:38:00 +01:00
Martin HS
1048e2d6a3
cmd/evm: fix dump after state-test exec ( #28650 )
...
The dump after state-test didn't work, the problem was an error, "Already committed", which was silently ignored.
This change re-initialises the state, so the dumping works again.
2023-12-08 11:06:01 +01:00