فهرست منبع

eth: dump rpc gas cap and tx fee cap (#22574)

Marius van der Wijden 4 سال پیش
والد
کامیت
54c0d573d7
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      eth/ethconfig/config.go

+ 2 - 2
eth/ethconfig/config.go

@@ -187,11 +187,11 @@ type Config struct {
 	EVMInterpreter string
 	EVMInterpreter string
 
 
 	// RPCGasCap is the global gas cap for eth-call variants.
 	// RPCGasCap is the global gas cap for eth-call variants.
-	RPCGasCap uint64 `toml:",omitempty"`
+	RPCGasCap uint64
 
 
 	// RPCTxFeeCap is the global transaction fee(price * gaslimit) cap for
 	// RPCTxFeeCap is the global transaction fee(price * gaslimit) cap for
 	// send-transction variants. The unit is ether.
 	// send-transction variants. The unit is ether.
-	RPCTxFeeCap float64 `toml:",omitempty"`
+	RPCTxFeeCap float64
 
 
 	// Checkpoint is a hardcoded checkpoint which can be nil.
 	// Checkpoint is a hardcoded checkpoint which can be nil.
 	Checkpoint *params.TrustedCheckpoint `toml:",omitempty"`
 	Checkpoint *params.TrustedCheckpoint `toml:",omitempty"`