Skip to content

Refactor exception constants to use number instead of bigint #3428

Open
@skywardboundd

Description

@skywardboundd

Currently, the constants used exclusively for exception codes are defined as bigint, but this causes inconsistencies because the exitCode in the core library is of type number.

To improve compatibility and type consistency, we should convert these constants to be of type number instead of bigint, since they are not used in contexts requiring bigint.

https://github.com/ton-org/test-utils/blob/b2e40594da4c95d27f7a0126e4e30b855f7104bd/src/test/transaction.ts#L28

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: ts-wrappersImplementation of TypeScript wrappers generation for Sandbox tests (src/bindings)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions