Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

clean up staking docs, remove EraElectionStatus references#9287

Merged
kianenigma merged 2 commits intomasterfrom
kiz-remove-stale-EraElectionStatus-doc
Jul 7, 2021
Merged

clean up staking docs, remove EraElectionStatus references#9287
kianenigma merged 2 commits intomasterfrom
kiz-remove-stale-EraElectionStatus-doc

Conversation

@kianenigma
Copy link
Copy Markdown
Contributor

reported by an external user, don't recall their name but kudos to them for pointing out.

I also got rid of some of the superfluous weight comments. With #9090 we can remove almost all of them, actually.

@kianenigma kianenigma added A0-please_review Pull request needs code review. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Jul 6, 2021
@kianenigma kianenigma added the D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. label Jul 6, 2021
Copy link
Copy Markdown
Contributor

@gui1117 gui1117 left a comment

Choose a reason for hiding this comment

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

2 nitpicks but good otherwise

@emostov
Copy link
Copy Markdown
Contributor

emostov commented Jul 6, 2021

I also got rid of some of the superfluous weight comments.

In general, can we do this with all extrinsics? I think I remember Shawn mentioning these are deprecated with our current benchmarking stack

@shawntabrizi
Copy link
Copy Markdown
Member

shawntabrizi commented Jul 7, 2021

I also got rid of some of the superfluous weight comments.

In general, can we do this with all extrinsics? I think I remember Shawn mentioning these are deprecated with our current benchmarking stack

Yeah once we have the storage info comments, all the other benchmarking comments could basically go away. However, it is still nice to keep information about the time complexity of a function, so when users modify code, they know what level of complexity they are working with, and dont change those assumptions.

All functions should basically be linear.

@kianenigma kianenigma merged commit dff9dc6 into master Jul 7, 2021
@kianenigma kianenigma deleted the kiz-remove-stale-EraElectionStatus-doc branch July 7, 2021 05:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants