fix: avoid returning an error when getting embryo state (#9550)
We need to add full FEVM state support, but that will require merging master. This is enough for now. fixes https://github.com/filecoin-project/ref-fvm/issues/1022
This commit is contained in:
parent
ea54499f24
commit
b3b9da5bbc
@ -284,7 +284,8 @@ func DecodeParams(b []byte, out interface{}) error {
|
||||
}
|
||||
|
||||
func DumpActorState(i *ActorRegistry, act *types.Actor, b []byte) (interface{}, error) {
|
||||
if builtin.IsAccountActor(act.Code) { // Account code special case
|
||||
// Account & Embryo code special case
|
||||
if builtin.IsAccountActor(act.Code) || builtin.IsEmbryo(act.Code) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user