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

tester: dispatcher support for multi-class contracts #666

Open
James-Mart opened this issue Feb 1, 2022 · 0 comments
Open

tester: dispatcher support for multi-class contracts #666

James-Mart opened this issue Feb 1, 2022 · 0 comments

Comments

@James-Mart
Copy link
Member

The CDT allowed developers to compile multiple classes into one contract by marking them with the same contract attribute. Migrating my contract to CLSDK forced me to write my own dispatcher to allow this, but it would be nice if it was natively supported.

Perhaps something like

EOSIO_ACTIONS("contractname"_n, (
                class1,
                action(sayhi, name, ricardian_contract(sayhi_ricardian))
            ),(
                class2,
                action(saybye, name, ricardian_contract(saybye_ricardian))
            ))
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

1 participant