deprecated
This commit is contained in:
parent
1d1bfe4aa4
commit
d54817c33c
@ -19,6 +19,8 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
rng = rand.New(rand.NewSource(time.Now().UnixNano()))
|
||||||
|
|
||||||
// Note: block 1 doesn't have storage nodes. TODO: add fixtures with storage nodes
|
// Note: block 1 doesn't have storage nodes. TODO: add fixtures with storage nodes
|
||||||
// chainAblock1StateKeys = sliceToSet(fixture.ChainA_Block1_StateNodeLeafKeys)
|
// chainAblock1StateKeys = sliceToSet(fixture.ChainA_Block1_StateNodeLeafKeys)
|
||||||
chainAblock1IpldCids = sliceToSet(fixture.ChainA_Block1_IpldCids)
|
chainAblock1IpldCids = sliceToSet(fixture.ChainA_Block1_IpldCids)
|
||||||
@ -31,10 +33,6 @@ type selectiveData struct {
|
|||||||
StorageNodes map[string]map[string]*models.StorageNodeModel
|
StorageNodes map[string]map[string]*models.StorageNodeModel
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
|
||||||
rand.Seed(time.Now().UnixNano())
|
|
||||||
}
|
|
||||||
|
|
||||||
func testConfig(ethdbpath, ancientdbpath string) *Config {
|
func testConfig(ethdbpath, ancientdbpath string) *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
Eth: &EthDBConfig{
|
Eth: &EthDBConfig{
|
||||||
|
Loading…
Reference in New Issue
Block a user