mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 12:06:40 +00:00
eth/tracers/testing: lint nitpicks
This commit is contained in:
parent
de953f5714
commit
2af565b18b
2 changed files with 1 additions and 8 deletions
|
|
@ -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{})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue