eth/tracers/testing: lint nitpicks

This commit is contained in:
Martin Holst Swende 2021-11-04 18:56:41 +01:00
parent de953f5714
commit 2af565b18b
No known key found for this signature in database
GPG Key ID: 683B438C05A5DDF0
2 changed files with 1 additions and 8 deletions

View File

@ -20,6 +20,7 @@ import (
"github.com/ethereum/go-ethereum/eth/tracers"
"github.com/ethereum/go-ethereum/rlp"
"github.com/ethereum/go-ethereum/tests"
// Force-load the native, to trigger registration
_ "github.com/ethereum/go-ethereum/eth/tracers/native"
)

View File

@ -108,14 +108,6 @@ type callContext struct {
Miner common.Address `json:"miner"`
}
// callTracerTest defines a single test to check the call tracer against.
type callTracerTest struct {
Genesis *core.Genesis `json:"genesis"`
Context *callContext `json:"context"`
Input string `json:"input"`
Result *callTrace `json:"result"`
}
func TestPrestateTracerCreate2(t *testing.T) {
unsignedTx := types.NewTransaction(1, common.HexToAddress("0x00000000000000000000000000000000deadbeef"),
new(big.Int), 5000000, big.NewInt(1), []byte{})