|
|
|
@ -46,7 +46,6 @@ func (c Config) MarshalTOML() (interface{}, error) { |
|
|
|
|
EnablePreimageRecording bool |
|
|
|
|
VMTrace string |
|
|
|
|
VMTraceJsonConfig string |
|
|
|
|
DocRoot string `toml:"-"` |
|
|
|
|
RPCGasCap uint64 |
|
|
|
|
RPCEVMTimeout time.Duration |
|
|
|
|
RPCTxFeeCap float64 |
|
|
|
@ -83,7 +82,6 @@ func (c Config) MarshalTOML() (interface{}, error) { |
|
|
|
|
enc.EnablePreimageRecording = c.EnablePreimageRecording |
|
|
|
|
enc.VMTrace = c.VMTrace |
|
|
|
|
enc.VMTraceJsonConfig = c.VMTraceJsonConfig |
|
|
|
|
enc.DocRoot = c.DocRoot |
|
|
|
|
enc.RPCGasCap = c.RPCGasCap |
|
|
|
|
enc.RPCEVMTimeout = c.RPCEVMTimeout |
|
|
|
|
enc.RPCTxFeeCap = c.RPCTxFeeCap |
|
|
|
@ -124,7 +122,6 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { |
|
|
|
|
EnablePreimageRecording *bool |
|
|
|
|
VMTrace *string |
|
|
|
|
VMTraceJsonConfig *string |
|
|
|
|
DocRoot *string `toml:"-"` |
|
|
|
|
RPCGasCap *uint64 |
|
|
|
|
RPCEVMTimeout *time.Duration |
|
|
|
|
RPCTxFeeCap *float64 |
|
|
|
@ -222,9 +219,6 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { |
|
|
|
|
if dec.VMTraceJsonConfig != nil { |
|
|
|
|
c.VMTraceJsonConfig = *dec.VMTraceJsonConfig |
|
|
|
|
} |
|
|
|
|
if dec.DocRoot != nil { |
|
|
|
|
c.DocRoot = *dec.DocRoot |
|
|
|
|
} |
|
|
|
|
if dec.RPCGasCap != nil { |
|
|
|
|
c.RPCGasCap = *dec.RPCGasCap |
|
|
|
|
} |
|
|
|
|