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

Conversation

@kianenigma
Copy link
Contributor

@kianenigma kianenigma commented Nov 1, 2021

This pallet was already deployed, but for staking election iterations we used the nominator map just to be safe. I've done quite a bit of testing and everything seems fine. We can ditch the usage of nominator map ::iter and use the new bags-list pallet.

Next, once this is well tested on westend and kusama, we make the same change for polkadot.

@kianenigma kianenigma added A0-please_review Pull request needs code review. B7-runtimenoteworthy C1-low PR touches the given topic and has a low impact on builders. D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Nov 1, 2021
@gui1117
Copy link
Contributor

gui1117 commented Nov 1, 2021

So all nominators are sorted in the bag list, we don't need any migration isn't it ?

@kianenigma
Copy link
Contributor Author

So all nominators are sorted in the bag list, we don't need any migration isn't it ?

correct, migration has already happened.

@kianenigma kianenigma added this to the v0.9.13 milestone Nov 4, 2021
@kianenigma
Copy link
Contributor Author

@shawntabrizi @emostov PTAL? the new version should be on its way soon.

@kianenigma
Copy link
Contributor Author

bot merge

@paritytech-processbot paritytech-processbot bot merged commit dfc0167 into master Nov 12, 2021
@paritytech-processbot paritytech-processbot bot deleted the kiz-enable-bags-ksm-westend branch November 12, 2021 13:13
ordian pushed a commit that referenced this pull request Nov 12, 2021
* master: (71 commits)
  Remove light client companion (#4191)
  Enable full use of pallet-bags-list in westend and kusama runtimes (#4195)
  collator-protocol: do not connect to the next group (#4261)
  Per subsystem CPU usage tracking (#4239)
  CI: chore (#3957)
  Companion – Update jsonrpsee to 0.4.1 (#4256)
  Add more XCM tracing (#4211)
  Update dependencies for latest substrate master (#4258)
  Bump mick-jaeger from 0.1.4 to 0.1.6 (#4249)
  Bump dlmalloc from 0.2.2 to 0.2.3 (#4250)
  Bump libc from 0.2.106 to 0.2.107 (#4235)
  Bump paste from 1.0.5 to 1.0.6 (#4244)
  Bump serde_json from 1.0.68 to 1.0.69 (#4236)
  Update `wasmtime` and related dependencies (companion for Substrate#10149) (#4210)
  update cargo lock to unbreak dep of a dep (#4245)
  Increase maximum chunk size to adjust for small networks. (#4220)
  availability recovery type name clarifications (#4203)
  Update `bridge/` codeowners (#4222)
  fix(staking miner): use `StorageKey` in getStorage (#4231)
  Change path for the tests to master (#4223)
  ...
@viniul viniul added D1-audited 👍 PR contains changes to critical logic that has been properly reviewed and externally audited. and removed D5-nicetohaveaudit ⚠️ PR contains trivial changes to logic that should be properly reviewed. labels Dec 22, 2021
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. C1-low PR touches the given topic and has a low impact on builders. D1-audited 👍 PR contains changes to critical logic that has been properly reviewed and externally audited.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants