|
|
@ -78,7 +78,6 @@ func (c Config) MarshalTOML() (interface{}, error) { |
|
|
|
enc.DocRoot = c.DocRoot |
|
|
|
enc.DocRoot = c.DocRoot |
|
|
|
enc.EWASMInterpreter = c.EWASMInterpreter |
|
|
|
enc.EWASMInterpreter = c.EWASMInterpreter |
|
|
|
enc.EVMInterpreter = c.EVMInterpreter |
|
|
|
enc.EVMInterpreter = c.EVMInterpreter |
|
|
|
enc.ConstantinopleOverride = c.ConstantinopleOverride |
|
|
|
|
|
|
|
enc.RPCGasCap = c.RPCGasCap |
|
|
|
enc.RPCGasCap = c.RPCGasCap |
|
|
|
enc.Checkpoint = c.Checkpoint |
|
|
|
enc.Checkpoint = c.Checkpoint |
|
|
|
enc.CheckpointOracle = c.CheckpointOracle |
|
|
|
enc.CheckpointOracle = c.CheckpointOracle |
|
|
@ -115,7 +114,6 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { |
|
|
|
DocRoot *string `toml:"-"` |
|
|
|
DocRoot *string `toml:"-"` |
|
|
|
EWASMInterpreter *string |
|
|
|
EWASMInterpreter *string |
|
|
|
EVMInterpreter *string |
|
|
|
EVMInterpreter *string |
|
|
|
ConstantinopleOverride *big.Int |
|
|
|
|
|
|
|
RPCGasCap *big.Int `toml:",omitempty"` |
|
|
|
RPCGasCap *big.Int `toml:",omitempty"` |
|
|
|
Checkpoint *params.TrustedCheckpoint |
|
|
|
Checkpoint *params.TrustedCheckpoint |
|
|
|
CheckpointOracle *params.CheckpointOracleConfig |
|
|
|
CheckpointOracle *params.CheckpointOracleConfig |
|
|
@ -205,9 +203,6 @@ func (c *Config) UnmarshalTOML(unmarshal func(interface{}) error) error { |
|
|
|
if dec.EVMInterpreter != nil { |
|
|
|
if dec.EVMInterpreter != nil { |
|
|
|
c.EVMInterpreter = *dec.EVMInterpreter |
|
|
|
c.EVMInterpreter = *dec.EVMInterpreter |
|
|
|
} |
|
|
|
} |
|
|
|
if dec.ConstantinopleOverride != nil { |
|
|
|
|
|
|
|
c.ConstantinopleOverride = dec.ConstantinopleOverride |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if dec.RPCGasCap != nil { |
|
|
|
if dec.RPCGasCap != nil { |
|
|
|
c.RPCGasCap = dec.RPCGasCap |
|
|
|
c.RPCGasCap = dec.RPCGasCap |
|
|
|
} |
|
|
|
} |
|
|
|