24 lines
491 B
Go
24 lines
491 B
Go
//go:build geth
|
|
|
|
package statediff
|
|
|
|
import (
|
|
"github.com/ethereum/go-ethereum/core/state"
|
|
"github.com/ethereum/go-ethereum/log"
|
|
"github.com/ethereum/go-ethereum/statediff"
|
|
sdtypes "github.com/ethereum/go-ethereum/statediff/types"
|
|
)
|
|
|
|
type Args = statediff.Args
|
|
type Params = statediff.Params
|
|
|
|
type StateObject = sdtypes.StateObject
|
|
|
|
func MakeBuilder(sdb state.Database) statediff.Builder {
|
|
return statediff.NewBuilder(sdb)
|
|
}
|
|
|
|
func init() {
|
|
log.Root().SetHandler(log.DiscardHandler())
|
|
}
|