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
Not necessarily because of a protocol change, it's caused by the testnet's genesis config containing invalid AccountId-s in that position which caused canary nodes to crash [See fix in #4621 (comment)].
But, I agree, an explanatory comment is in order.
…_id != AccountId (#4773)
Resolves#4739: documents why the `receiver_id` field in `FunctionCallPermission` isn't an `AccountId` despite recently refactoring the whole workspace to using strict `AccountId`-s.
See #4621 (comment) for more context
This looks suspect to me:
nearcore/core/primitives-core/src/account.rs
Lines 202 to 203 in dabf861
I'd expect this to be
AccountId
. This was introduced in 2d7b3c0#diff-e15377fa8f9e6deba5e3549c4b497cb0c96b0d799982a30ec5d6ef442729d32aR203, so I suspect the reason is that "it'd be a protocol change" is the reason for that.This needs a comment in the source code I think, cc @miraclx
The text was updated successfully, but these errors were encountered: