Use parameter_types instead of thread_local for test-setup (#12036)
* Edit to Assets. parameter_types * fixes * Test Fixes. WIP * Edits to pallet-aura * Camel Case Co-authored-by:Kian Paimani <5588131+kianenigma@users.noreply.github.com> * Implementation of mutate fn * update to pallet-aura * Update to frame-system. Fixes * Update to frame-support-test. CamelCases * Updates to frame- contracts, offences, staking, bounties, child bounties * Edit to mutate fn. Changes to frame-contracts. CamelCase pallet-aura * Edits to frame-contracts & executive * cargo +nightly fmt * unused import removed * unused import removed * cargo +nightly fmt * minor adjustment * updates * updates * cargo +nightly fmt * cargo +nightly fmt * take fn implemented * update * update * Fixes to CallFilter * cargo +nightly fmt * final fixes * Default changed to $value * Update frame/support/src/lib.rs Co-authored-by:
Kian Paimani <5588131+kianenigma@users.noreply.github.com>
Showing
- substrate/frame/assets/src/mock.rs 17 additions, 12 deletionssubstrate/frame/assets/src/mock.rs
- substrate/frame/aura/src/mock.rs 6 additions, 8 deletionssubstrate/frame/aura/src/mock.rs
- substrate/frame/bounties/src/tests.rs 0 additions, 4 deletionssubstrate/frame/bounties/src/tests.rs
- substrate/frame/child-bounties/src/tests.rs 0 additions, 4 deletionssubstrate/frame/child-bounties/src/tests.rs
- substrate/frame/contracts/src/exec.rs 24 additions, 35 deletionssubstrate/frame/contracts/src/exec.rs
- substrate/frame/contracts/src/storage/meter.rs 85 additions, 98 deletionssubstrate/frame/contracts/src/storage/meter.rs
- substrate/frame/contracts/src/tests.rs 28 additions, 17 deletionssubstrate/frame/contracts/src/tests.rs
- substrate/frame/election-provider-multi-phase/src/mock.rs 2 additions, 1 deletionsubstrate/frame/election-provider-multi-phase/src/mock.rs
- substrate/frame/executive/src/lib.rs 22 additions, 28 deletionssubstrate/frame/executive/src/lib.rs
- substrate/frame/im-online/src/mock.rs 15 additions, 19 deletionssubstrate/frame/im-online/src/mock.rs
- substrate/frame/im-online/src/tests.rs 19 additions, 22 deletionssubstrate/frame/im-online/src/tests.rs
- substrate/frame/merkle-mountain-range/src/mock.rs 8 additions, 5 deletionssubstrate/frame/merkle-mountain-range/src/mock.rs
- substrate/frame/merkle-mountain-range/src/tests.rs 1 addition, 1 deletionsubstrate/frame/merkle-mountain-range/src/tests.rs
- substrate/frame/offences/src/mock.rs 7 additions, 8 deletionssubstrate/frame/offences/src/mock.rs
- substrate/frame/scheduler/src/mock.rs 8 additions, 9 deletionssubstrate/frame/scheduler/src/mock.rs
- substrate/frame/scored-pool/src/mock.rs 5 additions, 6 deletionssubstrate/frame/scored-pool/src/mock.rs
- substrate/frame/scored-pool/src/tests.rs 5 additions, 5 deletionssubstrate/frame/scored-pool/src/tests.rs
- substrate/frame/session/src/historical/mod.rs 6 additions, 4 deletionssubstrate/frame/session/src/historical/mod.rs
- substrate/frame/session/src/historical/offchain.rs 7 additions, 4 deletionssubstrate/frame/session/src/historical/offchain.rs
- substrate/frame/session/src/mock.rs 44 additions, 43 deletionssubstrate/frame/session/src/mock.rs
Please register or sign in to comment