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
Describe the bug #2121 replaced required None call flag by AllowCall flag for Neo.Native.Call syscall. However, the current contract verification scheme assumes that native contract verification script is loaded with ReadStates call flag (see VerifyWitness method). So this change brokes verify method for native contracts because we have ReadStates flag instead of required AllowCall flag.
Expected behavior
No error during native verify method call.
Additional context
The issue may be fixed by adding AllowCall flag to the context callFlags in VerifyWitness method in case if the contract is native.
The text was updated successfully, but these errors were encountered:
Describe the bug
#2121 replaced required
None
call flag byAllowCall
flag forNeo.Native.Call
syscall. However, the current contract verification scheme assumes that native contract verification script is loaded withReadStates
call flag (see VerifyWitness method). So this change brokesverify
method for native contracts because we haveReadStates
flag instead of requiredAllowCall
flag.Expected behavior
No error during native
verify
method call.Additional context
The issue may be fixed by adding
AllowCall
flag to the contextcallFlags
in VerifyWitness method in case if the contract is native.The text was updated successfully, but these errors were encountered: