Sergey Pepyakin
f3284e964a
Contracts: Make Balance Slicable. ( #168 )
...
* Make Trait::Balance: Slicable
* Rebuild binaries.
2018-05-23 16:03:54 +01:00
Sergey Pepyakin
912a4dcbdd
Smart-contract inspection and instrumentation. ( #165 )
...
* Extract mock module.
* Wasm smart-contract instrumentation
* Rebuild binaries.
* Memory limits and tests.
2018-05-23 13:45:57 +02:00
Sergey Pepyakin
7312a26d09
Smart-contract inspection and instrumentation. ( #165 )
...
* Extract mock module.
* Wasm smart-contract instrumentation
* Rebuild binaries.
* Memory limits and tests.
2018-05-23 13:45:57 +02:00
Robert Habermeier
ef8d2b4d4b
install wasm-gc using nightly ( #167 )
2018-05-17 14:26:11 +02:00
Robert Habermeier
d97110733d
install wasm-gc using nightly ( #167 )
2018-05-17 14:26:11 +02:00
Robert Habermeier
748238eb40
Archive Mode and groundwork for state-preserving handles ( #166 )
...
* less eager deletion of DB values
* archive mode
2018-05-17 13:47:53 +02:00
Robert Habermeier
491f74ad00
Archive Mode and groundwork for state-preserving handles ( #166 )
...
* less eager deletion of DB values
* archive mode
2018-05-17 13:47:53 +02:00
Sergey Pepyakin
37029eb42f
Sandbox: run start function. ( #153 )
...
* sandbox: run start function.
* Add docs.
* Add a missing_docs to sandbox module.
* Fix typo in the naming.
2018-05-17 12:54:56 +02:00
Gav Wood
2c997769b3
Update README.md
2018-05-16 17:09:41 +02:00
Robert Habermeier
0fa049b0c7
Store trie nodes in DB ( #157 )
...
* move responsibility of storage_root calculation to state backend
* have `storage_root` produce a memoizable transaction
* store trie nodes in kvdb
* fix up test fallout
* remove stray newline
* Fix comment
* test for setting and checking state data
* fiddle with dependencies
* all parity deps on same commit hash
* fix network protocol registration
2018-05-16 16:56:24 +02:00
Robert Habermeier
a5508ccc2d
Store trie nodes in DB ( #157 )
...
* move responsibility of storage_root calculation to state backend
* have `storage_root` produce a memoizable transaction
* store trie nodes in kvdb
* fix up test fallout
* remove stray newline
* Fix comment
* test for setting and checking state data
* fiddle with dependencies
* all parity deps on same commit hash
* fix network protocol registration
2018-05-16 16:56:24 +02:00
Robert Habermeier
7c51525ad3
Hook RPC extrinsic import into propagation ( #158 )
...
* call `on_new_transactions` when we import
* fix trace
* pass correct bytes to network
* clean up
* cull before repropagating; repropagate on timer
* add a little tracing
2018-05-15 10:27:18 +02:00
Robert Habermeier
f997a3bdf1
Hook RPC extrinsic import into propagation ( #158 )
...
* call `on_new_transactions` when we import
* fix trace
* pass correct bytes to network
* clean up
* cull before repropagating; repropagate on timer
* add a little tracing
2018-05-15 10:27:18 +02:00
Robert Habermeier
413ebf3f19
check if block is known before re-importing ( #161 )
2018-05-15 10:26:55 +02:00
Arkadiy Paronyan
8bfded8d72
Networking and backend fixes ( #155 )
...
* Networking and backend fixes
* Fixed test
* Reverted DB fix
* Reverted DB fix properly
* Preserve messages with unknown parent_hash
2018-05-14 12:48:14 +02:00
Robert Habermeier
1283545b4b
Fix sync: ensure block hash gets read from the DB correctly ( #152 )
...
* update bootnodes
* fix block_hash loading
* test block hash gets inserted correctly
* specify revision to pull kvdb-memorydb from
* update parity repo dep
2018-05-11 15:46:54 +02:00
Robert Habermeier
8068fdd2af
Fix sync: ensure block hash gets read from the DB correctly ( #152 )
...
* update bootnodes
* fix block_hash loading
* test block hash gets inserted correctly
* specify revision to pull kvdb-memorydb from
* update parity repo dep
2018-05-11 15:46:54 +02:00
Arkadiy Paronyan
5ef7fc4ab5
Fixed local net CLI example ( #154 )
2018-05-11 14:00:29 +02:00
Robert Habermeier
6a9292b71c
update bootnodes ( #151 )
...
(insubstantial)
2018-05-09 18:42:49 +02:00
Robert Habermeier
35ca02970a
update bootnodes ( #151 )
...
(insubstantial)
2018-05-09 18:42:49 +02:00
Robert Habermeier
54f5debf5d
Ensure VoteAdvance messages propagate ( #148 )
...
* avoid clobbering accumulator state with late propose
* log state when polling
* trace on input messages
2018-05-09 12:25:17 +02:00
Robert Habermeier
266ae03666
Ensure VoteAdvance messages propagate ( #148 )
...
* avoid clobbering accumulator state with late propose
* log state when polling
* trace on input messages
2018-05-09 12:25:17 +02:00
Svyatoslav Nikolsky
42d22cbb37
node-key cli option ( #149 )
2018-05-09 12:06:59 +02:00
Svyatoslav Nikolsky
6280f84716
node-key cli option ( #149 )
2018-05-09 12:06:59 +02:00
Robert Habermeier
ab946b2b9f
Ensure all known BFT messages are imported when starting consensus ( #147 )
...
* a little more BFT tracing
* import cached BFT messages into the produced stream
2018-05-08 17:01:26 +02:00
Robert Habermeier
7d54678331
Ensure all known BFT messages are imported when starting consensus ( #147 )
...
* a little more BFT tracing
* import cached BFT messages into the produced stream
2018-05-08 17:01:26 +02:00
Robert Habermeier
f9d5a6a09f
update wasm
2018-05-08 17:00:32 +02:00
Robert Habermeier
a0b9c1147f
update wasm
2018-05-08 17:00:32 +02:00
Robert Habermeier
39d691821d
More testnet fixes ( #145 )
...
* initialise dummy block before API calls
* test for random-seed
* revert polkadot-runtime changes
2018-05-08 14:55:21 +02:00
Robert Habermeier
b10398cefa
More testnet fixes ( #145 )
...
* initialise dummy block before API calls
* test for random-seed
* revert polkadot-runtime changes
2018-05-08 14:55:21 +02:00
Gav Wood
ff93bc2a79
Fixes and improvements for PoC-1 Testnet ( #143 )
...
* Fix initialisations and add a test.
* Fix test.
* Fix overflow bug.
* Minor refactoring and fixes.
* Fix vote threshold.
* Add note.
* Fixes for latest rust and the readme.
* Better readme.
* An extra validator for PoC-1
* Update README.
* PoC-1 bootnodes.
* don't return async::notready for messages without scheduling wakeup
* Fix endowed account
* give polkadot control over round proposer based on random seed
* address grumbles.
2018-05-07 15:25:47 +02:00
Gav Wood
5d9481140c
Fixes and improvements for PoC-1 Testnet ( #143 )
...
* Fix initialisations and add a test.
* Fix test.
* Fix overflow bug.
* Minor refactoring and fixes.
* Fix vote threshold.
* Add note.
* Fixes for latest rust and the readme.
* Better readme.
* An extra validator for PoC-1
* Update README.
* PoC-1 bootnodes.
* don't return async::notready for messages without scheduling wakeup
* Fix endowed account
* give polkadot control over round proposer based on random seed
* address grumbles.
2018-05-07 15:25:47 +02:00
Robert Habermeier
353d9438c8
don't return async::notready for messages without scheduling wakeup
2018-05-06 13:25:37 +02:00
Robert Habermeier
2232da2d53
don't return async::notready for messages without scheduling wakeup
2018-05-06 13:25:37 +02:00
Arkadiy Paronyan
1fd21618d9
Database backend ( #133 )
...
* DB backend
* DB backend
* Cleanup
* Clean build files after running tests
* Fixed comment
* add OOM lang item to runtime-io
2018-05-02 13:36:36 +02:00
Arkadiy Paronyan
04cbcd0655
Database backend ( #133 )
...
* DB backend
* DB backend
* Cleanup
* Clean build files after running tests
* Fixed comment
* add OOM lang item to runtime-io
2018-05-02 13:36:36 +02:00
Sergey Pepyakin
81f133f36d
Sandboxing and the simplest smart-contract runtime ( #140 )
...
* Add primitives for sandboxing.
* Add sandbox module.
* Implement the runtime part of the sandbox.
* Rebuild binaries.
* Implement smart-contract execution.
* Add more documentation.
2018-05-01 20:32:01 +02:00
Sergey Pepyakin
5a56fbcea3
Sandboxing and the simplest smart-contract runtime ( #140 )
...
* Add primitives for sandboxing.
* Add sandbox module.
* Implement the runtime part of the sandbox.
* Rebuild binaries.
* Implement smart-contract execution.
* Add more documentation.
2018-05-01 20:32:01 +02:00
Tomasz Drwięga
f116f67382
Substrate test client crate & chain subscription test ( #139 )
...
* Test client used in RPC tests.
* Use test-client for network tests.
* Expose BlockOrigin and clean up the API.
2018-05-01 16:39:55 +02:00
Arkadiy Paronyan
be23db6916
Improved logging ( #138 )
...
* Improved logging
* Removed some unwraps
2018-04-18 15:57:43 +02:00
Arkadiy Paronyan
101549238e
Improved logging ( #138 )
...
* Improved logging
* Removed some unwraps
2018-04-18 15:57:43 +02:00
Robert Habermeier
7f2c798a06
handle exit and avoid threads hanging ( #137 )
...
* barrier on starting network
* handle exit better
* give consensus service its own internal exit signal
* update comment
* remove stop_notifications and fix build
2018-04-18 13:59:46 +02:00
Robert Habermeier
b6132800b7
handle exit and avoid threads hanging ( #137 )
...
* barrier on starting network
* handle exit better
* give consensus service its own internal exit signal
* update comment
* remove stop_notifications and fix build
2018-04-18 13:59:46 +02:00
Tomasz Drwięga
a3eec9362f
Chain head subscription ( #126 )
...
* Start WebSockets server.
* Expose non-working subscription.
* Dummy subscription for testing.
* Proper implementation with event loop.
* Finalized pubsub.
* Bump clap.
* Fix yml.
* Disable WS logs.
* Remove stale TransactionHash mention
* Fix build from nightly API change.
* Don't panic on invalid port.
* Bind server to random port.
* Send only best blocks.
2018-04-17 13:03:57 +02:00
Tomasz Drwięga
e253a4cb9f
Chain head subscription ( #126 )
...
* Start WebSockets server.
* Expose non-working subscription.
* Dummy subscription for testing.
* Proper implementation with event loop.
* Finalized pubsub.
* Bump clap.
* Fix yml.
* Disable WS logs.
* Remove stale TransactionHash mention
* Fix build from nightly API change.
* Don't panic on invalid port.
* Bind server to random port.
* Send only best blocks.
2018-04-17 13:03:57 +02:00
Gav Wood
f57d0d8ba1
Ensure authorities don't disappear after block 50 ( #132 )
...
* Disable CORS validation, improve logging.
* Fix build from nightly API change.
* Rebuilt binaries
* More logs, keep validators after 50 blocks.
2018-04-16 15:34:46 +02:00
Gav Wood
eb6d142846
Ensure authorities don't disappear after block 50 ( #132 )
...
* Disable CORS validation, improve logging.
* Fix build from nightly API change.
* Rebuilt binaries
* More logs, keep validators after 50 blocks.
2018-04-16 15:34:46 +02:00
Gav Wood
fd0d9a4dea
Disable CORS validation, improve logging, fix build on nightly. ( #129 )
...
* Disable CORS validation, improve logging.
* Fix build from nightly API change.
* Rebuilt binaries
2018-04-16 14:23:33 +02:00
Gav Wood
8ff246eb8a
Disable CORS validation, improve logging, fix build on nightly. ( #129 )
...
* Disable CORS validation, improve logging.
* Fix build from nightly API change.
* Rebuilt binaries
2018-04-16 14:23:33 +02:00
Robert Habermeier
40c7820c31
ensure proposal evaluation occurs at most once per round ( #125 )
...
* ensure proposal evaluation occurs at most once per round
* add test
* remove println
2018-04-15 13:23:59 +02:00