Skip to content

TS Client returns number[] instead of stated Uint8Array #395

Closed
@gidonkatten

Description

@gidonkatten

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[]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions