-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add extrinsic to improve position in a bag of bags-list #9829
Commits on Sep 21, 2021
-
pallet-bags-list: Add
put_in_front_of
extrinsicThis PR adds the extrinsic `put_in_front_of` which allows the user to specify a `lighter` and `heavier` account within the same bag. The extrinsic will move `heavier` directly in front of `lighter`. The parameter names refer to the fact that `lighter` must have a lower `VoteWeight` then `heavier`. In the ideal use case, where a user wants to improve the position of their account within a bag, the user would iterate the bag, starting from the head, and find the first node who's `VoteWeight` is less than theirs. They would then supply the `id` of the node as the `lighter` argument and their own `id` as the `heavier` argument.
Configuration menu - View commit details
-
Copy full SHA for c414583 - Browse repository at this point
Copy the full SHA c414583View commit details -
Configuration menu - View commit details
-
Copy full SHA for 331df1b - Browse repository at this point
Copy the full SHA 331df1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7c016c - Browse repository at this point
Copy the full SHA e7c016cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2401b2b - Browse repository at this point
Copy the full SHA 2401b2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 60743cc - Browse repository at this point
Copy the full SHA 60743ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bb232f - Browse repository at this point
Copy the full SHA 6bb232fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45f4a73 - Browse repository at this point
Copy the full SHA 45f4a73View commit details -
Configuration menu - View commit details
-
Copy full SHA for f04a64c - Browse repository at this point
Copy the full SHA f04a64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce0fcfb - Browse repository at this point
Copy the full SHA ce0fcfbView commit details
Commits on Sep 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for aa0aaeb - Browse repository at this point
Copy the full SHA aa0aaebView commit details
Commits on Sep 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fa1a33d - Browse repository at this point
Copy the full SHA fa1a33dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21aef98 - Browse repository at this point
Copy the full SHA 21aef98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7433cf6 - Browse repository at this point
Copy the full SHA 7433cf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1760815 - Browse repository at this point
Copy the full SHA 1760815View commit details -
Merge branch 'zeke-change-bag-position' of https://github.com/parityt…
…ech/substrate into zeke-change-bag-position
Configuration menu - View commit details
-
Copy full SHA for fcc29d2 - Browse repository at this point
Copy the full SHA fcc29d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for afff2a9 - Browse repository at this point
Copy the full SHA afff2a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b75457f - Browse repository at this point
Copy the full SHA b75457fView commit details
Commits on Sep 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fd1daeb - Browse repository at this point
Copy the full SHA fd1daebView commit details
Commits on Oct 31, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f5a854f - Browse repository at this point
Copy the full SHA f5a854fView commit details
Commits on Nov 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a12f094 - Browse repository at this point
Copy the full SHA a12f094View commit details
Commits on Nov 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d5f82ac - Browse repository at this point
Copy the full SHA d5f82acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f3f992c - Browse repository at this point
Copy the full SHA f3f992cView commit details
Commits on Nov 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 927a383 - Browse repository at this point
Copy the full SHA 927a383View commit details -
Configuration menu - View commit details
-
Copy full SHA for 387ab0d - Browse repository at this point
Copy the full SHA 387ab0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d5a1ca - Browse repository at this point
Copy the full SHA 7d5a1caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2add927 - Browse repository at this point
Copy the full SHA 2add927View commit details
Commits on Nov 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for fe120d6 - Browse repository at this point
Copy the full SHA fe120d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d135b8f - Browse repository at this point
Copy the full SHA d135b8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7530d1a - Browse repository at this point
Copy the full SHA 7530d1aView commit details -
Merge branch 'master' of https://github.com/paritytech/substrate into…
… zeke-change-bag-position
Parity Bot committedNov 17, 2021 Configuration menu - View commit details
-
Copy full SHA for cd39dc9 - Browse repository at this point
Copy the full SHA cd39dc9View commit details -
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
…path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bags_list --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bags-list/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Parity Bot committedNov 17, 2021 Configuration menu - View commit details
-
Copy full SHA for fd751fc - Browse repository at this point
Copy the full SHA fd751fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5b0224 - Browse repository at this point
Copy the full SHA f5b0224View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91317bd - Browse repository at this point
Copy the full SHA 91317bdView commit details
Commits on Nov 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6af64ce - Browse repository at this point
Copy the full SHA 6af64ceView commit details -
Merge branch 'master' of https://github.com/paritytech/substrate into…
… zeke-change-bag-position
Parity Bot committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 3382286 - Browse repository at this point
Copy the full SHA 3382286View commit details -
cargo run --quiet --release --features=runtime-benchmarks --manifest-…
…path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_bags_list --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/bags-list/src/weights.rs --template=./.maintain/frame-weight-template.hbs
Parity Bot committedNov 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 56ea8cc - Browse repository at this point
Copy the full SHA 56ea8ccView commit details
Commits on Dec 2, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a96e495 - Browse repository at this point
Copy the full SHA a96e495View commit details
Commits on Dec 6, 2021
-
Update frame/bags-list/src/list/mod.rs
Co-authored-by: Guillaume Thiolliere <gui.thiolliere@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 77fd777 - Browse repository at this point
Copy the full SHA 77fd777View commit details
Commits on Dec 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for aa4d896 - Browse repository at this point
Copy the full SHA aa4d896View commit details -
Configuration menu - View commit details
-
Copy full SHA for 944dc85 - Browse repository at this point
Copy the full SHA 944dc85View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae188ae - Browse repository at this point
Copy the full SHA ae188aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2eb86e5 - Browse repository at this point
Copy the full SHA 2eb86e5View commit details