mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16: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 {
|
if config == nil {
|
||||||
config = &TraceConfig{
|
config = &TraceConfig{
|
||||||
LogConfig: &vm.LogConfig{
|
LogConfig: &vm.LogConfig{
|
||||||
|
DisableStorage: true,
|
||||||
EnableMemory: false,
|
EnableMemory: false,
|
||||||
EnableReturnData: true,
|
EnableReturnData: true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import (
|
||||||
const (
|
const (
|
||||||
VersionMajor = 5 // Major version component of the current release
|
VersionMajor = 5 // Major version component of the current release
|
||||||
VersionMinor = 1 // Minor 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
|
VersionMeta = "mainnet" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,7 @@ func CreateTraceEnv(chainConfig *params.ChainConfig, chainContext core.ChainCont
|
||||||
env := CreateTraceEnvHelper(
|
env := CreateTraceEnvHelper(
|
||||||
chainConfig,
|
chainConfig,
|
||||||
&vm.LogConfig{
|
&vm.LogConfig{
|
||||||
|
DisableStorage: true,
|
||||||
EnableMemory: false,
|
EnableMemory: false,
|
||||||
EnableReturnData: true,
|
EnableReturnData: true,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue