Skip to content
  1. May 20, 2021
  2. May 19, 2021
  3. May 18, 2021
  4. May 17, 2021
  5. May 15, 2021
  6. May 14, 2021
    • Pierre Krieger's avatar
      Small improvement to network log line (#8811) · d849110c
      Pierre Krieger authored
      * Small improvement to network log line
      
      * Use {:?} for the set_id
      d849110c
    • Pierre Krieger's avatar
      Add more debug_assert to networking (#8807) · 3b1b339b
      Pierre Krieger authored
      * Add more debug_assertsudo dnf update to networking
      
      * Swap the lines
      3b1b339b
    • Keith Yeung's avatar
      Implement StorageNMap (#8635) · 033d8289
      Keith Yeung authored
      
      
      * Implement StorageNMap
      
      * Change copyright date to 2021
      
      * Rewrite keys to use impl_for_tuples instead of recursion
      
      * Implement prefix iteration on StorageNMap
      
      * Implement EncodeLike for key arguments
      
      * Rename KeyGenerator::Arg to KeyGenerator::KArg
      
      * Support StorageNMap in decl_storage and #[pallet::storage] macros
      
      * Use StorageNMap in assets pallet
      
      * Support migrate_keys in StorageNMap
      
      * Reduce line characters on select files
      
      * Refactor crate imports in decl_storage macros
      
      * Some more line char reductions and doc comment update
      
      * Update UI test expectations
      
      * Revert whitespace changes to untouched files
      
      * Generate Key struct instead of a 1-tuple when only 1 pair of key and hasher is provided
      
      * Revert formatting changes to unrelated files
      
      * Introduce KeyGeneratorInner
      
      * Add tests for StorageNMap in FRAMEv2 pallet macro
      
      * Small fixes to unit tests for StorageNMap
      
      * Bump runtime metadata version
      
      * Remove unused import
      
      * Update tests to use runtime metadata v13
      
      * Introduce and use EncodeLikeTuple as a trait bound for KArg
      
      * Add some rustdocs
      
      * Revert usage of StorageNMap in assets pallet
      
      * Make use of ext::PunctuatedTrailing
      
      * Add rustdoc for final_hash
      
      * Fix StorageNMap proc macro expansions for single key cases
      
      * Create associated const in KeyGenerator for hasher metadata
      
      * Refactor code according to comments from Basti
      
      * Add module docs for generator/nmap.rs
      
      * Re-export storage::Key as NMapKey in pallet prelude
      
      * Seal the EncodeLikeTuple trait
      
      * Extract sealing code out of key.rs
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      033d8289
  7. May 13, 2021
  8. May 12, 2021
  9. May 11, 2021
  10. May 10, 2021
    • Sergey Pepyakin's avatar
      Make Allocator trait pub (#8777) · 6f9bc199
      Sergey Pepyakin authored
      We need this in order to be able to assemble more fine grained host
      function sets.
      
      E.g. we don't want to use `SubstrateHostFunctions` for PVF. We would
      better whitelist certain host functions. However, we cannot do that
      because we cannot refer to the `Allocator` runtime interface.
      
      I have not been able to find the reason why it wasn't made `pub` in the
      first place, but do not see any reason why not to.
      6f9bc199
    • Shaun Wang's avatar
      Update pallet macro migrations. (#8766) · 9ae9267e
      Shaun Wang authored
      * Update pallet macro migrations.
      
      * Revert dispatchable call visibility changes.
      
      * fmt
      9ae9267e
    • Pierre Krieger's avatar
      f16f8def
    • Shaun Wang's avatar
      Add arithmetic dispatch errors. (#8726) · 2a38b230
      Shaun Wang authored
      * Add arithmetic dispatch errors.
      
      * Replace custom overflow errors.
      
      * Replace custom underflow and division by zero errors.
      
      * Replace overflow/underflow in token error.
      
      * Add token and arithmetic errors in dispatch error equality test.
      
      * Trigger CI.
      2a38b230