Gav
|
d494d4b89b
|
Fix everything.
|
2018-02-07 17:07:55 +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
|
43ef2ca6f3
|
New wasm binaries.
|
2018-02-07 11:38:40 +01:00 |
|
Gav
|
c0d072a5f3
|
Rename codec -> substrate-codec, executor -> substrate-executor.
|
2018-02-07 11:29:10 +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
|
aa7432f15e
|
get compiling on wasm
|
2018-02-06 13:27:09 +01:00 |
|
Robert Habermeier
|
29c3a585a1
|
Merge branch 'master' into author-relay-block
|
2018-01-31 18:11:30 +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
|
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
|
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 |
|
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
|
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
|
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
|
3491e1609e
|
Fix exists bug.
|
2018-01-28 17:11:29 +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
|
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
|
ead42293bc
|
Tests for native/wasm runtime
|
2018-01-25 19:28:28 +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
|
1617900c1d
|
Implement NativeExecutor, which attempts a native execution and falls back on Wasm otherwise.
|
2018-01-23 20:38:01 +01:00 |
|
Robert Habermeier
|
b9cc928495
|
update the WASM runtime imports
|
2018-01-23 17:05:35 +01:00 |
|
Gav
|
2e69b7c166
|
Add the missing internal functions.
|
2018-01-23 15:25:00 +01:00 |
|
Gav Wood
|
3402f169a7
|
Introduce basic skeleton for Polkadot runtime. (#32)
* Introduce basic skeleton for Polkador runtime.
* Clean up the runtime skeleton.
* Make initial runtime skeleton compile.
* Compile polkadot-runtime both for Wasm ad native, allowing for testing and direct usage.
* More fleshing out on runtime.
* Update native support.
* Fix warning.
* Update gitignore
* Update path.
* Fix path.
* Remove accidentally committed files.
* Add wasm binaries.
* Fix test.
* Native storage support API.
* Add environmental module
* Add native environment to make native source-code compatible with wasm.
Also tests.
* Finish up & polish environment stuff.
* Avoid using reentrancy issues.
* Add some docs and a test.
* Remove unneeded function.
* Documentation
* Tweak docs
* Remove TODOs.
* Balance transfers + util methods.
* Rejig tests and ensure authorities are addressed consistently.
* Add marshaller for xfer function
* Transaction dispatch test.
* Minor fix.
* Add test for ser/de transaction.
* Add ser/de for header.
* Add tests for header ser/de
* Introduce basic block decoding/execution framework.
* Introduce block decoding/execution framework (p2)
* Big refactor.
* Split out joiner.
* Hide away support modules.
* Fix up wasm runtime.
* use externalities for chain_id
* Clean up (Test)Externalities.
* Repot and introduce keccak-256 external.
* Signing with crypto.
* fix unsafety hole in environmental using function
* Introduce Ed25519 crypto.
* Repotting.
* Add ed25519_verify external.
* Introduce Ed25519 verify as an external.
* fix unsafety hole around unwinding
* Compile fixes.
* use new environmental API
* Tests for ed25519 verify.
* Polish
* Introduce UncheckedTransaction & test.
* Implement basic block and tx processing
* Introduce static hex and valid signature for block test.
* Repot session.
* comments.
* Refactor and timestamp test
* Remove fluff
* Remove fluff.
* Staking eras and tests.
* Implement sessions.
* Polish
* Test sessions.
* Introduce better hashing.
- Blake2 for secure hashing
- XX for fast hashing
* Fix tests.
* Introduce staking.
* Tests for simple staking system.
* Build fix for wasm.
* Fix tests.
* Repotting and docs.
* Docs and licence.
* Documentation.
* Remove superfluous code.
* Remove dummy key.
* Remove other superfluous file.
* Optimise with swap_remove
|
2018-01-23 15:24:17 +01:00 |
|
Gav
|
8e8ea203d5
|
Fix Wasm build issues.
|
2018-01-23 12:12:48 +01:00 |
|
Gav
|
c2fca83fff
|
Remove superfluous code.
|
2018-01-19 22:09:01 +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
|
712becb205
|
Polish
|
2018-01-18 12:34:14 +01:00 |
|
Gav
|
07c14104f7
|
Tests for ed25519 verify.
|
2018-01-18 12:31:34 +01:00 |
|
Gav
|
98faf54ec4
|
Repot and introduce keccak-256 external.
|
2018-01-17 11:45:36 +01:00 |
|
Gav
|
dc6ebf71cf
|
Fix up wasm runtime.
|
2018-01-16 18:56:57 +01:00 |
|
Gav
|
6a69b71f46
|
Add wasm binaries.
|
2018-01-09 16:01:46 +01:00 |
|
Gav
|
5db5d2d98a
|
Remove accidentally committed files.
|
2018-01-09 16:00:39 +01:00 |
|
Gav
|
88d66681f6
|
More fleshing out on runtime.
|
2018-01-09 15:05:41 +01:00 |
|
Gav
|
b104f5e6e4
|
Compile polkadot-runtime both for Wasm ad native, allowing for testing and direct usage.
|
2018-01-09 13:47:28 +01:00 |
|