Commit Graph

243 Commits

Author SHA1 Message Date
Robert Habermeier b58df7892f integrate new primitives with native-runtime 2018-02-05 17:40:49 +01:00
Robert Habermeier 2bc7c57359 reintroduce slicable to primitives 2018-02-05 16:15:45 +01:00
Robert Habermeier e4e755a87a refactor codec 2018-02-01 13:29:16 +01:00
Robert Habermeier 188332cc4b extract out all primitives 2018-02-01 11:13:55 +01:00
Robert Habermeier a3b9c2af7d fix compiler warning 2018-01-31 22:28:11 +01:00
Robert Habermeier 0035369f82 allow polkadot-primitives to compile on nightly 2018-01-31 22:27:07 +01:00
Robert Habermeier 29c3a585a1 Merge branch 'master' into author-relay-block 2018-01-31 18:11:30 +01:00
Gav Wood c29bb49517 Merge pull request #52 from paritytech/gav-storage-root-verify
Verify the storage root and tx trie root in runtime
2018-01-31 10:38:40 +01:00
Gav 74e2531585 Strip unneeded logic. 2018-01-31 07:03:25 +01:00
Gav 9fa3035def Minor cleanup 2018-01-31 06:55:04 +01:00
Gav 9cc7c5a9b2 Test enumerted trie root. 2018-01-31 06:52:40 +01:00
Robert Habermeier 4b2bd5ec72 fully refactor runtime-std to use conditional compilation 2018-01-30 23:47:29 +01:00
Gav 2cd54ce820 Skip invalid test 2018-01-30 22:45:20 +01:00
Gav e19100e76a Implement enumerated trie root throughout. 2018-01-30 22:40:03 +01:00
Gav 69a73f3480 Merge branch 'master' into gav-storage-root-verify 2018-01-30 20:57:33 +01:00
Gav 60ca24a97c Remove superfluous code. 2018-01-30 20:56:57 +01:00
Gav 74139d98da test state root calculation. 2018-01-30 20:52:59 +01:00
Gav d6711ced93 Actually check state root.
Also refactor wasm exports to be stricter on invalid mem references.
2018-01-30 20:09:06 +01:00
Gav 923b2ac771 Test for overlaying and storage root calculation. 2018-01-30 19:41:50 +01:00
Robert Habermeier 2c39e247d6 clean up workspaces a little 2018-01-30 19:35:09 +01:00
Robert Habermeier 8e6cb1b6e2 more idiomatic std features 2018-01-30 19:28:57 +01:00
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