-
Notifications
You must be signed in to change notification settings - Fork 32
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
Wrong table name for ABI when eosio::singleton
used
#93
Labels
Comments
@Mattijah can you clarify the version number of CDT you are encountering this? Could you also include an example? |
class [[eosio::contract("test")]] test : public contract {
public:
using contract::contract;
[[eosio::action]]
void whatever() {};
struct [[eosio::table]] tbl_config {
uint64_t y;
uint64_t x;
};
typedef eosio::singleton<"config"_n, tbl_config> config;
}; Will produce: "tables": [
{
"name": "tbl_config", // <<< wrong
"type": "tbl_config",
"index_type": "i64",
"key_names": [],
"key_types": []
} |
@Mattijah 3.2.0 is prob the leap version. Most recent cdt version is 3.1.0. Thanks for the example. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following ticket (bug) has been closed despite it not even being resolved and it can still be reproduced in the latest
3.2.0
. The bug completely prevents from uploading a contract. More info: EOSIO/eosio.cdt#280The text was updated successfully, but these errors were encountered: