You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.
Should there be an assertion within Runtime.CreateActor that the caller is the init actor?...and should there be a test in test-vectors to verify this is the case?
If yes to the above then we have a problem right now with the chaos actor because it has a CreateActor method that calls Runtime.CreateActor directly to test other behaviours and it's only able to do so because of a bug 😱.
cc @filecoin-project/oni
The text was updated successfully, but these errors were encountered:
I noticed that
Runtime.CreateActor
should only be used by the init actor:specs-actors/actors/runtime/runtime.go
Lines 103 to 106 in c9027ee
There are no checks in lotus that this happens (see here) and it looks like go-filecoin did not check either.
Should there be an assertion within
Runtime.CreateActor
that the caller is the init actor?...and should there be a test in test-vectors to verify this is the case?If yes to the above then we have a problem right now with the chaos actor because it has a
CreateActor
method that callsRuntime.CreateActor
directly to test other behaviours and it's only able to do so because of a bug 😱.cc @filecoin-project/oni
The text was updated successfully, but these errors were encountered: