[Pools] fix derivation of pool account (#4999)
closes https://github.com/paritytech-secops/srlabs_findings/issues/408.
This fixes how ProxyDelegator accounts are derived but may cause issues
in Westend since it would use the old derivative accounts. Does not
affect Polkadot/Kusama as this pallet is not deployed to them yet.
---------
Co-authored-by:
Gonçalo Pestana <g6pestana@gmail.com>
parent
53f42749
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- polkadot/runtime/westend/src/lib.rs 5 additions, 10 deletionspolkadot/runtime/westend/src/lib.rs
- prdoc/pr_4999.prdoc 18 additions, 0 deletionsprdoc/pr_4999.prdoc
- substrate/frame/delegated-staking/Cargo.toml 3 additions, 0 deletionssubstrate/frame/delegated-staking/Cargo.toml
- substrate/frame/delegated-staking/src/lib.rs 18 additions, 2 deletionssubstrate/frame/delegated-staking/src/lib.rs
- substrate/frame/delegated-staking/src/migration.rs 107 additions, 0 deletionssubstrate/frame/delegated-staking/src/migration.rs
Please register or sign in to comment