Skip to content

Commit

Permalink
disable stack
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmountaintop committed Apr 2, 2024
1 parent 06f4573 commit 5ebd82e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eth/tracers/api_blocktrace.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func (api *API) createTraceEnvAndGetBlockTrace(ctx context.Context, config *Trac
config = &TraceConfig{
LogConfig: &vm.LogConfig{
DisableStorage: true,
DisableStack: true,
EnableMemory: false,
EnableReturnData: true,
},
Expand Down
1 change: 1 addition & 0 deletions rollup/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
chainConfig,
&vm.LogConfig{
DisableStorage: true,
DisableStack: true,
EnableMemory: false,
EnableReturnData: true,
},
Expand Down

0 comments on commit 5ebd82e

Please sign in to comment.