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
alanshaw committed Sep 2, 2020
1 parent 7cc9c83 commit b3ff481
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 @@ -12,7 +12,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 @@ -133,10 +132,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 b3ff481

Please sign in to comment.