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

Abi: How does type set<uint8_t> generate abi type uint8[] #304

Open
huangyangcong opened this issue Aug 21, 2024 · 0 comments
Open

Abi: How does type set<uint8_t> generate abi type uint8[] #304

huangyangcong opened this issue Aug 21, 2024 · 0 comments
Labels

Comments

@huangyangcong
Copy link

cdt-cpp version: 4.0.1

  • std::set<uint8_t> order_ids;

This actually generates abi

{
    "name": "order_ids",
    "type": "bytes"
}

and it is expected to generate

{
    "name": "order_ids",
    "type": "uint8[]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants