Closed ilblackdragon closed 4 years ago
Haven't seen this one before. Could it be: https://github.com/dalek-cryptography/ed25519-dalek/blob/master/src/errors.rs#L52 ?
Seems like borsh error. Assigning to @nearmax
@bowenwang1996 It's not Borsh error, see what @nearmax linked here: https://github.com/nearprotocol/nearcore/issues/2304#issuecomment-606287408
Was about to write, but @evgenykuzyakov was faster :) It seems to be a problem with the custom implementation of BorshDeserialize
for Signature
. Assigning it to @ailisp since he was the one to introduce this code.
Why exactly that code triggers https://github.com/dalek-cryptography/ed25519-dalek/blob/master/src/errors.rs#L52 is not yet known to me.
Closing this, because this probably was just an issue with older version sending some incompatible data that went this deseralization route.
Received invalid data while syncing headers on betanet using
nearup betanet
with Docker with "Cannot use scalar with high-bit set" error:We probably should add more information for this errors, e.g. which peer sent it.