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
I am currently working with the erc-1271 standard and encountered an issue when calling the isValidSignature function from the contract. The function returns the bytes4 constant internal MAGICVALUE which is 0x1626ba7e. However, it appears that the method signature is 0x1626ba7e. It is being removed from the returned value before decoding, leading to decoding failures.
I am currently working with the
erc-1271
standard and encountered an issue when calling theisValidSignature
function from the contract. The function returns thebytes4
constant internalMAGICVALUE
which is0x1626ba7e
. However, it appears that the method signature is0x1626ba7e
. It is being removed from the returned value before decoding, leading to decoding failures.ex_abi/lib/abi/type_decoder.ex
Lines 154 to 155 in 5c8c205
My current workaround is, could you tell me if that makes sense to you?
I have made a PR if that is good for you: #174
The text was updated successfully, but these errors were encountered: