core/vm: fix lint

This commit is contained in:
MariusVanDerWijden 2025-07-23 11:56:33 +02:00 committed by lightclient
parent 1d4b72d0e6
commit 03c47ad9e0
No known key found for this signature in database
GPG key ID: 657913021EF45A6A
2 changed files with 3 additions and 1 deletions

View file

@ -1319,7 +1319,7 @@ func (b *kzgPointEvaluation) Run(input []byte) ([]byte, error) {
return common.Hex2Bytes(blobPrecompileReturnValue), nil
}
func (c *kzgPointEvaluation) Name() string {
func (b *kzgPointEvaluation) Name() string {
return "KZG_POINT_EVALUATION"
}

View file

@ -39,6 +39,8 @@ func (p *precompileContract) RequiredGas(input []byte) uint64 { return 0 }
func (p *precompileContract) Run(input []byte) ([]byte, error) { return nil, nil }
func (p *precompileContract) Name() string { return "" }
func TestStateOverrideMovePrecompile(t *testing.T) {
db := state.NewDatabase(triedb.NewDatabase(rawdb.NewMemoryDatabase(), nil), nil)
statedb, err := state.New(types.EmptyRootHash, db)