- Apr 16, 2019
-
-
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
-
- Mar 29, 2019
-
-
DemiMarie-parity authored
-
Amar Singh authored
* first try * resolve description of grandpa and add links to relevant docs * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * Can do a relative link here * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * Update srml/consensus/src/lib.rs Co-Authored-By: AmarRSingh <[email protected]> * formatting/style/semantics * missed conflict * style * Update srml/consensus/src/lib.rs * Update srml/consensus/src/lib.rs
-
Stanislav Tkach authored
* Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Move authorities interface from Core to consensus f * notify all caches of block insert + create with up-to-date best_fin * merged authorities_are_cached from light_grandpa_import2 * Add ProvideCache trait * Create helper function for 'get_cache' * Fix some formatting * Bump impl version * Resolve wasm conflicts * Apply review comments * Use try_for_each * Increment impl_version * Update lib.rs
-
Shawn Tabrizi authored
* First draft of sudo module documentation * add ignore tags to code blocks * Suggested Updates Still needs some more love with links * Update lib.rs * Add links to other modules * Update lib.rs * style * missed parens
-
Kian Peymani authored
* First draft of extended balance type * Test cleanup. * Update staking docs. * Add a good failing test case for quintill * Bring back saturating. * Some final fixes * A few more. * Update wasm; Bump spec; * Re-bump. * Custom lossy conversion from currency to vote * remove print * Fix reverse conversion issue. * void. Re-trigger ci.
-
Gav Wood authored
* Proxy voting in democracy * Proxy voting for council elections * Bump and build * Kill proxy when account dead * Rebuild wasm * Fix democraxy delegation locking * Update srml/council/src/seats.rs Co-Authored-By: gavofyork <[email protected]> * Update to use mutate
-
joe petrowski authored
* all the ise * forgot a misspelling * a few more replacements * bump impl * rollback and fixes * bump impl again * Add aliases for RPC * Update on_demand.rs
-
Nicole Zhu authored
* Add: documentation for srml_contract, per @sergeis comments. TODO: make concise and add usage example * Fix: minor spelling and grammar * Add: Revisions to the doc clarification from @Sergei on trx revert behavior * Edit: added spacing btw function list for better readability * Remove: usage create contract example todo later * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Edit: explained max gas limit revert behavior in greater detail * Edit: incorporated first round of PRs, mostly syntax/styling * Edit: incorporated Sergeis mental model, terms, and added usage examples * Fix: staking module is no longer closely related to contract. Balances now manages the reaping of accounts * Minor cleanup of links/text that are not ready to be shown * Update srml/contract/src/lib.rs made more concise Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Minor edits from PR * Explained contract creation in more detail, fixed PR suggestions * Linted according to contri guidelines * Created a notable scenarios section, unlisted public functions in lieu of a direct link to the module * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/tests.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * Update srml/contract/src/lib.rs Co-Authored-By: nczhu <[email protected]> * minor commit after pr feedback * s/codehash/code_hash for consistency
-
zak authored
* fixed some typo * Update traits.rs
-
Xiliang Chen authored
* allow trailling comma in decl_event * Update srml/support/src/event.rs Co-Authored-By: xlc <[email protected]> * Update srml/support/src/event.rs Co-Authored-By: xlc <[email protected]> * Update srml/support/src/event.rs Co-Authored-By: xlc <[email protected]> * Update srml/support/src/event.rs Co-Authored-By: xlc <[email protected]> * Update srml/support/src/event.rs Co-Authored-By: xlc <[email protected]> * bump version and update wasm
-
- Mar 28, 2019
-
-
thiolliere authored
* factorization * introduce GenericUnhashedStorage * implement generator and storage * impl double map in storage macro * improve StorageDoubleMapXX methods * remove storage from example and impl test * remove old comments * wasm compatible * improve imports * rename storages * update runtime impl version * make code less verbose * impl hash config for second key in double map hash available are all of Hashable trait * use double map in decl_storage for contract * fix double map config issue * add hasher into metadata * update impl version and build wasm * doc * add attrs * update metadata version * update runtime version * fix unused storage
-
Gav Wood authored
* Timestamp period should be expressed as expected period * Fix test * Ensure value never illegal * Rename * Remove println * Add default * Comment * Fix, bump and rebuild wasm * Fix test * Add TODOs * Configure only minimum_period. * Fix * Update srml/timestamp/src/lib.rs Co-Authored-By: gavofyork <[email protected]> * Update srml/timestamp/src/lib.rs Co-Authored-By: gavofyork <[email protected]>
-
Gautam Dhameja authored
* srml system docs * updated docs * fixed typo * addressed initial review comments * addressed review comments * addressed review comments * minor fixes in docs * Various corrections, punctuation. * updated docs * minor edit * fixed doc test * Update srml/system/src/lib.rs
-
thiolliere authored
* decouple contract from balance * update impls and builds * set fees in contract module * builds
-
- Mar 27, 2019
-
-
Gav Wood authored
* Fix subtle indices bug * Also fix balances divide by zero.
-
Shawn Tabrizi authored
* Introduce `ReservableCurrency` * Update Docs for `ReservableCurrency` * Update Tests * Bump spec and rebuild wasm * Extra: Add a note to `slash()` Discussion in Riot clarified the behavior of `slash()` and `can_slash()`. Trying to sneak clarifying comments about it into this PR * Update lib.rs * Don't drop the periods! CC @shawntabrizi
-
- Mar 26, 2019
-
-
joe petrowski authored
* comment updates * added rustdoc and readme * clarified LockableCurrency trait * Currency trait rustdocs * fixed typo * fixed suggestions round 1 * UpdateBalanceOutcome docs (open for discussion) * rm description of enum, consolidation, rm ReclaimRebate * type clarification, examples overhaul, adoc formatting * adoc to md * format change for rustdoc * update links and fix typos * typos and links * updates according to comments * new example * small clarifications * trait implementation section * missing ``` * small changes, ready for review * line width update * small tweaks * Update srml/balances/src/lib.rs Co-Authored-By: joepetrowski <[email protected]> * Update srml/balances/src/lib.rs Co-Authored-By: joepetrowski <[email protected]> * Update srml/balances/src/lib.rs Co-Authored-By: joepetrowski <[email protected]> * Update srml/balances/src/lib.rs Co-Authored-By: joepetrowski <[email protected]> * Update lib.rs * address review by thiolliere * remove common warning * Update docs * updated srml example
-
thiolliere authored
* improve decl storage doc * nocompile doc * fix doc * typo * Update srml/support/procedural/src/lib.rs
-
Kian Peymani authored
* Improve a few doc string * Replace overflow-prone operation with saturating. * Remove whitespace. * Update wasm; Bump spec; * Bump impl again. * Fix review comments.
-
thiolliere authored
* improve decl_storage instance doc * use decl_event doc accordignly * automate doc and while allow to extend it on event * some missed ones * Update srml/example/src/lib.rs Co-Authored-By: thiolliere <[email protected]> * Update srml/support/procedural/src/storage/transformation.rs
-