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
Checking import identifier syntax type does not work properly if addresses exist in a Cadence script body as a fairly permissive global regex is used to fix 0x prefixed addresses anywhere in the Cadence script. (i.e. sending a script with getAccount(0x123) in the code)
Issue
Checking import identifier syntax type does not work properly if addresses exist in a Cadence script body as a fairly permissive global regex is used to fix
0x
prefixed addresses anywhere in the Cadence script. (i.e. sending a script withgetAccount(0x123)
in the code)fcl-js/packages/sdk/src/resolve/resolve-cadence.js
Line 10 in 5206275
Suggested Solution
Remove this check entirely (is it needed?) or use a more robust solution for checking import type
The text was updated successfully, but these errors were encountered: