eth/tracers/testing: lint nitpicks
This commit is contained in:
@ -20,6 +20,7 @@ import (
|
|||||||
"github.com/ethereum/go-ethereum/eth/tracers"
|
"github.com/ethereum/go-ethereum/eth/tracers"
|
||||||
"github.com/ethereum/go-ethereum/rlp"
|
"github.com/ethereum/go-ethereum/rlp"
|
||||||
"github.com/ethereum/go-ethereum/tests"
|
"github.com/ethereum/go-ethereum/tests"
|
||||||
|
|
||||||
// Force-load the native, to trigger registration
|
// Force-load the native, to trigger registration
|
||||||
_ "github.com/ethereum/go-ethereum/eth/tracers/native"
|
_ "github.com/ethereum/go-ethereum/eth/tracers/native"
|
||||||
)
|
)
|
||||||
|
@ -108,14 +108,6 @@ type callContext struct {
|
|||||||
Miner common.Address `json:"miner"`
|
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) {
|
func TestPrestateTracerCreate2(t *testing.T) {
|
||||||
unsignedTx := types.NewTransaction(1, common.HexToAddress("0x00000000000000000000000000000000deadbeef"),
|
unsignedTx := types.NewTransaction(1, common.HexToAddress("0x00000000000000000000000000000000deadbeef"),
|
||||||
new(big.Int), 5000000, big.NewInt(1), []byte{})
|
new(big.Int), 5000000, big.NewInt(1), []byte{})
|
||||||
|
Reference in New Issue
Block a user