guanqun
26b105b472
fix the ignored tests in doc test ( #898 )
...
* fix ignored test
* move CI to --release per Gav
2018-10-13 15:16:17 +02: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
Sergey Pepyakin
608f6ae5d9
Use transfer for sandboxed memory get/set ( #863 )
2018-10-03 13:26:38 +01:00
Sergey Pepyakin
270d0186c1
Refine sandbox errors ( #860 )
2018-10-03 13:23:50 +01:00
guanqun
35f3fe7e77
use the map! macro instead of defining it all over the place ( #867 )
...
* remove one map implementation in test
* remove one map macro
* remove one map macro
* remove one map macro
2018-10-03 13:22:58 +01:00
Sergey Pepyakin
2414ffdac0
Fix sandbox::Memory lifecycle + sandox get memory function for no_std env ( #845 )
...
* Fix `sandbox::Memory` lifecycle for no_std env
* Retain memories in env_def builder and instance
* Add scoped memory creation to test RC semantics
* Add deploying_wasm_contract_should_work test.
* Fix sandboxed memory set function.
2018-09-30 17:23:32 +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
Arkadiy Paronyan
29c9719568
Support authoring for multiple runtime versions ( #816 )
2018-09-27 13:56:40 +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
Bastian Köcher
9b369c4150
Fixes compilation of sandbox tests ( #773 )
2018-09-19 15:26:08 +02:00
Sergey Pepyakin
488830e81a
Fix error handling in sandboxing/contracts modules ( #744 )
...
* Fix error handling in sandboxing/contracts modules
* Add some docs.
* Add some tests.
* grammar
2018-09-19 10:01:25 +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
Gav Wood
a7f8f0f1bd
Remove redundant code and merge rest into rt-std ( #735 )
...
* Remove redundant code and merge rest into rt-std
* Update lib.rs
2018-09-13 14:54:24 +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