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

Do not include voters that have zero voter weight in the election snapshot #13946

Closed
wants to merge 49 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
7043003
Handles decding error when setting minimum active stake
gpestana Apr 17, 2023
8be0aa6
Skips all voters if voter weight is zero
gpestana Apr 18, 2023
0157af5
Fixes tests
gpestana Apr 18, 2023
c7e05c6
Update frame/staking/src/pallet/impls.rs
gpestana Apr 23, 2023
75011a1
Addresses review - does not decrease voters_seen counter
gpestana Apr 23, 2023
67aa76c
Merge branch 'master' into gpestana/13938-zero-weight-voters
gpestana May 1, 2023
c4114a4
If voters list is empty, min active bond is zero too
gpestana May 1, 2023
9f47ea9
Replaces warn log with debug
gpestana May 13, 2023
70da3e5
Merge remote-tracking branch 'origin/master' into gpestana/13938-zero…
May 15, 2023
2a437d3
Updates stash-controller calls in tests
gpestana May 15, 2023
2d791aa
Merge remote-tracking branch 'origin/master' into gpestana/13938-zero…
May 16, 2023
6282934
Fixes benchmarks
gpestana May 17, 2023
67976b3
Add review rules regarding the owned files (#14122)
juangirini May 16, 2023
a933990
Change unit test upload step (#14124)
mateo-moon May 16, 2023
393646a
Fix indent for pr-custom-review config (#14161)
alvicsam May 16, 2023
5d796e7
remove deprecated remove_prefix to clear era_info (#13460)
surajk-m May 16, 2023
4f1a1f1
frame-system: `uniques` remove one `encode` call (#14154)
bkchr May 16, 2023
19fac9b
Max class voters for ranked collective vote tally (#13313)
muharem May 17, 2023
3b2fbb0
Add `serde` feature flag to primitives (#13027)
haerdib May 17, 2023
b49603a
chore: move whitelist test to better place and add missing `Inactive …
yjhmelody May 17, 2023
f18ab13
Added serde feature to sp-consensus-aura (#14166)
michalkucharczyk May 18, 2023
9dcdd84
Adds ability to use default hasher in `dev_mode` for explicit key bin…
gupnik May 19, 2023
bda4fbb
Fix typos (#14177)
piffle-rack May 19, 2023
1742221
Core-Fellowship: fix origin typo (#14179)
muharem May 19, 2023
4ae533d
remote-externalities: retry for get_keys (#14167)
liamaharon May 19, 2023
8e54835
frame: Enable GenesisConfig in no_std (#14108)
michalkucharczyk May 20, 2023
62a8415
Update the nix build configuration. (#13706)
farcaller May 20, 2023
8303e41
FRAME: Allow message ID to be mutated in ProcessMessage (#14183)
gavofyork May 21, 2023
aa50d06
RevertCmd: Expose database params via CLI (#14182)
bkchr May 21, 2023
3c5079f
Improve try-state docs (#13967)
Szegoo May 21, 2023
44ee5a9
test-runtime: Return hashed call as provides in unsigned validation (…
bkchr May 22, 2023
cfa7181
Revert "Optimize merkle proofs for efficient verification in Solidity…
Lederstrumpf May 22, 2023
877805d
Executor: Add `create_runtime_from_artifact_bytes` (#14184)
mrcnski May 22, 2023
85ecef5
WarpSync: Show number of required peers in informant (#14190)
bkchr May 22, 2023
bb1bef2
BREAKING - Try-runtime: Use proper error types (#13993)
Szegoo May 23, 2023
dc34d84
NFTs fractionalization (#12565)
lana-shanghai May 23, 2023
dc154c0
Actually respect locks of zero (#14144)
gavofyork May 23, 2023
9848703
Remove the `Copy` bound on `AssetId` (#14158)
koute May 23, 2023
d0ee758
Split `Peerset` into `PeerStore` & `ProtocolController`s (#13611)
dmitry-markin May 23, 2023
c318899
Add genesis config to Glutton pallet (#14188)
NachoPal May 23, 2023
575b6f8
Bump syn from 2.0.15 to 2.0.16 (#14196)
dependabot[bot] May 23, 2023
49431b7
TrieCache: Fine tune the size of the local and node cache (#14191)
bkchr May 23, 2023
685bfde
Easy PR: Fix warnings from latest nightly (#14195)
gilescope May 23, 2023
0ed6d19
Remove wasmi backend from sc-executor (#13800)
yjhmelody May 23, 2023
f0e53d5
Migration hook fixes (#14174)
liamaharon May 23, 2023
8334636
wasm: Update from v6.0.2 to v8.0.1 (#14178)
lexnv May 24, 2023
da4d931
sc-client-db: add test for reverting finalized blocks (#14205)
andresilva May 24, 2023
7d88b03
Replace request-response incoming requests queue with `async-channel`…
dmitry-markin May 24, 2023
7f1e045
sync test and production benchmarking in EPM
gpestana May 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/pr-custom-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,24 @@ rules:
check_type: changed_files
condition:
include: .*
# excluding files from 'CI team' rules
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml
# excluding files from 'CI team' and 'FRAME coders' rules
exclude: ^\.gitlab-ci\.yml|^scripts/ci/.*|^\.github/.*|^\.config/nextest.toml|^frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
min_approvals: 2
teams:
- core-devs

- name: FRAME coders
check_type: changed_files
condition:
include: ^frame/(?!.*(nfts/.*|uniques/.*|babe/.*|grandpa/.*|beefy|merkle-mountain-range/.*|contracts/.*|election|nomination-pools/.*|staking/.*|aura/.*))
all:
- min_approvals: 2
teams:
- core-devs
- min_approvals: 1
teams:
- frame-coders

- name: CI team
check_type: changed_files
condition:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ rls*.log
*.iml
bin/node-template/Cargo.lock
substrate.code-workspace
.direnv/
/.envrc
Loading