diff --git a/lotus-soup/baseline.go b/lotus-soup/baseline.go index c7d9d8a2b..ad00a4fda 100644 --- a/lotus-soup/baseline.go +++ b/lotus-soup/baseline.go @@ -84,7 +84,14 @@ func runBaselineMiner(t *TestEnvironment) error { for mine { time.Sleep(1000 * time.Millisecond) t.RecordMessage("mine one block") - if err := miner.MineOne(ctx, func(bool) {}); err != nil { + + // wait and synchronise + + if err := miner.MineOne(ctx, func(bool) { + + // after a block is mined + + }); err != nil { panic(err) } } diff --git a/lotus-soup/main.go b/lotus-soup/main.go index 135c36d5d..cb1018a27 100644 --- a/lotus-soup/main.go +++ b/lotus-soup/main.go @@ -21,7 +21,7 @@ var testplans = map[string]interface{}{ } func init() { - logging.SetLogLevel("*", "WARN") + logging.SetLogLevel("*", "INFO") build.DisableBuiltinAssets = true diff --git a/lotus-soup/node.go b/lotus-soup/node.go index e7527084c..cd0c87ac5 100644 --- a/lotus-soup/node.go +++ b/lotus-soup/node.go @@ -133,7 +133,7 @@ func prepareBootstrapper(t *TestEnvironment) (*Node, error) { genesisTemplate := genesis.Template{ Accounts: genesisActors, Miners: genesisMiners, - Timestamp: uint64(time.Now().Unix() - 1000), // this needs to be in the past + Timestamp: uint64(time.Now().Unix() - 10000), // this needs to be in the past } // dump the genesis block