Bastian Köcher
a4e5842915
Introduce a PhantomData field in GenesisConfig ( #1116 )
...
This makes it possible to support `GenesisConfig`s that to do not use
generic parameter.
2018-11-16 16:16:10 +01:00
Gav Wood
57b2896332
Remove unneeded Serde requirements ( #1076 )
...
* Remove superfluous serde requirements.
* Try to ensure hash is serde
* Fixups
* Building again
* Attempt to reenable Block (doesn't build)
* Fixes compilation for node cli
* Fixes test compilation
* Fix wasm
* Fix tests
* Remove unneeded changes
* Fix up comments
* Reenable some code
* Compile error when origin misused.
* Remove unnecessary includes of `serde_derive`
* Cleanups
2018-11-12 18:40:18 +01:00
Wei Tang
b21de8a0b5
Support multi trie in genesis generation ( #958 )
...
* Support multi trie in genesis generation
* Fix merge issues
2018-11-01 09:30:03 +01:00
Bastian Köcher
12f12bff28
Make all copyrights use the correct year ( #894 )
...
* Adds a script for automatically update all copyrights
* Ran the `update-copyright` script
2018-10-10 10:28:41 +02:00
guanqun
1cc0e3b6ea
Enhance decl storage ( #777 )
...
* enhance macro decl_storage()
* update the state root hash
* fix one comment
2018-10-05 14:20:32 +02:00
Bastian Köcher
a21b2bfbb8
Some metadata cleanup and improvements ( #857 )
...
* Do not encode the `origin` parameter in the metadata
* Remove obsolete macro
* Encode outer dispatch in metadata
2018-10-01 17:50:30 +01:00
Bastian Köcher
2332d6dd04
More dependency cleanup ( #825 )
...
* Removes `rlp` dependency
* Enable warnings about unused crates in the CI
* Remove all the unused crates
* Make tests working again
2018-09-27 17:52:51 +01:00
Gav Wood
82d6ca3484
Switch to shiny new fast, RLP-less trie ( #795 )
...
* Bump codec
* Fix tests
* Patricia trie builds
* Introduce trie
* Some yak shaving.
* Some fixes
* Remove RLP ref
* Fixes
* It builds!
* Some tests fixed
* Another test fix
* Rejig more hashes
* substrate-trie::iterator_works test
* Update lock
* Polish
* Docs
* Undo incorrect "fix" for tests
* Fix nits
2018-09-25 16:32:22 +02:00
Svyatoslav Nikolsky
7fa337afbc
Light friendly storage tracking: changes trie + extending over ranges ( #628 )
...
* changes_trie
* changs_trie: continue
* changes_trie: adding tests
* fixed TODO
* removed obsolete ExtrinsicChanges
* encodable ChangesTrieConfiguration
* removed polkadot fle
* fixed grumbles
* ext_storage_changes_root returns u32
* moved changes trie root to digest
* removed commented code
* read storage values from native code
* fixed grumbles
* fixed grumbles
* missing comma
2018-09-18 09:14:41 +02:00
Bastian Köcher
5bd0ecddd2
Make impl_outer_event! aware of required generic parameters ( #729 )
2018-09-12 19:12:28 +02:00
Gav Wood
1e01162505
Phase 1 of repo reorg ( #719 )
...
* Remove unneeded script
* Rename Substrate Demo -> Substrate
* Rename demo -> node
* Build wasm from last rename.
* Merge ed25519 into substrate-primitives
* Minor tweak
* Rename substrate -> core
* Move substrate-runtime-support to core/runtime/support
* Rename/move substrate-runtime-version
* Move codec up a level
* Rename substrate-codec -> parity-codec
* Move environmental up a level
* Move pwasm-* up to top, ready for removal
* Remove requirement of s-r-support from s-r-primitives
* Move core/runtime/primitives into core/runtime-primitives
* Remove s-r-support dep from s-r-version
* Remove dep of s-r-support from bft
* Remove dep of s-r-support from node/consensus
* Sever all other core deps from s-r-support
* Forgot the no_std directive
* Rename non-SRML modules to sr-* to avoid match clashes
* Move runtime/* to srml/*
* Rename substrate-runtime-* -> srml-*
* Move srml to top-level
2018-09-12 11:13:31 +02:00