- Sep 09, 2018
-
-
Guanqun Lu authored
* runtime-storage: add 'mutate' api * support mutate for StorageValue * try adding 'mutate' for map * dispatch on Option<> type * add check for prev_some * consolidate the wrap type * unify wrap type handling * add sample for StorageValue
-
- Sep 07, 2018
-
-
Arkadiy Paronyan authored
-
Gav Wood authored
* System and Balances switched to new call model * Fixed up executive for new pardigm * Consensus works with Origin * Timestamp ported over * Session now compatible * Ported staking * Treasury compatible * Expunge MaybeEmpty * Make democracy work * Council compatible * Remove some aux-dispatch stuff and fix balances * Rename aux -> origin, fix contracts * Fix test * Fix example * Update macro to remove superfluous cruft * Make work with new macro * Tests * Fix some tests * Tests * Fix grumbles * Final grumble
-
-
Bastian Köcher authored
Progress on: #535
-
Pierre Krieger authored
-
Pierre Krieger authored
* Use BufReader and BufWriter * Add TODOs
-
ddorgan authored
-
- Sep 06, 2018
-
-
Pierre Krieger authored
-
- Sep 05, 2018
-
-
Bastian Köcher authored
* `decl_storage!` exposes json metadata about the storage The metadata can be accessed by calling `store_json_metadata()`. * Hide internal macros in the documentation * Include the function documentation in the store json metadata * Adapt the storage declarations to use doc comments
-
David authored
* impl MaybeEmpty for H256 and u64 (aka AccountId in prod/tests) * binaries
-
Arkadiy Paronyan authored
-
Bastian Köcher authored
-
Svyatoslav Nikolsky authored
* DigestItem trait * removed autoimpl in impl_outer_log * StubDigestItem -> ()
-
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.
-