Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix conversion of Call struct names to UpperCamelCase #441

Merged
merged 2 commits into from
Feb 10, 2022

Conversation

ascjones
Copy link
Contributor

@ascjones ascjones commented Feb 8, 2022

Should not use the variant name e.g. transfer_keep_alive but the converted name TransferKeepAlive.

Additionally, upgrades heck to 0.4.0 which includes the more specific ToUpperCamelCase trait. Though this not strictly required for this fix I am bundling it for greater clarity for the casing.

@ascjones ascjones merged commit 4bed7eb into master Feb 10, 2022
@ascjones ascjones deleted the aj/fix-call-struct-names branch February 10, 2022 13:10
0623forbidden pushed a commit to DEIPworld/substrate-subxt that referenced this pull request Feb 15, 2022
* Fix conversion of `Call` struct names to UpperCamelCase

* Update to latest heck and use ToUpperCamelCase
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants