Bastian Köcher
2ecffa1cd0
Refactor sr-api to not depend on client anymore ( #4086 )
...
* Refactor sr-api to not depend on client anymore
* Fix benches
* Apply suggestions from code review
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com >
* Apply suggestions from code review
2019-11-11 16:26:49 +01:00
Kian Paimani
093f1c46e5
Update RPC deps. ( #4012 )
...
* Bump rpc deps
* Update core/test-runtime/src/genesismap.rs
Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com >
2019-11-04 12:53:58 +01:00
Kian Paimani
7e87dfdc07
RPC to query transaction fee + weight + info ( #3876 )
...
* initial version for testing
* New version that compiles
* optional at block parameter
* Fix some more view grumbles.
* Update srml/transaction-payment/src/lib.rs
2019-10-28 16:04:45 +01:00
Gavin Wood
ec7655cc7b
Tip payment is a different withdraw reason. ( #3937 )
...
* Tip payment is a different withdraw reason.
* Bump runtime version.
* Test fix.
* Fix lock type
2019-10-28 13:04:20 +01:00
Kian Paimani
ecd1ed7b65
Better Parameterisation for Fee system ( #3823 )
...
* Better fee parameters
* Fix build
* Better runtime tests
* Price to Weight ratio as type parameter (#3856 )
* Price to Weight ration as type parameter
* Kian feedback
* Some renames.
* Fix executor tests
* Getting Closer.
* Phantom Data
* Actually fix executor tests.
* Fix tests.
* Remove todo
* Fix build
2019-10-24 15:03:52 +02:00
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
Robert Habermeier
5d5e71028e
Explicitly declare decl_storage! getters as functions ( #3870 )
...
* parse decl_storage getters with fn keyword
* test for get in decl_storage
* update all decl_storage! getters
* bump version
* adjust missed doc line
2019-10-22 09:53:58 +02:00
Kian Paimani
183c188111
refactor: Transaction-Payment module ( #3816 )
...
* Initial draft that compiles
* Extract payment stuff from balances
* Extract multiplier update stuff from system
* Some fixes.
* Update len-fee as well
* some review comments.
* Remove todo
* bump
2019-10-17 14:21:32 +02:00