Skip to content
  1. Dec 11, 2019
  2. Dec 10, 2019
  3. Dec 09, 2019
    • thiolliere's avatar
      Introduce prefixed storage with enumeration (#4185) · e5b6935c
      thiolliere authored
      * Introduce storage_next allowing iteration.  (without childtries)
      
      * Implement prefixed storage
      
      * impl cache in client_storage_cache (needs test)
      
      * switch overlay change to btreemap
      
      * Revert "impl cache in client_storage_cache"
      
      This reverts commit c91a4848916eba87184b3dc4722cea81aec9339d.
      
      the storage cache cannot be used this way
      
      * Revert "Implement prefixed storage"
      
      This reverts commit 4931088126a427082d7310ed7e83b8eea966bc20.
      
      * Impl StoragePrefixedMap for all map storages
      
      * remove comment
      
      * Move all overlays to BTreeMap
      
      * btreemap iteration improvment
      
      * impl for child tries
      
      * impl tests for childs
      
      * fix
      
      * remove cache comment
      
      * Fix grumble
      e5b6935c
    • Marcio Diaz's avatar
      Limit number of uncles that can be provided. (#4298) · d4c19c06
      Marcio Diaz authored
      * Limit number of uncles that can be provided.
      
      * Check length of uncles vector on inherent.
      
      * Set fatal error to true for too many uncles.
      
      * Take max uncles in create_inherent.
      d4c19c06
    • Gavin Wood's avatar
      More comprehensive identity system (#4326) · 697b480b
      Gavin Wood authored
      * Initial prototype
      
      * Work on test harness.
      
      * Minor removal
      
      * Add some tests
      
      * Fix tests
      
      * More tests
      
      * Final tests
      
      * General documentation
      
      * Function-level docs.
      
      * Function-level docs.
      
      * Identity fields.
      
      * Fix dependency
      
      * Docs
      
      * Spelling nits
      
      * Address grumbles.
      697b480b
    • Weiliang Li's avatar
      Rename folder: primitives/sr-primitives -> primitives/runtime (#4280) · 04fcc718
      Weiliang Li authored
      * primitives/sr-primitives -> primitives/runtime
      
      * update
      04fcc718
  4. Dec 07, 2019
  5. Dec 05, 2019
  6. Dec 03, 2019
  7. Dec 02, 2019
  8. Dec 01, 2019
  9. Nov 29, 2019
  10. Nov 28, 2019
  11. Nov 27, 2019
    • asynchronous rob's avatar
      safe multi-era slashing for NPoS (#3846) · 4598e130
      asynchronous rob authored
      
      
      * define slashing spans
      
      * tests and pruning for slashing-spans record
      
      * validators get slashed before nominators
      
      * apply slash to nominators as well
      
      * chill and end slashing spans
      
      * actually perform slashes
      
      * integration (tests failing)
      
      * prune metadata
      
      * fix compilation
      
      * some tests for slashing and metadata garbage collection
      
      * correctly pass session index to slash handler
      
      * test span-max property for nominators and validators
      
      * test that slashes are summed correctly
      
      * reward value computation
      
      * implement rewarding
      
      * add comment about rewards
      
      * do not adjust slash fraction in offences module
      
      * fix offences tests
      
      * remove unused new_offenders field
      
      * update runtime version
      
      * fix up some docs
      
      * fix some CI failures
      
      * remove no-std incompatible vec! invocation
      
      * try to fix span-max rounding error
      
      * Update srml/staking/src/slashing.rs
      
      Fix type: winow -> window
      
      Co-Authored-By: default avatarTomasz Drwięga <[email protected]>
      
      * slashes from prior spans don't kick validator again
      
      * more information for nominators, suppression
      
      * ensure ledger is consistent with itself post-slash
      
      * implement slash out of unlocking funds also
      
      * slashing: create records to be applied after-the-fact
      
      * queue slashes for a few eras later
      
      * method for canceling deferred slashes
      
      * attempt to fix test in CI
      
      * storage migration for `Nominators`
      
      * update node-runtime to use SlashDeferDuration
      
      * adjust migration entry-points somewhat
      
      * fix migration compilation
      
      * add manual Vec import to migration
      
      * enable migrations feature in node-runtime
      
      * bump runtime version
      
      * update to latest master crate renames
      
      * update to use ensure-origin
      
      * Apply suggestions from code review
      
      use `ensure!`
      
      Co-Authored-By: default avatarGavin Wood <[email protected]>
      
      * fix multi-slash removal
      
      * initialize storage version to current in genesis
      
      * add test for version initialization
      4598e130