Hi everyone, i have a problem in the following code:
> //sha(s) = HASHIMG
> txna ApplicationArgs 0 //s=secret
> sha256
> txna ApplicationArgs 1 //img
> ==
the content of the stack before equal:
the content of the stack after equal:
of course the problem is that im getting a 0 with the opcode == instead of a 1
im calling the app with the following command:
goal app call --app-id 69338106 --dryrun-dump --out dryrun-dump.json --app-account YMI432EMZQWV57EQKOUIQDSYNE6GS5BUBGK4WRSCDAHX4XCXTHHZFFHOGI --app-account JY7XEKZY3C5FUS545VAQSUKOAGYMRGONVQAN2FATHK42OFAL6WZ7VX7CCU --app-arg “str:ciao123” --app-arg “b64:Y2Y4Mjc2Y2E2MDA2MWJhZjI2MTE5MTdjNTA3MTdhMmIxYmNiZmYwYzBkMjVlMDBiOTVlZjY2N2FiOGYxNThmMA==” --app-arg “int:19624000” --from NLMZUH6TB2CTOEF27Z4PONDTGKKAVNJV7KXZR7JMYZ5IRNOTEKF4B3YPSI
i even have tried with:
–app-arg str: cf8276ca60061baf2611917c50717a2b1bcbff0c0d25e00b95ef667ab8f158f0
but it still doesn’t work