Use params.MaxTxGas for RPCGasCap

This commit is contained in:
Minhyuk Kim 2025-07-28 17:01:45 +09:00
parent 3a11b5497b
commit 1bb15004a3

View file

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