laconicd/state/test_utils.go

24 lines
250 B
Go
Raw Normal View History

package state
import (
"math/rand"
"time"
ethcmn "github.com/ethereum/go-ethereum/common"
)
type (
kvPair struct {
key, value []byte
}
code struct {
hash ethcmn.Hash
blob []byte
}
)
func init() {
rand.Seed(time.Now().UnixNano())
}