Commit Graph

16007 Commits

Author SHA1 Message Date
Gav cc5ee710e8 Merge remote-tracking branch 'origin/master' into gav-permute 2018-02-05 14:03:37 +01:00
Gav Wood a9b07ef6f5 Merge pull request #53 from paritytech/gav-genesis
The genesis block initialisation logic
2018-02-05 14:02:57 +01:00
Gav a7e781c75b Duty rester + test. 2018-02-05 12:02:54 +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 fa81eadadd Doc comment. 2018-02-04 22:51:50 +01:00
Gav ba0746fd3c Make digest compilation work. 2018-02-04 22:29:58 +01:00
Gav b125f72774 Rename con:aut to be in line with :code. 2018-02-04 16:01:14 +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 e0c1d13be6 Genesis block builder and test. 2018-02-03 19:00:23 +01:00
Gav 4c70c2058d Fix all tests. 2018-02-02 22:40:20 +01:00
Gav 248f27c976 Genesis creation utilities. 2018-02-02 22:17:16 +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 bcb2fd0c10 Test improvements, 2018-01-31 13:50:29 +00: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 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