mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
fix(tracing): disable storage for block_traces (#684)
* fix: disable storage for block_traces * bump version
This commit is contained in:
parent
5faeeaaf62
commit
054bbd29f0
3 changed files with 3 additions and 1 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
|
|||
env := CreateTraceEnvHelper(
|
||||
chainConfig,
|
||||
&vm.LogConfig{
|
||||
DisableStorage: true,
|
||||
EnableMemory: false,
|
||||
EnableReturnData: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue