Commit Graph

8072 Commits

Author SHA1 Message Date
Gav 426486617a Storage root for Ext. 2018-01-30 19:21:54 +01:00
Robert Habermeier a68b187f4d extract out runtime-codec to a separate crate 2018-01-30 18:51:12 +01:00
Arkadiy Paronyan 44499550d9 Networking and in-memory client (#38)
* Networking crate draft

* Started work on syncing algo

* Fixed query range

* BlockCollection tests

* In-mem client backend

* Fixed tests

* Renamed Transaction

* Removed stray println

* Docs
2018-01-30 18:49:52 +01:00
Gav 06817aed51 TestExternalities can commit. 2018-01-30 18:41:32 +01:00
Gav e2a2936408 Expose commit in externalities.
Also refactor `TestExternalities` into a single place.
2018-01-30 18:29:26 +01:00
Gav Wood 8e554129ec Merge pull request #47 from paritytech/native-executor
Native executor
2018-01-30 10:57:58 +01:00
Gav a9403a3ed4 Make memcmp safe. 2018-01-29 21:29:03 +01:00
Gav c8c0879f3d Correct implementation of memcmp 2018-01-29 17:19:56 +01:00
Gav 1e0b133841 Fix verify logic. 2018-01-29 00:22:15 +01:00
Gav c245b38eaa Move constants to top of files (even though they're private) 2018-01-28 21:47:49 +01:00
Gav a4e7f17a19 Keep naming consistent. 2018-01-28 20:57:50 +01:00
Gav baa1d76323 Name more consistently with std. 2018-01-28 20:40:33 +01:00
Gav 769bd9d101 Avoid using the controversial Vec::from_raw_parts. 2018-01-28 20:39:18 +01:00
Gav 5b179842ec Remove old comment 2018-01-28 20:34:18 +01:00
Gav 4dca28441d Bulid script fails fast. 2018-01-28 20:32:59 +01:00
Gav 6451b612cc Less constant-bloat. 2018-01-28 20:30:44 +01:00
Gav fc1214f251 Minor cleanup. 2018-01-28 20:17:14 +01:00
Gav 825cb6b9d4 Use consts rather than direct names. 2018-01-28 20:00:06 +01:00
Gav 3491e1609e Fix exists bug. 2018-01-28 17:11:29 +01:00
Gav bfd599e5de Revise storage API. 2018-01-28 17:08:45 +01:00
Gav 59469995b2 Introduce module structure over comments. 2018-01-28 14:36:40 +01:00
Gav bc6eb7d70a Refactor executor. 2018-01-28 13:48:24 +01:00
Gav daa77d09a6 Rearrange export structure to something a bit more convenient. 2018-01-28 13:41:22 +01:00
Gav 5b337e3a9c Repot and fix a ser/de bug. 2018-01-27 19:52:24 +01:00
Gav f82e30bac3 Kill superfluous code. 2018-01-27 13:54:34 +01:00
Gav d97520c7f0 Introduce hex/string printing in runtime. 2018-01-27 13:42:40 +01:00
Gav ace1387076 Fix everything. 2018-01-27 13:32:30 +01:00
Gav a9c864e098 Attempt fix. 2018-01-26 22:16:10 +01:00
Gav 0b138b0fd5 Introduce tests which demonstrate bad wasm compiler. 2018-01-26 19:26:10 +01:00
Gav bbac6f8da1 Handle panics in native execution. 2018-01-26 15:24:12 +01:00
Gav ead42293bc Tests for native/wasm runtime 2018-01-25 19:28:28 +01:00
Gav 53eea2bed6 Merge branch 'governance' into native-executor 2018-01-23 20:58:13 +01:00
Gav 1f5f56c089 Ensure bool actually is endian-insensitive. 2018-01-23 20:56:52 +01:00
Gav 7a44fc4c77 Merge branch 'governance' into native-executor 2018-01-23 20:53:26 +01:00
Gav ad48f66a3f Merge branch 'master' into governance 2018-01-23 20:52:47 +01:00
Gav Wood 5dc6c58c43 Merge pull request #44 from paritytech/runtime-tweaks
Runtime safety and style tweaks
2018-01-23 20:46:54 +01:00
Gav 1617900c1d Implement NativeExecutor, which attempts a native execution and falls back on Wasm otherwise. 2018-01-23 20:38:01 +01:00
Gav 91c659fbc8 Merge branch 'governance' into native-executor 2018-01-23 20:17:52 +01:00
Gav 58aa328194 Merge branch 'master' into governance 2018-01-23 20:17:41 +01:00
Gav Wood e4e1feda0d Merge pull request #46 from paritytech/non-static-trait-environmental
using non-static traits for environmental
2018-01-23 20:16:59 +01:00
Robert Habermeier e014c8a553 make more readable 2018-01-23 19:50:56 +01:00
Robert Habermeier 9b930a18a5 using non-static traits for environmental 2018-01-23 19:45:36 +01:00
Robert Habermeier 21a4f9f821 fix grumbles 2018-01-23 17:43:35 +01:00
Gav 612fabaafc Merge branch 'master' into governance 2018-01-23 17:33:58 +01:00
Gav 8ca5c09961 Initial (non-functional) code.
- Kill Externalities Error type requirement.
2018-01-23 17:27:43 +01:00
Robert Habermeier c27ea0b73b Merge branch 'master' into runtime-tweaks 2018-01-23 17:22:04 +01:00
Robert Habermeier 954a4dc8ef clean up some unsafety in Slicable 2018-01-23 17:21:20 +01:00
Robert Habermeier b9cc928495 update the WASM runtime imports 2018-01-23 17:05:35 +01:00
Robert Habermeier ce5f4da907 reorganize native-support exports 2018-01-23 16:51:04 +01:00
Gav Wood 6bc1c3265e Nit fix (#43)
* Avoid thread issues.

* Remove accident file
2018-01-23 16:46:33 +01:00