eth-statediff-compliance/internal/statediff/reexport_plugin.go

26 lines
547 B
Go

//go:build plugeth
package statediff
import (
"github.com/ethereum/go-ethereum/core/state"
"github.com/cerc-io/plugeth-statediff"
"github.com/cerc-io/plugeth-statediff/adapt"
"github.com/cerc-io/plugeth-statediff/test_helpers"
sdtypes "github.com/cerc-io/plugeth-statediff/types"
)
type Args = statediff.Args
type Params = statediff.Params
type StateObject = sdtypes.StateObject
func MakeBuilder(sdb state.Database) statediff.Builder {
return statediff.NewBuilder(adapt.GethStateView(sdb))
}
func init() {
test_helpers.QuietLogs()
}