- Apr 25, 2019
-
-
Stanislav Tkach authored
-
- Apr 24, 2019
-
-
Bastian Köcher authored
* move storage maps to blake2_128 (#2268) * remove default hash, introduce twox_128 and blake2 * use blake2_128 & create ext_blake2_128 * refactor code * add benchmark * factorize generator * fix * parameterizable hasher * some fix * fix * fix * fix * metadata * fix * remove debug print * map -> blake2_256 * fix test * fix test * Apply suggestions from code review Co-Authored-By: thiolliere <[email protected]> * impl twox 128 concat (#2353) * impl twox_128_concat * comment addressed * fix * impl twox_128->64_concat * fix test * Fix compilation and cleanup some docs * Apply suggestions from code review Co-Authored-By: bkchr <[email protected]>
-
- Apr 23, 2019
-
-
Luke Schoen authored
* WIP * fix: Redo session module docs incorporating approach used by Joe in democracy * remove unncessary quotes * docs: Add example from srml to session module docs * replace asterix with dash * session start * make example compile * index html updates * Update lib.rs
-
Mokhtar Naamani authored
* set reasonable value for bonding_duration in chainspec staging config * set default bonding_duration to 1, and bump runtime version * Update node/cli/src/chain_spec.rs Co-Authored-By: mnaamani <[email protected]> * Update node/cli/src/chain_spec.rs Co-Authored-By: mnaamani <[email protected]> * Update srml/staking/src/lib.rs Co-Authored-By: mnaamani <[email protected]>
-
Nicole Zhu authored
* Add: draft of treasury doc * Update srml/treasury/src/lib.rs Co-Authored-By: nczhu <[email protected]>
-
Luke Schoen authored
* WIP: SRML Example Module README * add newlines * review-fix: Change const to let. Explain generic usage more * refactor: Remove example steps 2 and 3. User can refer to other examples to figure it out * fix: Update to incorporate approved approach of staking module docs in PR #1951 * fix: Move into expandable Details arrow and fix syntax so appears correctly in rust docs * fix: Fix linting * docs: Add Public Dispatchable functions * fix: Rearrange to use Simple Code Snippet and Examples from SRML * fix: Remove duplicate Dispatchable Functions section * fix: Remove Implementation Details as requested by Gav
-
Luke Schoen authored
* WIP - SRML Assets Module README * docs: Tweaks for consistency * docs: Add missing newline * review-fix: Remove non-SRML trait dependencies * review-fix: Replace const with let * review-fix: Remove use of compact in signature * review-fix: Change const to let since cannot use result of function call * fix: Add backticks around type and mention type it derives from * review-fix: Update variable names since changed to lowercase since using let * fix: Change type to bold instead of code * review-fix: Update Asset module * refactor: Consistent bullet points. Remove whitespace between items * review-fix: Remove useless blah * review-fix: Remove Storage Items * review-fix: Remove Types * review-fix: Remove duplicate instructions * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * Update srml/assets/src/lib.rs Co-Authored-By: ltfschoen <[email protected]> * review-fix: Remove since will be replaced after macro expansion #2068 as per comment * review-fix: Move Goals within overview * fix: Fix indentation * style and a few minor changes * remove Events * capitalization * docs: Reword the Goals to remove mention of cold wallets based on discussion with Joe * Wording * Update lib.rs * Update lib.rs * Update lib.rs
-
Nicole Zhu authored
* Add: initial draft of decl_module!, before fact-check * Add: edits after content review by Guillaume * style * add link to event doc * Changed `nocompile` to `rust,ignore` for docs * Update srml/support/src/dispatch.rs Co-Authored-By: nczhu <[email protected]> * Update dispatch.rs * Changed examples layout of decl_module macro docs * style and links * decl_module doc tests passing * All doc tests passing for decl_module * Minor cleanup, comment out doc test imports * some cleanup * Update srml/support/src/dispatch.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Bump `impl_version` for CI * Fix indentation * Update description of Multiple Module Instances * function definition updates * restructure example and spelling fixes * update after review * `ensure_root` is not a macro * remove ! from ensure_root in text * public vs private
-
thiolliere authored
* doc * other doc cleanup and fixing links * one more typo
-
Sergei Pepyakin authored
* core/primitives * sr-primitives * sr-primitives * srml-treasury * substrate-executor * substrate-keystore * network-libp2p * substrate-service * srml-system * substrate-rpc * sr-version * substrate-telemetry * substrate-test-runtime * substrate-transaction-pool * node-template-runtime * node-primitives * srml-consensus * srml-contract * srml-democracy * srml-finality-tracker * srml-grandpa * srml-metadata * srml-support * Clean * Update locks
-
Sergei Pepyakin authored
* Intro `ChildStorageKey` for checked child keys * Get rid of Into in Externalities trait * Use Cow in ChildStorageKey * Fix tests for state-machine. * Clean * child_storage_root always return a value * Don't return Option from Ext::child_storage_root * Return 42 in child_storage_root * Return CHILD_STORAGE_KEY_PREFIX from trie id gen * Bump spec and impl version. * Require `:default:` in `is_child_trie_key_valid` * Add `default:` prefix. * Introduce `into_owned` for `ChildStorageKey`. * Add documentation. * Fix state-machine tests * Remove outdated TODO I check out with Emeric and he is ok with that * child_storage_root is infailable * Nit * Move assert after check. * Apply suggestions from @DemiMarie-parity Co-Authored-By: pepyakin <[email protected]> * Formatting nit in core/executor/src/wasm_executor.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Formatting nits from @thiolliere
-
- Apr 19, 2019
-
-
Sergei Pepyakin authored
* Validate module before storing it in code_cache. * Bump version.
-
Tomasz Drwięga authored
* Remove limitation to 256 transactions, don't construct requires vector. * Bump impl version.
-
Andrew Jones authored
-
- Apr 18, 2019
-
-
Luke Schoen authored
* opening and closing links * sudo example compiles * add Aura after it was merged to master * Timestamp doc testing passes * Timestamp doc testing works, extraneous lines commented out * balances * remove extern crate line * Removed unneeded code snippet from aura * make consensus compiles * executive compiles * cleanup unnecessary lines * staking (removed examples that are just copies of tests) * minor typos * restore tab spacing
-
joe petrowski authored
* opening and closing links * sudo example compiles * add Aura after it was merged to master * Timestamp doc testing passes * Timestamp doc testing works, extraneous lines commented out * balances * remove extern crate line * Removed unneeded code snippet from aura * make consensus compiles * executive compiles * cleanup unnecessary lines * staking (removed examples that are just copies of tests) * Apply suggestions from code review * unindent example
-
- Apr 17, 2019
-
-
* opening and closing links * sudo example compiles * add Aura after it was merged to master * remove extern crate line
-
- Apr 16, 2019
-
-
thiolliere authored
* Fix contract child usage * bump implementation version
-
-
thiolliere authored
* resolve child trie usage * update locks * increase version * fix test * Revert "update locks" This reverts commit 6f537458b39df4a3bf05a311253986f29289f391.
-
joe petrowski authored
* timestamp * balances * balances-remove-short-example * system * sudo (+missing period in balances) * contract * staking * fix unclear definition in balances * update after review * update genesis-config-sudo link Co-Authored-By: joepetrowski <[email protected]> * genesis
-
Bastian Köcher authored
* Adds deposit event benchmark * Add `StorageValue::append` `StorageValue::append` can be used by types that implement `EncodeAppend` to speed-up situations where you just want to append an item to storage without wanting to decode all previous items. * Stay at 100 events * Fixes compilation * Use correct year and increase spec version
-
- Apr 15, 2019
-
-
Bastian Köcher authored
* Remove peerset debug output test We should not test debug output, especially when it can change. * Update lock file
-
DemiMarie-parity authored
* Add basic BABE consensus type * Update core/consensus/babe/slots/Cargo.toml Co-Authored-By: DemiMarie-parity <[email protected]> * Fix parameterization and run `rustfmt` * Respond to review comments * Update various Cargo.lock files * Revert "Update various Cargo.lock files" This reverts commit af53d7624752a744320e9cbb25749fdd8e6f46d2. * `BabeSealSignature` → `BabeSeal` * Move slot code to its own crate This was highly non-trivial, due to cyclic dependencies. * Remove redundancy between AuRa and BABE Some of the code duplication was removed using a macro. * Fix build error * Avoid non-`#[doc(hidden)]` re-exports Also, bump some library versions in `Cargo.toml`. * Remove dead code in AuRa * Remove impl_slot macro It was more trouble than it was worth. Also, delete useless dependencies on Serde. * AuRa and BABE need different DB keys * Bring back `aura::Network`, but deprecate it. * Improve docs and add `slot_duration` inherent method * Add docs to `substrate_consensus_aura::SlotDuration` * Add missing documentation and #![forbid(missing_docs, unsafe_code)] * Add a #![forbid(missing_docs)] * Remove dependency of `test-runtime` on `slots` * Update core/consensus/babe/src/lib.rs Co-Authored-By: DemiMarie-parity <[email protected]> * Remove wrongly added file * Fix copyright notice Co-Authored-By: DemiMarie-parity <[email protected]> * Bump `impl_version` and `spec_version` * Fix deprecation version; remove spurious carets * Update Cargo.lock * Update dependencies
-
- Apr 12, 2019
-
-
joe petrowski authored
* executive docs first draft * link updates * gautam update * capitalization * typo fix
-
- Apr 11, 2019
-
-
Andrew Jones authored
* Implement `ext_println` in contract runtime * Only allow contracts to import `ext_println` on dev chains * Configure dev chain to allow contracts with `ext_println` * Increment spec version * Docs * Rename config to the more specific enable_println
-
- Apr 09, 2019
-
-
Bastian Köcher authored
-
- Apr 06, 2019
-
-
Andrew Jones authored
* Reject validation of contract with unknown exports * Validate imports eagerly * Increment spec version
-
- Apr 05, 2019
-
-
Bastian Köcher authored
Instead of calculating the `storage_root` a second time, we just can take the `storage_root` from the new header.
-
- Apr 04, 2019
-
-
Xiliang Chen authored
-
- Apr 03, 2019
-
-
Bastian Köcher authored
* Add some tests * More tests * Switch to `derive(Encode, Decode)` for `Call` * Update lock files * Simplify the macro cases
-
Andrew Jones authored
-
Andrew Jones authored
* Replace Vec<u8> with [u8; 32] for contract storage key * Read storage keys from sandbox memory into fixed size buffer * Increment `impl_version`
-
thiolliere authored
* implement contract events * update runtime * renaming * update test code hash * improve complexity details * add deposit event base cost * add test * Revert "add deposit event base cost" This reverts commit 58ec010c0f4f4f0e16935ad41da32aedd17a8c57. * update test * Revert "update test" This reverts commit 6fe61a593ccf0d41f09a0b97472b28ed8751a999. * Revert "Revert "add deposit event base cost"" This reverts commit 145e8a9bac15313a4c380aa66b94fd4d36fa3f6d. * Fix format a bit
-
asynchronous rob authored
* ensure imbalances are properly accounted for * bump runtime version * Update node/runtime/src/lib.rs
-
- Apr 02, 2019
-
-
Kian Peymani authored
* Nasty patch for election * cleanup * a few more comments. * minor fixes * Improve comment
-
thiolliere authored
* use parity-codec-derive from parity-codec everywhere * codec v3.2 -> v3.3 * skip phantom when deriving event * fix decl_module call * update impl version of node + builds
-
- Apr 01, 2019
-
-
thiolliere authored
* refactor * fix accountinfo creation + impl mem_stored * add comment * improve syntax Co-Authored-By: thiolliere <[email protected]> * rename current_mem_stored -> storage_size * more explaination + more readable code * bump impl version of node + builds * delete builds
-
Bastian Köcher authored
This functionality was added by me for Cumulus, but after better understanding Cumulus, this will not be required.
-
Gav Wood authored
* Bump versionb globally * Rebuild and fix * Rename fixes * Rebuild * Minor fix and code formatting for validator election * Fix tests * More test fixes * Fix several bugs in phragmen elections. * Rebuild, remove pointless closures
-