From 38e0f92f07eaca0f3534e927cf4e4d6febe7dc08 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Wed, 2 Sep 2020 15:57:19 +0100 Subject: [PATCH] refactor: remove puppet actor from conformance tests The puppet actor has been subsumed into the chaos actor and test-vector tests no longer use it. --- conformance/driver.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/conformance/driver.go b/conformance/driver.go index b2a902a0cf..9a618c4fba 100644 --- a/conformance/driver.go +++ b/conformance/driver.go @@ -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" @@ -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{}) }