- Sep 05, 2018
-
-
David authored
* Fetch parity-common dependencies from crates * Update triehash * Fix code to fit latest triehash Fetch kvdb-rocksdb from crates * type params * lockfile * lockfiles * wasm binaries and lockfile
-
Svyatoslav Nikolsky authored
-
Gav Wood authored
* Somerhing wrong. * My attempt to fix * cfg_attr for serde * Fix tests
-
Pierre Krieger authored
- Sep 04, 2018
-
-
Bastian Köcher authored
* Include function comments into modules `json_metadata` All doc comments (with `///`) are included in the description field of the function. Progress on #535 * Replace spaces with tabs
-
Svyatoslav Nikolsky authored
* storage proofs * CHT
-
Gav authored
-
Gav Wood authored
* Introduce treasury and document * Revert bad changes * More reversions * Add example crate - Remove HasPublicAux - Rename Concrete -> Runtime * Actually commit stuff * Changes * Propagate block number in finalise. * Fix and build example * Fixes. * Fix compilation for treasury. * Fix the treasury test * Tests * Fix. * Fix tests * Fix a few grumbles * Fixes * Fix grumbles
-
Gav Wood authored
-
Bastian Köcher authored
The new function `json_metadata` returns the module declaration as a json string. Progress on: #535
-
Pierre Krieger authored
-
Pierre Krieger authored
* Add a reputation system * Fix tests * Don't try to dial peers to which we are already connected * Use the master branch of libp2p
-
- Sep 03, 2018
-
-
Arkadiy Paronyan authored
-
- Sep 01, 2018
-
-
Sergey Pepyakin authored
* Rename ext_transfer → ext_call There are several tests where gas was changed. This is due to shrinking the name and consequently a size of contracts. * Fix macros Specifically, make fixes that allows to use a function without arguments (apart from ctx). For example: ```rust ext_return_42(ctx) -> u32 => { Ok(42) } ``` Also, add impl ConvertibleToWasm for u64. * Implement passing input data buffer from top-level This allows the transaction initiator to pass some input data that can be accessed from the executed contract. However, this only works for the top-level contract. The contract still cannot pass input data to the callee contract. The reason for that is that API doesn't support this presently. This will be addressed in the following commits. * Input data passing thru `ext_call` `ext_call` now takes a buffer (or more specifically, pointer to the start of and size of a buffer). This allows contracts to pass input data while calling into other contracts. * Input data passing thru `ext_create` Same as previous commit but for `ext_create`. * Trap on decoding error instead of panicking * Don't cascade failure in ext_call Instead, if callee doesn't complete successfuly, return a non-zero status code. This will prevent cascading traps up to the top-level. Due to this some tests were altered so that they now expect successful transfer instead of a failure. * Don't cascade failure in ext_create Same as previous commit but for ext_create. * Specify how much gas to allot for a call * Specify how much gas to allot for a create * Update tests.rs
-
Guanqun Lu authored
* move heap size on chain * fix the interface change * decode heap size * fix code comments * fix comment * update Cargo.lock * rename to heappages * add one heap pages variable in runtime
-
- Aug 31, 2018
-
-
Gav Wood authored
* Initial draft * Fixes * Extrinsic success events
-
Sergey Pepyakin authored
-
woodsmur authored
-
Guanqun Lu authored
-
Gav Wood authored
-
* Allow to build_upon skipped entries, but don't walk back * Use existing calculated version
-
- Aug 30, 2018
-
-
Gav Wood authored
* Initial commit. * Split out balances module * Minimise Balances trait requirements * Fix up balances, remove balances stuff from staking * Split off and fix up staking module * Fix executive tests * Fix up democracy module * make council work again * Remove unneeded cruft from democracy * Fix up contract module * Fix up rest of tests * Fix minor TODOs * Fix tests * Remove superfluous code * Move offline inherents to consensus module. Fixes #630 * Version needs Decode. * Move Decode back * Fix nits * Refactor to allow custom message
-
Denis S. Soldatov aka General-Beck authored
it is necessary to test. You will probably have to create a cron-job for the nightly assembly of the master branch
-
- Aug 29, 2018
-
-
ddorgan authored
image.
-
Gav Wood authored
* Remove need for ident strings for storage items * Fixes * Fix tests * Minor change to macro grammer
-
Guanqun Lu authored
-
Sergey Pepyakin authored
* Tabs instead of spaces. * Remove double spaces. * Add spaces between ID and the following { * Update to nightly 2018-08-27 * Align wat code properly
-
Guanqun Lu authored
-
Guanghua Guo authored
* Misspelled words * Update native_executor.rs
-
- Aug 28, 2018
-
-
Sergey Pepyakin authored
* Add block gas limit check * Fix formatting * Add block_gas_limit test. * Use ExtBuilder in tests * Docs and clean-up. * Correct style
-
Tomasz Drwięga authored
-
asynchronous rob authored
* more accurate consensus superseding logic * mild revision to `can_build_on` logic * fix a deadlock when spawning agreement as non-authority * dropping BFT future before poll doesn't lead to service deadlock * push cancel to BFTfuture rather than waiting for task
-
Pierre Krieger authored
-
Gav Wood authored
* Squashed commit. New slashing mechanism (#554) … * Slashing improvements - unstake when balance too low - unstake after N slashes according to val prefs - don't early-terminate session/era unless unstaked - offline grace period before punishment * Fix warning * Cleanups and ensure slash_count decays * Bump authoring version and introduce needed authoring stub * Rename * Fix offline tracker * Fix offline tracker * Renames * Add test * Tests * Tests. Remove accidental merge files. Merge remote-tracking branch 'origin/master' into gav-new-pos Version bump, fixes (#572) … * Bump version, don't propose invalid blocks * Fix build. * Fixes. * More fixes. * Fix tests. * Fix more tests * More tests fixed Fix merge Fix accidental merge bug Fixes. Staking failsafes … - Don't slash/unstake/change session when too few staking participants - Introduce set_balance PrivCall Make minimum validator count dynamic. test fixes Fix tests. Fix tests Fix tests, update readme. Merge remote-tracking branch 'origin/master' into gav-new-pos Test with release. Use safe math when dealing with total stake Fix test again. Introduce events into runtime. Fix tests Add events for account new/reap Integration-style tests for events. * Remove old code
-
Guanghua Guo authored
-
Guanqun Lu authored
-
Guanqun Lu authored
-
Guanqun Lu authored
-
- Aug 27, 2018
-
-
Gav Wood authored
* New slashing mechanism (#554) * Slashing improvements - unstake when balance too low - unstake after N slashes according to val prefs - don't early-terminate session/era unless unstaked - offline grace period before punishment * Fix warning * Cleanups and ensure slash_count decays * Bump authoring version and introduce needed authoring stub * Rename * Fix offline tracker * Fix offline tracker * Renames * Add test * Tests * Tests. * Remove accidental merge files. * Version bump, fixes (#572) * Bump version, don't propose invalid blocks * Fix build. * Fixes. * More fixes. * Fix tests. * Fix more tests * More tests fixed * Fix merge * Fix accidental merge bug * Fixes. * Staking failsafes - Don't slash/unstake/change session when too few staking participants - Introduce set_balance PrivCall * Make minimum validator count dynamic. * test fixes * Fix tests. * Fix tests * Fix tests, update readme. * Test with release. * Use safe math when dealing with total stake * Fix test again. * Fix grumbles.
-