Commit Graph

63 Commits

Author SHA1 Message Date
Gav 26b4b56402 Remove CallData/OutData. 2018-02-07 13:02:57 +01:00
Gav a5195dfce6 Rename polkadot-serializer -> substrate-serializer 2018-02-07 11:47:30 +01:00
Gav 6071774f57 Rename polkadot-state-machine -> substrate-state-machine 2018-02-07 11:44:32 +01:00
Gav 13fb513a3d Finish rename. 2018-02-07 11:34:29 +01:00
Gav 2220c6e37a Rename polkadot-primitives -> substrate-primitives. 2018-02-07 11:33:29 +01:00
Gav c0d072a5f3 Rename codec -> substrate-codec, executor -> substrate-executor. 2018-02-07 11:29:10 +01:00
Gav 1b7f34bef2 Refactor primitives. 2018-02-07 11:03:43 +01:00
Robert Habermeier 8bae8510f6 combine relay chain primitives into one module 2018-02-06 18:30:21 +01:00
Robert Habermeier 6aaf446352 move function and proposal types to transaction module 2018-02-06 16:42:32 +01:00
Robert Habermeier 4378ce7887 fix tests and review grumbles 2018-02-06 16:35:19 +01:00
Robert Habermeier de65de4758 fix tests after merge 2018-02-06 14:44:25 +01:00
Robert Habermeier 2b691cef06 initial merge 2018-02-06 14:12:54 +01:00
Robert Habermeier 4cba452c31 fix tests 2018-02-06 13:39:29 +01:00
Robert Habermeier d43c93a7dc update native executor tests to use new tx format 2018-02-06 12:44:08 +01:00
Robert Habermeier af2fdc5478 fix compilation for native 2018-02-06 12:26:04 +01:00
Gav 5aeb81b247 Replace more printlns. 2018-02-04 23:05:54 +01:00
Gav 28c64cd673 Replace errant printlns with logging. 2018-02-04 23:03:13 +01:00
Gav ba0746fd3c Make digest compilation work. 2018-02-04 22:29:58 +01:00
Gav 337027b179 Block-creation using new infrastructure 2018-02-04 15:53:54 +01:00
Gav 8628a67e1f Fix most tests, introduce split-block processing tools for authoring. 2018-02-04 14:35:00 +01:00
Gav 4c70c2058d Fix all tests. 2018-02-02 22:40:20 +01:00
Robert Habermeier 29c3a585a1 Merge branch 'master' into author-relay-block 2018-01-31 18:11:30 +01:00
Gav 6fd19a630a Test multiple blocks/txs per block.
Better debug tracing.
2018-01-31 12:33:40 +00:00
Gav e9958a8e5c Convenient block creation logic 2018-01-31 09:55:28 +00: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 d6711ced93 Actually check state root.
Also refactor wasm exports to be stricter on invalid mem references.
2018-01-30 20:09:06 +01:00
Robert Habermeier 2c39e247d6 clean up workspaces a little 2018-01-30 19:35:09 +01:00
Robert Habermeier a68b187f4d extract out runtime-codec to a separate crate 2018-01-30 18:51:12 +01:00
Gav e2a2936408 Expose commit in externalities.
Also refactor `TestExternalities` into a single place.
2018-01-30 18:29:26 +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 769bd9d101 Avoid using the controversial Vec::from_raw_parts. 2018-01-28 20:39:18 +01:00
Gav 6451b612cc Less constant-bloat. 2018-01-28 20:30:44 +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 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 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 1617900c1d Implement NativeExecutor, which attempts a native execution and falls back on Wasm otherwise. 2018-01-23 20:38:01 +01:00
Gav 8ca5c09961 Initial (non-functional) code.
- Kill Externalities Error type requirement.
2018-01-23 17:27:43 +01:00
Gav 2789bc2b8f Simple governance subsytem. 2018-01-21 22:35:25 +01:00
Gav ecb504e467 Build fix for wasm. 2018-01-19 20:31:18 +01:00
Gav c29313c618 Introduce better hashing.
- Blake2 for secure hashing
- XX for fast hashing
2018-01-19 14:17:56 +01:00
Gav 07c14104f7 Tests for ed25519 verify. 2018-01-18 12:31:34 +01:00