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
Maybe I can't figure out the proper formatting, but calling a function with bits param type gives me an error.
Contract:
contract Test =
record state =
{test : int}
entrypoint init() =
{test = 2}
entrypoint get_bits(test: bits) : bits =
test
Calling with "01010101", "0x01100110" , [1,0,0,1] and other variations fails with the same validation error:
SDK Error:
ValidationError: "Argument" at position 0 fails because ["["01100110"]" with value ""01100110"" fails to match the required pattern: /^(ak_|ct_|ok_|oq_)/]
The text was updated successfully, but these errors were encountered:
While reading some more issues, It looks like some prefix like akth requires and encoding in a certain way.
I am looking for more clues, WIll keep posted.
Maybe I can't figure out the proper formatting, but calling a function with
bits
param type gives me an error.Contract:
Calling with "01010101", "0x01100110" , [1,0,0,1] and other variations fails with the same validation error:
SDK Error:
The text was updated successfully, but these errors were encountered: