* Run cargo fmt on the whole code base
* Second run
* Add CI check
* Fix compilation
* More unnecessary braces
* Handle weights
* Use --all
* Use correct attributes...
* Fix UI tests
* AHHHHHHHHH
* 🤦
* Docs
* Fix compilation
* 🤷
* Please stop
* 🤦 x 2
* More
* make rustfmt.toml consistent with polkadot
Co-authored-by: André Silva <andrerfosilva@gmail.com>
* make all extrinsics public so they are available from outside
* Impl
* fix
* more fix
* more pub
* few more
* merge fix
* fix ui test
* fix ui test
Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
* Use 'Pallet' struct in construct_runtime.
* Fix genesis and metadata macro.
* Fix 'Pallet' type alias.
* Replace 'Module' with 'Pallet' for all construct_runtime use cases.
* Replace more deprecated 'Module' struct.
* Bring back AllModules and AllPalletsWithSystem type, but deprecate them.
* Replace deprecated 'Module' struct from merge master.
* Minor fix.
* Fix UI tests.
* Revert UI override in derive_no_bound.
* Fix more deprecated 'Module' use from master branch.
* Fix more deprecated 'Module' use from master branch.
* Rename `ModuleToIndex` to `PalletRuntimeSetup`
Besides the renaming it also adds support getting the name of a pallet
as configured in the runtime.
* Rename it to `PalletInfo`
* Remove accidentally added files
* Only check single extrinsics weight limit in validate_transaction.
* Add missing parameter to all pallets.
* Add tests, fix default configuration.
* Bump spec version.
* Use AvailableBlockRation to calculate MaxExtrinsicWeight
* transition treasury to configurable moduleids
* make election module id configurable
* convert runtime and pallet to accept module id config elections-phragmen
* add ModuleId to evm pallet
* change society pallet to configurable module id
* delete commented out module_id
* fix merge residual compile errors
* setup initial mock structure
* establish privelleged function test
* save progress
* first pass new_test_ext
* test sudo to make sure it error when non-root
* add set keys tests
* fix unused result from set_key call
* remove unused imports warnings
* pre master merge
* Expose BlockHashCount on system metadata constants (#5960)
* squash
* fix whitespace
* spelling and whitespace
* a single pesky space
* add logger module to mock
* add logger dispatch to privlleged function
* sub logger in for dummy functions
* create first of several event tests
* first pass at test coverage for events
* comment house keeping
* spell check
* Expose BlockHashCount on system metadata constants (#5960)
* establish privelleged function test
* save progress
* first pass new_test_ext
* test sudo to make sure it error when non-root
* add set keys tests
* fix unused result from set_key call
* remove unused imports warnings
* pre master merge
* squash
* fix whitespace
* spelling and whitespace
* a single pesky space
* add logger module to mock
* add logger dispatch to privlleged function
* sub logger in for dummy functions
* create first of several event tests
* first pass at test coverage for events
* comment house keeping
* implement last_seen_account storage item, event, and, logger function
* create vec account log and use in tests
* allow weight to be passed into account log
* refactor all log dispatchables
* save progress
* complete initial transition to refactored logger
* cleaning
* fix merge residual compile errors
setup initial mock structure
establish privelleged function test
save progress
first pass new_test_ext
test sudo to make sure it error when non-root
add set keys tests
fix unused result from set_key call
parent 5151bd784545ededa6153052a93fcc309f7b3885
author zeke <emostov@middlebury.edu> 1589076740 -0700
committer zeke <emostov@middlebury.edu> 1589350443 -0700
parent 5151bd784545ededa6153052a93fcc309f7b3885
author zeke <emostov@middlebury.edu> 1589076740 -0700
committer zeke <emostov@middlebury.edu> 1589350442 -0700
remove unused imports warnings
fix unused result from set_key call
remove unused imports warnings
pre master merge
Expose BlockHashCount on system metadata constants (#5960)
squash
fix whitespace
spelling and whitespace
a single pesky space
add logger module to mock
add logger dispatch to privlleged function
sub logger in for dummy functions
create first of several event tests
first pass at test coverage for events
comment house keeping
pre master merge
Expose BlockHashCount on system metadata constants (#5960)
Expose BlockHashCount on system metadata constants (#5960)
fix whitespace
spell check
implement last_seen_account storage item, event, and, logger function
create vec account log and use in tests
allow weight to be passed into account log
refactor all log dispatchables
save progress
complete initial transition to refactored logger
cleaning
* clean up
* cleaning
* condense non_privileged logs into 1 fn
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>