mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
core/vm: fix lint
This commit is contained in:
parent
1d4b72d0e6
commit
03c47ad9e0
2 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue