Skip to content

Commit

Permalink
refactor: remove puppet actor from conformance tests
Browse files Browse the repository at this point in the history
The puppet actor has been subsumed into the chaos actor and test-vector tests no longer use it.
  • Loading branch information
Alan Shaw authored and raulk committed Sep 3, 2020
1 parent 8e7a8d8 commit ada5e6a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions conformance/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"github.com/filecoin-project/lotus/lib/blockstore"

"github.com/filecoin-project/specs-actors/actors/abi"
"github.com/filecoin-project/specs-actors/actors/puppet"

"github.com/filecoin-project/test-vectors/chaos"
"github.com/filecoin-project/test-vectors/schema"
Expand Down Expand Up @@ -137,10 +136,7 @@ func (d *Driver) ExecuteMessage(bs blockstore.Blockstore, preroot cid.Cid, epoch

invoker := vm.NewInvoker()

// add support for the puppet and chaos actors.
if puppetOn, ok := d.selector["puppet_actor"]; ok && puppetOn == "true" {
invoker.Register(puppet.PuppetActorCodeID, puppet.Actor{}, puppet.State{})
}
// register the chaos actor if required by the vector.
if chaosOn, ok := d.selector["chaos_actor"]; ok && chaosOn == "true" {
invoker.Register(chaos.ChaosActorCodeCID, chaos.Actor{}, chaos.State{})
}
Expand Down

0 comments on commit ada5e6a

Please sign in to comment.