Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

workround of abi generator bug for key types #984

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

vzqzhang
Copy link
Contributor

@vzqzhang vzqzhang commented Oct 22, 2020

Change Description

According to Steven, ABI generator has a bug to generate types of indices in KV tables: https://github.com/EOSIO/eosio.cdt/blob/develop/tools/include/eosio/abigen.hpp#L311-L323. A workaround is to use unqualified names, like name instead of eosio::name.

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

Copy link
Contributor

@arhag arhag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes here are fine. So it looks good to me in terms of getting this PR in.

I assume there is a separate task for someone to actually fix the root cause of this bug though within CDT.

@vzqzhang vzqzhang merged commit 6b4918a into develop Oct 26, 2020
@vzqzhang vzqzhang deleted the fix_kv_table_key_type branch October 26, 2020 19:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants