Skip to content

Commit 5ef01bb

Browse files
committed
core/vm, internal/ethapi: fix lint
1 parent a7857cd commit 5ef01bb

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

eth/ethconfig/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ var Defaults = Config{
6565
Miner: miner.DefaultConfig,
6666
TxPool: legacypool.DefaultConfig,
6767
BlobPool: blobpool.DefaultConfig,
68-
RPCGasCap: params.MaxTxGas,
68+
RPCGasCap: 50000000,
6969
RPCEVMTimeout: 5 * time.Second,
7070
GPO: FullNodeGPO,
7171
RPCTxFeeCap: 1, // 1 ether

internal/ethapi/override/override_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ import (
3131

3232
type precompileContract struct{}
3333

34+
func (p *precompileContract) Name() string {
35+
panic("implement me")
36+
}
37+
3438
func (p *precompileContract) RequiredGas(input []byte) uint64 { return 0 }
3539

3640
func (p *precompileContract) Run(input []byte) ([]byte, error) { return nil, nil }

0 commit comments

Comments
 (0)