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
Sergey Pepyakin
68b6fd1ebd
Remove #![feature(panic_handler)] ( #844 )
2018-09-29 18:56:20 +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
851c7f42df
Fix block generation by updating codec versions in wasm ( #810 )
...
* Fixes for staging testnet
* Fix codec versioning
* Comment unneeded trace
* Update lib.rs
* Update parity-codec
* Add script to update wasm deps and update them.
* Update hashes
* Add BBQ Birch testnet
* it's default-features, apparently.
* Use simpler version spec for parity codec
* Typo
2018-09-27 14:38:56 +01:00
Arkadiy Paronyan
29c9719568
Support authoring for multiple runtime versions ( #816 )
2018-09-27 13:56:40 +01:00
Bastian Köcher
5eb1aefde6
Updates dependencies and tries to consolidate multiple version ( #815 )
2018-09-27 13:50:15 +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
Gav Wood
f71200ee3c
Bump codec ( #786 )
...
* Bump codec
* Fix tests
2018-09-21 17:16:15 +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
f10d8e177d
Generalised Transaction Queue API ( #741 )
...
* First effort
* API versioning
* Introduce validate_transaction
* Introduce the API plus fixes.
* Docs
* Typo
* Add longevity parameter to transaction validity info.
2018-09-17 18:43:59 +02:00
Gav Wood
3f96419665
Remove unneeded code ( #737 )
2018-09-13 18:08:45 +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
Bastian Köcher
52c5b90647
Check if cargo already from nighlty in wasm build scripts ( #724 )
2018-09-12 16:03:48 +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