Skip to content

Conversation

@shamil-gadelshin
Copy link
Contributor

Warnings were cleaned:

  • content working group (two methods were marked with 'allow dead code')
  • runtime/build.rs - updated obsolete code

srml_staking_reward_curve::build! is part of the substrate and is likely to be updated on next substrate upgrade.

}

impl UpdateCuratorRewardAccountFixture {
#[allow(dead_code)] // delete if the method is unnecessary
Copy link
Member

Choose a reason for hiding this comment

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

what is different about these methods that we are allowing dead_code rather than removing like in other fixtures?

@mnaamani
Copy link
Member

Nice this Fixes #180

unstaking_application_count,
deactivated_application_count,
} => {
hiring::OpeningStage::Active { stage, .. } => {
Copy link
Member

Choose a reason for hiding this comment

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

nice, I learned the proper way now to ignore fields in match statements 👍

@mnaamani mnaamani merged commit ef07ff9 into Joystream:development Mar 12, 2020
mnaamani pushed a commit to mnaamani/joystream that referenced this pull request Apr 16, 2020
@shamil-gadelshin shamil-gadelshin deleted the runtime_warning_cleanup branch June 25, 2020 14:40
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.

2 participants