Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Add support for uintX/intX in steps of 1 for AbiParamKindUint/AbiParamKindInt #8

Open
mnill opened this issue May 31, 2023 · 2 comments

Comments

@mnill
Copy link

mnill commented May 31, 2023

type AbiParamKindUint = 'uint8' | 'uint16' | 'uint24' | 'uint32' | 'uint64' | 'uint128' | 'uint160' | 'uint256';

Sine 0.52.0 solidity "Supported uintX/intX in steps of 1: uint1, uint2, uint3 ... uint256"

https://github.com/tonlabs/TON-Solidity-Compiler/blob/6953ed5deec19ab6c41259879d10e73ab9643e42/Changelog_TON.md#0520-2021-11-15

Please consider adding support for these types.

@Rexagon
Copy link
Member

Rexagon commented May 31, 2023

These types were originally fully described in this library, but the IDE was crying in pain from that. Unusual integer types are supported by the underlying implementation, there are just some problems with the number of string variants for that type.

However, I will try to return it, thanks for the request.

@mnill
Copy link
Author

mnill commented May 31, 2023

May be you can support something like first 32 bits. It will be usefull for short indexes in hashmaps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants