Closed
Description
Subject of the issue
When return type of ABI method is UInt8Array
, when global/local state values areUInt8Array
and when box storage values areUInt8Array
, the actual return value is always a number[]
instead.
Your environment
AlgoKit: 2.6.2
Steps to reproduce
Any of:
- Create contract with ABI method which returns bytes
- Create contract with global/local state which is bytes
- Create contract with box storage where value is bytes
Expected behaviour
TS Client should return UInt8Array
like it states
Actual behaviour
TS Client returns number[]