Jelajahi Sumber

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

Marius van der Wijden 4 tahun lalu
induk
melakukan
54c0d573d7
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      eth/ethconfig/config.go

+ 2 - 2
eth/ethconfig/config.go

@@ -187,11 +187,11 @@ type Config struct {
 	EVMInterpreter string
 
 	// 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
 	// send-transction variants. The unit is ether.
-	RPCTxFeeCap float64 `toml:",omitempty"`
+	RPCTxFeeCap float64
 
 	// Checkpoint is a hardcoded checkpoint which can be nil.
 	Checkpoint *params.TrustedCheckpoint `toml:",omitempty"`