core/vm, internal/ethapi: fix lint

This commit is contained in:
Gary Rong 2025-08-01 20:29:23 +08:00 committed by Minhyuk Kim
parent c0f4b07fa4
commit b3eb1b8310
2 changed files with 5 additions and 1 deletions

View file

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

View file

@ -31,6 +31,10 @@ import (
type precompileContract struct{}
func (p *precompileContract) Name() string {
panic("implement me")
}
func (p *precompileContract) RequiredGas(input []byte) uint64 { return 0 }
func (p *precompileContract) Run(input []byte) ([]byte, error) { return nil, nil }