Skip to content

Commit 054bbd2

Browse files
fix(tracing): disable storage for block_traces (#684)
* fix: disable storage for block_traces * bump version
1 parent 5faeeaa commit 054bbd2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

eth/tracers/api_blocktrace.go

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func (api *API) createTraceEnvAndGetBlockTrace(ctx context.Context, config *Trac
8484
if config == nil {
8585
config = &TraceConfig{
8686
LogConfig: &vm.LogConfig{
87+
DisableStorage: true,
8788
EnableMemory: false,
8889
EnableReturnData: true,
8990
},

params/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
const (
2525
VersionMajor = 5 // Major version component of the current release
2626
VersionMinor = 1 // Minor version component of the current release
27-
VersionPatch = 29 // Patch version component of the current release
27+
VersionPatch = 30 // Patch version component of the current release
2828
VersionMeta = "mainnet" // Version metadata to append to the version string
2929
)
3030

rollup/tracing/tracing.go

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
141141
env := CreateTraceEnvHelper(
142142
chainConfig,
143143
&vm.LogConfig{
144+
DisableStorage: true,
144145
EnableMemory: false,
145146
EnableReturnData: true,
146147
},

0 commit comments

Comments
 (0)