Vivek Pandya
bc53b9a03a
Remove years from copyright notes. ( #13415 )
...
* Change copyright year to 2023 from 2022
* Fix incorrect update of copyright year
* Remove years from copy right header
* Fix remaining files
* Fix typo in a header and remove update-copyright.sh
2023-02-21 18:46:41 +00:00
Anthony Alaribe
c04e68fd01
introduce log-target constant to more frame pallets ( #13116 )
...
* introduce log-target constant to more frame pallets
* cargo fmt
* make LOG_TARGET in session public
* Update frame/elections-phragmen/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update frame/elections-phragmen/src/migrations/v3.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update frame/elections-phragmen/src/migrations/v3.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update frame/elections-phragmen/src/migrations/v3.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* move LOG_TARGET=runtime::session_historical to migrations module, where it's actually used
Co-authored-by: Bastian Köcher <git@kchr.de >
2023-01-10 19:18:12 +00:00
Shawn Tabrizi
30951822ba
Weight v1.5: Opaque Struct ( #12138 )
...
* initial idea
* update frame_support
* update a bunch more
* add ord
* adjust RuntimeDbWeight
* frame_system builds
* re-export
* frame_support tests pass
* frame_executive compile
* frame_executive builds
* frame_system tests passing
* pallet-utility tests pass
* fix a bunch of pallets
* more
* phragmen
* state-trie-migration
* scheduler and referenda
* pallet-election-provider-multi-phase
* aura
* staking
* more
* babe
* balances
* bunch more
* sudo
* transaction-payment
* asset-tx-payment
* last pallets
* fix alliance merge
* fix node template runtime
* fix pallet-contracts cc @athei
* fix node runtime
* fix compile on runtime-benchmarks feature
* comment
* fix frame-support-test
* fix more tests
* weight regex
* frame system works
* fix a bunch
* more
* more
* more
* more
* more
* more fixes
* update templates
* fix contracts benchmarks
* Update lib.rs
* Update lib.rs
* fix ui
* make scalar saturating mul const
* more const functions
* scalar div
* refactor using constant functions
* move impl
* fix overhead template
* use compactas
* Update lib.rs
2022-08-31 11:26:13 +00:00
Jegor Sidorenko
ed7d1e7ac0
Use 'Items' and 'Collections' in uniques pallet ( #11389 )
...
* Rename class to collection
* Use "assets collection" instead of "asset collection"
* Rename 'instance' to 'asset'
* Change "asset `collection`" to "`collection`"
* A bit more clean up
* Rename Asset to Item
* Add a storage hack
* Typos
* fix compile
* fmt
* Fix
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Update frame/uniques/src/lib.rs
* cargo run --quiet --profile=production --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark pallet --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Change 'items collection' to 'collection'
* Apply suggestions
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: Parity Bot <admin@parity.io >
2022-05-16 13:38:12 +00:00
Kian Paimani
1344e43d2d
Remove all stale on_runtime_upgrade hooks in the runtime ( #10650 )
...
* Remove all stale on_runtime_upgrade hooks in the runtime
* add docs
* cleanup
* fix warn
* fix more warnings
* fix offence test
* overwrite the damn UItest
2022-01-19 20:58:47 +01:00
Bastian Köcher
f3662b4bba
Happy new year 2022 ( #10573 )
2022-01-03 09:22:14 +01:00
hamidra
94056a4da7
Add ClassAccount storage to unique pallet ( #9940 )
...
* add ClassAccount to uniques storage
* add tests for Class and ClassAccount storage
* fix format
* fix description
* add migration
* remove extra iteration
* Update frame/uniques/src/migration.rs
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_uniques --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/uniques/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* fix format
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Parity Bot <admin@parity.io >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-12-18 15:41:05 +00:00