Kian Paimani
937b6f246e
put TryInto and TryFrom in sp_std::prelude ( #10183 )
...
* Switch to Rust 2021
* Update trybuild to fix errors
* half baked
* fix
* remove unused import
* remove more warnings
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-11-08 00:24:53 +01:00
Kian Paimani
abd08e29ce
Rewrap all comments to 100 line width ( #9490 )
...
* reformat everything again
* manual formatting
* last manual fix
* Fix build
2021-08-11 14:56:55 +00:00
Bastian Köcher
7b56ab15b4
Run cargo fmt on the whole code base ( #9394 )
...
* 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 >
2021-07-21 14:32:32 +00:00
Gavin Wood
b5b0ef592e
Fungibles trait and impl for Assets pallet ( #8425 )
...
* Fungibles trait and impl for Assets pallet
* Comment & whitespace
* Fixes
* Fix up CI/CD for the new labels.
* New labels.
* Fix labels
* Fix labels
* Whitespace
* Bump impl version.
* Fix accidental change
* Fixes
* Questionable fix.
* Better benchmark
2021-03-23 14:10:36 +01:00
Gavin Wood
fd860501b0
Make work for no_std ( #8402 )
2021-03-19 15:47:28 -04:00
Guillaume Thiolliere
28fa5c2b6c
Compute yearly inflation on-chain allowing to change x_ideal according to number of slots. ( #8332 )
...
* new crate
* Update frame/staking/reward-fn/src/lib.rs
Co-authored-by: Gavin Wood <gavin@parity.io >
* fix doc
Co-authored-by: Gavin Wood <gavin@parity.io >
2021-03-19 09:32:22 +01:00