Robert Habermeier
a00d0e75fd
Re-introduce zero copy codec and add minimal polkadot client API which uses linked native runtime ( #65 )
...
* client-api type and move duty roster types to primitives
* tuple implementation for slicable
* mild cleanup of deserialization code
* stubs which handle encoding and decoding themselves
* fancier impl_stubs macro
* zero-copy slicable API
* minimal polkadot-client API
* fix WASM API generation
* move native environment stuff to substrate executor
* fix warnings and grumbles
2018-02-08 19:20:34 +01:00
Arkadiy Paronyan
f2b3bab61e
Networking tests and fixes ( #61 )
...
* BlockId in client interface
* Sync fixes and tests
* Updated to latest primitives
* Updated dependencies
* Updated for new (old) primitives
* Network as workspace member
* substrate-network
* Removed obsolete file
* begin_transaction on hash
2018-02-08 17:49:55 +01:00
Gav
c1ca0cf3e7
Fix runtime error.
2018-02-08 11:10:34 +01:00
Gav
5c842f77bc
Many renames.
...
- Everything polkadot becomes polkadot-.
- Wasm (substrate) executor tests split from Wasm (Polkadot) runtime and
built independently.
2018-02-07 23:36:34 +01:00
Gav
3d0a44c8a9
Moving rpc to substrate in name.
2018-02-07 22:59:35 +01:00
Gav
b1537185fa
Unknit rpc from polkadot.
2018-02-07 22:31:22 +01:00
Gav
692770e03f
Split up substrate-executor into polkadot-executor.
2018-02-07 18:44:00 +01:00
Gav
ef059b81f1
All tests compile. Most tests work.
2018-02-07 16:34:18 +01:00
Gav
4f15a6d488
More tests fixed.
2018-02-07 16:18:20 +01:00
Gav
dcff8f1a2f
Full native build with new structure.
...
No tests yet.
Wasm build still pulls in std.
2018-02-07 15:54:18 +01:00
Gav
9fe85fc9f4
Split out substrate-primitives from polkadot-primitives.
...
Bottom half minus tests builds.
2018-02-07 15:24:54 +01:00
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
6672cf5196
merge duty roster changes
2018-02-06 17:26:52 +01:00
Robert Habermeier
4378ce7887
fix tests and review grumbles
2018-02-06 16:35:19 +01:00
Robert Habermeier
d2660900de
unclobber function changes
2018-02-06 15:41:28 +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
aa7432f15e
get compiling on wasm
2018-02-06 13:27:09 +01:00
Robert Habermeier
af2fdc5478
fix compilation for native
2018-02-06 12:26:04 +01:00
Robert Habermeier
5a675e9c64
fix most issues with compiling on WASM
2018-02-06 12:02:03 +01:00
Robert Habermeier
b58df7892f
integrate new primitives with native-runtime
2018-02-05 17:40:49 +01:00
Gav
9cd6a674cd
Fix misleading names.
2018-02-05 17:05:27 +01:00
Gav
28c64cd673
Replace errant printlns with logging.
2018-02-04 23:03:13 +01:00
Gav
e0c1d13be6
Genesis block builder and test.
2018-02-03 19:00:23 +01:00
Gav
248f27c976
Genesis creation utilities.
2018-02-02 22:17:16 +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
e9958a8e5c
Convenient block creation logic
2018-01-31 09:55:28 +00:00
Robert Habermeier
4b2bd5ec72
fully refactor runtime-std to use conditional compilation
2018-01-30 23:47:29 +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
74139d98da
test state root calculation.
2018-01-30 20:52:59 +01:00
Robert Habermeier
8e6cb1b6e2
more idiomatic std features
2018-01-30 19:28:57 +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
c8c0879f3d
Correct implementation of memcmp
2018-01-29 17:19:56 +01:00
Gav
daa77d09a6
Rearrange export structure to something a bit more convenient.
2018-01-28 13:41:22 +01:00
Gav
ead42293bc
Tests for native/wasm runtime
2018-01-25 19:28:28 +01:00
Gav
8ca5c09961
Initial (non-functional) code.
...
- Kill Externalities Error type requirement.
2018-01-23 17:27:43 +01:00
Gav
9ca552bde4
Merge remote-tracking branch 'origin/master' into governance
2018-01-23 14:43:38 +01:00
Gav
c29313c618
Introduce better hashing.
...
- Blake2 for secure hashing
- XX for fast hashing
2018-01-19 14:17:56 +01:00
Gav
abb8304389
Introduce static hex and valid signature for block test.
2018-01-18 17:35:18 +01:00