Tomasz Drwięga
|
20a3989785
|
Runtime logging. (#3821)
* Implement Printable for tuples.
* Add debugging function.
* Add debug 1.
* Implement for everything.
* RuntimeDebug derive.
* Introduce RuntimeDebug.
* Add some dummy logging.
* Replace RuntimeDebug with Debug.
* Revert "Replace RuntimeDebug with Debug."
This reverts commit bc47070a8cb30241b2b590b2fa29fd195088162f.
* Working on Debug for all.
* Fix bounds.
* Add debug utils.
* Implement runtime logging.
* Add some docs and clean up.
* Clean up derives.
* Fix custom derive impl.
* Bump runtime.
* Fix long lines.
* Fix doc test.
* Use CARGO_CFG_STD.
* Revert "Use CARGO_CFG_STD."
This reverts commit ea429566de18ed0fa052571b359eb9826a64a9f4.
* Use parse_macro_input
* Update lockfile.
* Apply review suggestions.
* Remove stray re-export.
* Add no-std impl.
* Update lockfile.
|
2019-10-22 14:13:44 +02:00 |
|
Kian Paimani
|
1c15ca6ad1
|
Refactor: fixed point arithmetic for SRML. (#3456)
* Macro-ify perthings.
* Refactor fixed64
* Half-workign phragmen refactor.
* Finalize phragmen refactor.
* Fix creation of perquintill
* Fix build errors
* Line-width
* Fix more build errors.
* Line-width
* Fix offence test
* Resolve all TODOs.
* Apply suggestions from code review
Co-Authored-By: Gavin Wood <gavin@parity.io>
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>
* Fix most of the review comments.
* Updates to multiply by rational
* Fxi build
* Fix abs issue with Fixed64
* Fix tests and improvements.
* Fix build
* Remove more tests from staking.
* Review comments.
* Add fuzzing stuff.
* Better fuzzing
* Better doc.
* Bump.
* Master.into()
* A bit more hardening.
* Final nits.
* Update lock
* Fix indent.
* Revert lock file.
* Bump.
|
2019-09-25 11:21:05 +02:00 |
|
thiolliere
|
c25d7386cf
|
Make staking inflation curve configurable. (#3644)
* Draft for new design of NPoS rewards
* finish code
* fix test
* add tests
* improve log test
* version bump
* Update srml/staking/reward-curve/Cargo.toml
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
* u128 -> u64
* make conversion to smaller type safe
* Update core/sr-primitives/src/curve.rs
Co-Authored-By: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
|
2019-09-21 12:47:10 +08:00 |
|