1. Apr 02, 2019
  2. Apr 01, 2019
  3. Mar 31, 2019
  4. Mar 30, 2019
  5. Mar 29, 2019
    • DemiMarie-parity's avatar
      cb5d2f8f
    • Amar Singh's avatar
      Documentation for consensus module (#2043) · d2a69071
      Amar Singh authored
      
      
      * first try
      
      * resolve description of grandpa and add links to relevant docs
      
      * Update srml/consensus/src/lib.rs
      
      Co-Authored-By: default avatarAmarRSingh <[email protected]>
      
      * Can do a relative link here
      
      * Update srml/consensus/src/lib.rs
      
      Co-Authored-By: default avatarAmarRSingh <[email protected]>
      
      * Update srml/consensus/src/lib.rs
      
      Co-Authored-By: default avatarAmarRSingh <[email protected]>
      
      * Update srml/consensus/src/lib.rs
      
      Co-Authored-By: default avatarAmarRSingh <[email protected]>
      
      * formatting/style/semantics
      
      * missed conflict
      
      * style
      
      * Update srml/consensus/src/lib.rs
      
      * Update srml/consensus/src/lib.rs
      d2a69071
    • Stanislav Tkach's avatar
      Move authorities interface from Core to consensus (#1412) · 1b98eaf4
      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
      1b98eaf4
    • Shawn Tabrizi's avatar
      Add documentation to the Sudo module (#2017) · a660a274
      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
      a660a274
    • Kian Peymani's avatar
      Extended Balance Type for Staking's Election (#2134) · a9cd1968
      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.
      a9cd1968
    • Gav Wood's avatar
      Proxy voting (#2137) · d36f00cd
      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: default avatargavofyork <[email protected]>
      
      * Update to use mutate
      d36f00cd
    • Gav Wood's avatar
      Use a context prefix for SS58 hash (#2141) · 6efb74be
      Gav Wood authored
      * Update to final ss58 spec
      
      * Fix tests
      
      * Rebuild
      6efb74be
    • joe petrowski's avatar
      Convert all UK spelling to US (#2138) · 8bf08ca6
      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
      8bf08ca6
    • DemiMarie-parity's avatar
      Refactor DigestItem (#2108) · 8a60b684
      DemiMarie-parity authored
      * Add `start_aura2`.
      
      * .gitignore patch conflict files
      
      and remove one that accidentally got committed
      
      * Fix build
      
      The tests still don’t work.
      
      * Fix compilation errors
      
      * Fix compile errors (again)
      
      * Try (and fail) to fix tests
      
      * Properly deserialize data
      
      Previously, `DigestItem::Consensus` had no separate `DigestItemType`,
      so it did not get properly serialized and deserialized.
      
      * Add extra debug logging.  Always allow old seals.
      
      A `RUST_LOG=substrate_aura_consensus cargo test --all -- --nocapture \
      tests::authoring_blocks` revealed that old seals were being and
      rejected, causing the test to hang.  As a temporary debug measure, allow
      old seals unconditionally, so that CI can test if this fixes the
      problem.
      
      * Forcibly disable rejection of old seals
      
      * Use old trait, but newer serialization
      
      The old trait for `CompatibleDigestItem` actually worked.  By changing
      its implementation, one can ensure that all *new* seals have the modern
      form, but *legacy* seals are still decoded correctly.
      
      * Bump impl version
      
      * Squash spurious deprecation warning
      
      `rustc` should not be emitting a deprecation warning in deprecated
      code, but it does, so silence it.
      
      * Rip out unused Cargo feature
      
      * Move AURA to aura_primitives
      
      * Respond to code review
      
      * Wrap overly-long line
      
      * Reduce logging verbosity and add target
      
      * Add dependency on `sr-primitives` to `aura_primitives`
      
      * Fix build
      
      It failed with a message about Cargo.lock being out of date.
      
      * core: aura: rename aura engine id const
      
      * core: aura: remove superfluous logging
      
      * core: primitives: add removed semicolons
      
      * core: aura: remove unused import
      
      * core: network: style fix
      
      * runtime: update wasm blobs
      
      * runtime: bump impl_version
      
      * core: primitives: tag all DigestItemType variants explicitly
      8a60b684
    • Nicole Zhu's avatar
      Documentation for Contract Module (#2045) · e28cd5bd
      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: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[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: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[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: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/tests.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * Update srml/contract/src/lib.rs
      
      Co-Authored-By: default avatarnczhu <[email protected]>
      
      * minor commit after pr feedback
      
      * s/codehash/code_hash for consistency
      e28cd5bd
    • zak's avatar
      fixed some typo (#2140) · daf15b14
      zak authored
      * fixed some typo
      
      * Update traits.rs
      daf15b14
    • Xiliang Chen's avatar
      allow trailling comma in decl_event (#2117) · d27c0676
      Xiliang Chen authored
      
      
      * allow trailling comma in decl_event
      
      * Update srml/support/src/event.rs
      
      Co-Authored-By: default avatarxlc <[email protected]>
      
      * Update srml/support/src/event.rs
      
      Co-Authored-By: default avatarxlc <[email protected]>
      
      * Update srml/support/src/event.rs
      
      Co-Authored-By: default avatarxlc <[email protected]>
      
      * Update srml/support/src/event.rs
      
      Co-Authored-By: default avatarxlc <[email protected]>
      
      * Update srml/support/src/event.rs
      
      Co-Authored-By: default avatarxlc <[email protected]>
      
      * bump version and update wasm
      d27c0676
  6. Mar 28, 2019
    • Tomasz Drwięga's avatar
      Fix a race conditon in the pool when transactions are imported during pruning. (#2136) · c767d102
      Tomasz Drwięga authored
      * Store recently pruned tags to avoid re-importing transactions.
      
      * Update core/transaction-pool/graph/src/base_pool.rs
      
      * Update core/transaction-pool/graph/src/base_pool.rs
      
      * Update core/transaction-pool/graph/src/base_pool.rs
      
      * Update base_pool.rs
      c767d102
    • Arkadiy Paronyan's avatar
      Use prefixed keys for trie node. (#2130) · fd15825e
      Arkadiy Paronyan authored
      * Account for pending insertions when pruning
      
      * Prefixed trie storage
      
      * Comments
      
      * Prefixed trie storage
      
      * Fixed tests
      
      * Fixed tests
      
      * Bumped runtime version
      
      * Bumped runtime version again
      fd15825e
    • thiolliere's avatar
      storage doublemap in decl_storage (#1918) · f6a4b342
      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
      f6a4b342
    • Arkadiy Paronyan's avatar
      Track peers in network-libp2p (#2135) · 6f1adbcc
      Arkadiy Paronyan authored
      6f1adbcc
    • Gav Wood's avatar
      Ensure timestamp config makes sense. (#2132) · dc3969e7
      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: default avatargavofyork <[email protected]>
      
      * Update srml/timestamp/src/lib.rs
      
      Co-Authored-By: default avatargavofyork <[email protected]>
      dc3969e7
    • Gautam Dhameja's avatar
      Documentation for system module (#1999) · d1bcf5dc
      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
      d1bcf5dc
    • thiolliere's avatar
      Decouple contract from balances (#2081) · d50c973a
      thiolliere authored
      * decouple contract from balance
      
      * update impls and builds
      
      * set fees in contract module
      
      * builds
      d50c973a
  7. Mar 27, 2019
  8. Mar 26, 2019
    • joe petrowski's avatar
      Documentation for balances module (#1943) · 72409f9f
      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: default avatarjoepetrowski <[email protected]>
      
      * Update srml/balances/src/lib.rs
      
      Co-Authored-By: default avatarjoepetrowski <[email protected]>
      
      * Update srml/balances/src/lib.rs
      
      Co-Authored-By: default avatarjoepetrowski <[email protected]>
      
      * Update srml/balances/src/lib.rs
      
      Co-Authored-By: default avatarjoepetrowski <[email protected]>
      
      * Update lib.rs
      
      * address review by thiolliere
      
      * remove common warning
      
      * Update docs
      
      * updated srml example
      72409f9f
    • thiolliere's avatar
      improve decl storage doc (#2059) · 6afca821
      thiolliere authored
      * improve decl storage doc
      
      * nocompile doc
      
      * fix doc
      
      * typo
      
      * Update srml/support/procedural/src/lib.rs
      6afca821
    • Pierre Krieger's avatar
      fe8b33c5