mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
core/vm, internal/ethapi: fix lint
This commit is contained in:
parent
c0f4b07fa4
commit
b3eb1b8310
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Reference in a new issue