Roy Crihfield
96c7e20c97
All checks were successful
Test / Run unit tests (push) Successful in 12m26s
Reviewed-on: #2
28 lines
589 B
Go
28 lines
589 B
Go
//go:build plugeth_parallel
|
|
|
|
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 {
|
|
b := statediff.NewBuilder(adapt.GethStateView(sdb))
|
|
b.SetSubtrieWorkers(32)
|
|
return b
|
|
}
|
|
|
|
func init() {
|
|
test_helpers.QuietLogs()
|
|
}
|