eth-statediff-compliance/internal/statediff/reexport_geth.go
Roy Crihfield 7ace692eb0
All checks were successful
Test / Run unit tests (push) Successful in 4m26s
Update Geth to 1.13 in Plugeth cases (#6)
Deneb/Cancun fork updates

Reviewed-on: #6
2024-04-12 10:16:04 +00:00

30 lines
665 B
Go

//go:build geth
package statediff
import (
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/state"
"github.com/ethereum/go-ethereum/ethdb"
"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 CommitDefaultGenesis(db ethdb.Database) {
core.DefaultGenesisBlock().MustCommit(db)
}
func init() {
log.Root().SetHandler(log.DiscardHandler())
}