-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NODE-79, bifrost pallets improvements (#34)
* NODE-79, feature: migrate to standard storage version for bfc-staking * NODE-79, feature: migrate to use new standard storage version for `bfc-offences`, `bfc-utility`, `relay-manager`. * NODE-79, refactor: replace `OrderedSet` with `BTreeMap` & `BTreeSet` * NODE-79, refactor: calculate translate weight info * NODE-79, refactor: Remove redundant code * NODE-79, refactor: Remove panic point in `bfc-staking` as much as possible * NODE-79, refactor: use btree set in `SelectedCandidates`, `SelectedFullCandidates`, `SelectedBasicCandidates`, `CachedSelectedCandidates` * NODE-79, refactor: remove unnecessary path prefix * NODE-79, refactor: remove unnecessary reverse * NODE-79, refactor: migrate `CandidatePool` to use BoundedBTreeMap * NODE-79, refactor: kill storage `MinTotalSelected` * NODE-79, refactor: remove unnecessary path prefix * NODE-79, fix: typo * NODE-79, refactor: use iter_mut * NODE-79, chore: remove deadcode * NODE-79, refactor: use mutate * NODE-79, refactor: clone in small range * NODE-79, refactor: no need to be complicate * NODE-79, refactor: use getter * NODE-79, fix: should use take instead get * NODE-79, refactor: remove dead code * NODE-79, refactor: no need to be complicated * NODE-79, refactor: use getter * NODE-79, refactor: `relay-manager` * NODE-79, refactor: . * NODE-79, refactor: remove redundant * NODE-79, fix: revert message * NODE-79, refactor: `bfc-staking` * NODE-79, refactor: `relay-manager` * NODE-79, refactor: move under util methods * NODE-79, refactor: impl From<Offence> for EvmOffence * NODE-79, refactor: reduce getter call * NODE-79, refactor: remove unnecessary clone * NODE-79, refactor: `Nominator.initial_nominations` type to BTreeMap * NODE-79, refactor: . * NODE-79, chore: remove dead code * NODE-79, fix: * NODE-79, fix: * NODE-79, test: fit into new storage format * NODE-79, fix: modify if exists else insert * NODE-79, refactor: remove dead code * NODE-79, fix: condition check on OnRuntimeUpgrade * NODE-79, chore: comment * NODE-79, fix: remove duplicate translate in migrations
- Loading branch information
1 parent
e646957
commit e2b3afa
Showing
31 changed files
with
1,603 additions
and
1,586 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.