-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.A task where a mentor is available. Please indicate in the issue who the mentor could be.D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.Can be fixed primarily by duplicating and adapting code by an intermediate coder.T10-testsThis PR/Issue is related to tests.This PR/Issue is related to tests.
Description
#2409 moved all test runtimes to use derive_impl for frame_system by simply adding an attribute to all impls like so:
+#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
impl frame_system::Config for Runtime {
..
}This enabled the introduction of new features like RuntimeTask without the need to update the configs everywhere.
However, the existing impls still continue to override the defaults for a number of types that are essentially the same as the ones provided by default config.
#1790 provides a sample of how the overridden defaults could simply be removed. This issue tracks the same for all pallets:
Here's a tracking list:
- alliance migrate alliance, fast-unstake and bags list to use derive-impl #1636
- asset-conversion
- asset-rate
- assets
- atomic-swap
- aura
- authority-discovery
- authorship migrate babe and authorship to use derive-impl #1790
- babe migrate babe and authorship to use derive-impl #1790
- bags-list migrate alliance, fast-unstake and bags list to use derive-impl #1636
- balances
- beefy
- beefy-mmr
- bounties
- child-bounties
- collective
- contracts
- conviction-voting
- core-fellowship
- democracy
- election-provider-multi-phase
- elections-phragmen
- executive
- fast-unstake migrate alliance, fast-unstake and bags list to use derive-impl #1636
- glutton
- grandpa
- identity
- im-online
- indices Refactor
indicespallet #1789 - insecure-randomness-collective-flip
- lottery
- membership
- merkle-mountain-range
- message-queue
- multisig add
frame_system::DefaultConfigto individual palletDefaultConfigssubstrate#14453 - nft-fractionalization
- nfts
- nicks Refactor
pallet-state-trie-migrationtofungible::*traits #1801 - nis
- node-authorization
- nomination-pools
- offences
- preimage
- proxy add
frame_system::DefaultConfigto individual palletDefaultConfigssubstrate#14453 - ranked-collective
- recovery
- referenda
- remark
- root-offences
- root-testing
- salary
- scheduler
- scored-pool
- session
- society
- staking
- staking-bags-benchmarks
- state-trie-migration
- statement
- sudo
- system
- timestamp
- tips
- transaction-payment
- transaction-storage
- treasury
- try-runtime
- uniques
- utility
- vesting
- whitelist
Metadata
Metadata
Assignees
Labels
C1-mentorA task where a mentor is available. Please indicate in the issue who the mentor could be.A task where a mentor is available. Please indicate in the issue who the mentor could be.D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.Can be fixed primarily by duplicating and adapting code by an intermediate coder.T10-testsThis PR/Issue is related to tests.This PR/Issue is related to tests.