Use params.MaxTxGas for RPCGasCap

This commit is contained in:
Minhyuk Kim 2025-07-28 17:01:45 +09:00 committed by Gary Rong
parent 4d1264fd08
commit db12f63bf6

View file

@ -65,7 +65,7 @@ var Defaults = Config{
Miner: miner.DefaultConfig, Miner: miner.DefaultConfig,
TxPool: legacypool.DefaultConfig, TxPool: legacypool.DefaultConfig,
BlobPool: blobpool.DefaultConfig, BlobPool: blobpool.DefaultConfig,
RPCGasCap: 30000000, RPCGasCap: params.MaxTxGas,
RPCEVMTimeout: 5 * time.Second, RPCEVMTimeout: 5 * time.Second,
GPO: FullNodeGPO, GPO: FullNodeGPO,
RPCTxFeeCap: 1, // 1 ether RPCTxFeeCap: 1, // 1 ether