hello,
I am currently doing my first steps into Algorand, trying the stateful contract functionalities.
I am using Pyteal on my box and the Algodesk tool which is pretty intuitive imo.
Tho, there is one thing i really don’t get, whenever i want to save an int argument into the global state after converting it with Btoi, it does return the wrong value:
- args[0]: 10
- App.globalPut( Bytes(“test”), Btoi(Txn.application_args[0]) )
- result: 0:{ “key”: “test”, “value”:{“bytes”:"", “type”:2, “uint”:12592}
Why is 10 converted to 12592 ?
Did i miss something ? Or is it maybe a malfunction from Algodesk ?