Skip to content

Commit 610aca1

Browse files
core/vm: fix lint
1 parent 4271e3e commit 610aca1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

core/vm/contracts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ func (b *kzgPointEvaluation) Run(input []byte) ([]byte, error) {
13111311
return common.Hex2Bytes(blobPrecompileReturnValue), nil
13121312
}
13131313

1314-
func (c *kzgPointEvaluation) Name() string {
1314+
func (b *kzgPointEvaluation) Name() string {
13151315
return "KZG_POINT_EVALUATION"
13161316
}
13171317

internal/ethapi/override/override_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ func (p *precompileContract) RequiredGas(input []byte) uint64 { return 0 }
3535

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

38+
func (p *precompileContract) Name() string { return "" }
39+
3840
func TestStateOverrideMovePrecompile(t *testing.T) {
3941
db := state.NewDatabase(triedb.NewDatabase(rawdb.NewMemoryDatabase(), nil), nil)
4042
statedb, err := state.New(types.EmptyRootHash, db)

0 commit comments

Comments
 (0)