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

Fix author_extrinsicUpdate notifications being PascalCased #611

Merged
merged 2 commits into from
May 25, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented May 25, 2023

Fix #610

@@ -1062,15 +1062,25 @@ pub enum SystemPeerRole {

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub enum TransactionStatus {
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: #[serde(rename_all = "camelCase")] could also work here 🙏

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm aware of this, but I don't like the magic of serde deciding of the names.

@tomaka tomaka added this pull request to the merge queue May 25, 2023
Merged via the queue into smol-dot:main with commit 54acbdb May 25, 2023
@tomaka tomaka deleted the fix-610 branch May 25, 2023 12:25
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

Successfully merging this pull request may close these issues.

Wrong names for author_extrinsicUpdate events
2 participants