fix conformance driver
This commit is contained in:
parent
12554baed4
commit
c35e7691bd
@ -8,6 +8,7 @@ import (
|
||||
"github.com/filecoin-project/go-state-types/network"
|
||||
|
||||
"github.com/filecoin-project/lotus/blockstore"
|
||||
"github.com/filecoin-project/lotus/chain/actors"
|
||||
"github.com/filecoin-project/lotus/chain/consensus/filcns"
|
||||
"github.com/filecoin-project/lotus/chain/state"
|
||||
"github.com/filecoin-project/lotus/chain/stmgr"
|
||||
@ -235,7 +236,8 @@ func (d *Driver) ExecuteMessage(bs blockstore.Blockstore, params ExecuteMessageP
|
||||
|
||||
// register the chaos actor if required by the vector.
|
||||
if chaosOn, ok := d.selector["chaos_actor"]; ok && chaosOn == "true" {
|
||||
invoker.Register(nil, chaos.Actor{})
|
||||
av, _ := actors.VersionForNetwork(params.NetworkVersion)
|
||||
invoker.Register(av, nil, chaos.Actor{})
|
||||
}
|
||||
|
||||
lvm.SetInvoker(invoker)
|
||||
|
Loading…
Reference in New Issue
Block a user