Bastian Köcher
|
5d58d583e3
|
Switch srml-session keys to decl_storage! (#3184)
* Switch `srml-session` keys to `decl_storage!`
* Expose `DEDUP_KEY_PREFIX` in constants
* Fix test
* Bump spec version
|
2019-07-24 16:40:04 +08:00 |
|
Bastian Köcher
|
62b7c05def
|
Implement a proper generic resolution in decl_storage! (#2913)
* Add failing test case
* move storage maps to blake2_128 (#2268)
* remove default hash, introduce twox_128 and blake2
* use blake2_128 & create ext_blake2_128
* refactor code
* add benchmark
* factorize generator
* fix
* parameterizable hasher
* some fix
* fix
* fix
* fix
* metadata
* fix
* remove debug print
* map -> blake2_256
* fix test
* fix test
* Apply suggestions from code review
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>
* impl twox 128 concat (#2353)
* impl twox_128_concat
* comment addressed
* fix
* impl twox_128->64_concat
* fix test
* Fix compilation and cleanup some docs
* Lol
* Remove traits from storage types that are not generic
* Get instance test almost working as wanted
* Make `srml-support-test` compile again :)
* Fixes test of srml-support
* Fix compilation
* Break some lines
* Remove incorrect macro match arm
* Integrates review feedback
* Update documentation
* Fix compilation
|
2019-06-27 13:40:22 +02:00 |
|
Bastian Köcher
|
d50b717ff6
|
Generate correct serde bound for GenesisConfig (#2585)
* Generate correct serde bound for GenesisConfig
* Handle double map as well
* Adapt double map test
|
2019-05-15 11:54:00 +02:00 |
|
thiolliere
|
dfbaedd535
|
Allow modules to validate transaction, second attempt (#2463)
* first impl
* rename origin::inherent to none
* fix
* fix
* Apply suggestions from code review
Co-Authored-By: thiolliere <gui.thiolliere@gmail.com>
* comment
* better error
* doc
* (add unsigned module 🤦)
* doc
* fix
* implement for node-template as well
* add validated unsigned to executor
* fix
* fix
* bump version
* testing xt
* remove extraneous logic
* licence
* impl test
|
2019-05-10 14:13:04 +02:00 |
|
thiolliere
|
b0c21da94f
|
optimize double map first key hash (#2451)
* fix double map encoding it is now encoded as specified in the doc
|
2019-05-06 08:44:36 +02:00 |
|