Skip to content
  1. Dec 18, 2019
    • Leo Arias's avatar
      Fix typo in comment (#4433) · 06e382b0
      Leo Arias authored
      06e382b0
    • Wei Tang's avatar
      pallet-evm: default implementation for FeeCalculator and ConvertAccountId and... · 7af81c29
      Wei Tang authored
      pallet-evm: default implementation for FeeCalculator and ConvertAccountId and separate gas price (#4424)
      
      * Default implementation for FeeCalculator and ConvertAccountId and separate gas price
      
      * Styling fixes and some docs addition
      
      * TruncateConvertAccountId -> HashTruncateConvertAccountId
      
      * Fix compile
      7af81c29
    • Shawn Tabrizi's avatar
      More `decl_error!` migrations (#4427) · 57c19bcf
      Shawn Tabrizi authored
      * Update assets to `decl_error`
      
      * Update aura to `decl_error`
      
      * Update authority discovery to `decl_error`
      
      * Update collective to `decl_error`
      
      * Update evm to `decl_error!`
      
      * Fix error with replace
      
      * Revert "Update authority discovery to `decl_error`"
      
      This reverts commit 26e8f3c56656963d847e984c6f2c8e1f88014899.
      
      * Revert "Update aura to `decl_error`"
      
      This reverts commit 8f17c44ca8375a4a755710aaab7ad4d9522c4376.
      
      * Update democracy to `decl_error`
      
      * Update finality-tracker to `decl_error`
      
      * Update grandpa to `decl_error`
      
      * `assert` to `ensure` in dispatchable function
      57c19bcf
    • Gavin Wood's avatar
      Remove incorrect assumption that runners-up were sorted by account (#4429) · 608d6334
      Gavin Wood authored
      * Remove incorrect assumption that runners-up were sorted by account
      
      * Fix
      
      * Update lib.rs
      608d6334
  2. Dec 17, 2019
  3. Dec 16, 2019
    • Shawn Tabrizi's avatar
      Make sudo use `decl_error!` (#4369) · 7e3872c0
      Shawn Tabrizi authored
      * Make sudo use `decl_error`
      
      * copy pasta error
      
      * Update to use `as_str`
      
      * Add doc
      
      * Add back `decl_error`
      7e3872c0
    • Tomasz Drwięga's avatar
      [big refactor] Remove crate aliasing. (#4395) · 8778ca7d
      Tomasz Drwięga authored
      * Rename: Phase 1.
      
      * Unify codec.
      
      * Fixing: Phase 2
      
      * Fixing: Phase 3.
      
      * Fixing: Phase 4.
      
      * Fixing: Phase 5.
      
      * Fixing: Phase 6.
      
      * Fixing: Phase 7.
      
      * Fixing: Phase 8. Tests
      
      * Fixing: Phase 9. Tests!!!
      
      * Fixing: Phase 10. Moar tests!
      
      * Finally done!
      
      * More fixes.
      
      * Rename primitives:: to sp_core::
      
      * Apply renames in finality-grandpa.
      
      * Fix benches.
      
      * Fix benches 2.
      
      * Revert node-template.
      
      * Fix frame-system in our modules.
      8778ca7d
    • Gavin Wood's avatar
      Identity module enhancements (#4401) · f14d98a4
      Gavin Wood authored
      * Updates; not yet tested.
      
      * Fix and add tests
      
      * Add test
      
      * Update a few comments
      f14d98a4
    • Gavin Wood's avatar
      Remove proposal when it is refused (#4399) · 83711ca2
      Gavin Wood authored
      * Remove proposal when it is refused.
      
      * Fix build, add test
      83711ca2
  4. Dec 15, 2019
  5. Dec 14, 2019
    • cheme's avatar
      Fix key collision for child trie (#4162) · 0ece5d9e
      cheme authored
      * In progress, runtime io must switch to future proof root +
      child_specific (unique id) + u32 type.
      
      * Switch interface, sr-io seems ok, rpc could use similar interface to
      sr-io, genesis json broken if there is child trie in existing encoding
      genesis.
      
      * test from previous implementation.
      
      * fix proving test.
      
      * Restore Keyspacedb from other branch, only apply to child trie.
      
      * Removing unneeded child_info from child root (child info are stored
      if things changed, otherwhise the root does not change).
      
      * Switch rpc to use same format as ext: more future proof.
      
      * use root from child info for trie backend essence.
      
      * Breaking long lines.
      
      * Update doc and clean pr a bit.
      
      * fix error type
      
      * Restore removed doc on merge and update sr-io doc.
      
      * Switch child storage api to use directly unique id, if managed id
      where to be put in place, the api will change at this time.
      
      * Clean deprecated host interface from child.
      
      * Removing assertion on child info (can fail depending on root
      memoization).
      
      * merging child info in the overlay when possible.
      
      * child iteration by prefix using child_info.
      
      * Using ChainInfo in frame support. ChainInfo gets redesign to avoid
      buffers allocation on every calls.
      
      * Add length of root to the data of child info.
      
      * comments
      
      * Encode compact.
      
      * Remove child info with root.
      
      * Fix try_update condition.
      
      * Comment Ext child root caching.
      
      * Replace tuples by struct with field
      
      * remove StorageTuple alias.
      
      * Fix doc tests, and remove StorageOverlay and ChildStorageOverlay
      aliases.
      0ece5d9e
  6. Dec 13, 2019
  7. Dec 12, 2019
  8. Dec 11, 2019
  9. Dec 10, 2019
  10. 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
  11. Dec 07, 2019
  12. Dec 05, 2019