Skip to content

Commit

Permalink
fix(tracing): disable storage for block_traces (#684)
Browse files Browse the repository at this point in the history
* fix: disable storage for block_traces

* bump version
  • Loading branch information
HAOYUatHZ committed Mar 28, 2024
1 parent 5faeeaa commit 054bbd2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions eth/tracers/api_blocktrace.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ func (api *API) createTraceEnvAndGetBlockTrace(ctx context.Context, config *Trac
if config == nil {
config = &TraceConfig{
LogConfig: &vm.LogConfig{
DisableStorage: true,
EnableMemory: false,
EnableReturnData: true,
},
Expand Down
2 changes: 1 addition & 1 deletion params/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
const (
VersionMajor = 5 // Major version component of the current release
VersionMinor = 1 // Minor version component of the current release
VersionPatch = 29 // Patch version component of the current release
VersionPatch = 30 // Patch version component of the current release
VersionMeta = "mainnet" // Version metadata to append to the version string
)

Expand Down
1 change: 1 addition & 0 deletions rollup/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
env := CreateTraceEnvHelper(
chainConfig,
&vm.LogConfig{
DisableStorage: true,
EnableMemory: false,
EnableReturnData: true,
},
Expand Down

0 comments on commit 054bbd2

Please sign in to comment.