@@ -50,8 +50,6 @@ func ParseVmMessageParams(params []byte, paramsCodec uint64, method abi.MethodNu
50
50
if err != nil {
51
51
return "" , "" , err
52
52
}
53
- err = fmt .Errorf ("unknown method %d with codec %d for actorCode %s name %s" , method , paramsCodec , actCode , builtin .ActorNameByCode (actCode ))
54
- log .Warnw ("parsing vm message params" , "error" , err )
55
53
return string (paramj ), builtin .ActorNameByCode (actCode ), nil
56
54
}
57
55
// If the codec is 0, the parameters/return value are "empty".
@@ -76,8 +74,6 @@ func ParseVmMessageReturn(ret []byte, retCodec uint64, method abi.MethodNum, act
76
74
if err != nil {
77
75
return "" , "" , err
78
76
}
79
- err = fmt .Errorf ("unknown method %d with codec %d for actorCode %s name %s" , method , retCodec , actCode , builtin .ActorNameByCode (actCode ))
80
- log .Warnw ("parsing vm message return" , "error" , err )
81
77
return string (retJ ), builtin .ActorNameByCode (actCode ), nil
82
78
}
83
79
// If the codec is 0, the parameters/return value are "empty".
@@ -102,8 +98,6 @@ func ParseParams(params []byte, method abi.MethodNum, actCode cid.Cid) (_ string
102
98
if err != nil {
103
99
return "" , "" , err
104
100
}
105
- err = fmt .Errorf ("unknown method %d for actorCode %s name %s" , method , actCode , builtin .ActorNameByCode (actCode ))
106
- log .Warnw ("parsing vm message params" , "error" , err )
107
101
return string (paramj ), method .String (), nil
108
102
}
109
103
0 commit comments