This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change the Config of the MaxRococoNum Slot from a Constant to a Storage function #7217
Change the Config of the MaxRococoNum Slot from a Constant to a Storage function #7217
Changes from 15 commits
1217e20
8a0d765
74daef0
2d7f78f
ef02259
c1792f2
89992b1
f68e45a
9bc0f07
d189c76
2bbbda7
81e269c
09c691b
110ff1d
6e18128
e77d8d7
98b2a38
87c988b
eccbe04
3ac81c7
4fedca4
25f1d71
86b4e8f
6854094
d95157f
4067e2e
3142816
2f36bb8
a944d52
9705b9d
c993252
c04fb38
a3af0ff
03dd31b
1c059af
200597a
5c2b2eb
4b5130c
473d073
1cb2362
cbffba0
ca65088
61b6a95
7be2dc0
34e8bc1
216cdb1
86f977f
8b0d088
38ea151
a022c7b
86015e5
4e5bcb8
9603fc6
176c8b3
cd237a7
795aed4
16d2c52
9c6cf4b
e855ce3
1061caa
9095fd0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is nothing in this pallet benchmarked 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added!
Not sure about how to proceed with the weights, Do I have to generate the weights file using my machine?
Or do something like the auctions:
https://github.com/paritytech/polkadot/blob/master/runtime/common/src/auctions.rs#L50
https://github.com/paritytech/polkadot/blob/master/runtime/common/src/auctions.rs#L283