1. Jun 03, 2021
  2. Jun 02, 2021
  3. Jun 01, 2021
  4. May 31, 2021
  5. May 29, 2021
  6. May 28, 2021
    • Sebastian Müller's avatar
      weather -> whether (#8938) · 1888e56a
      Sebastian Müller authored
      1888e56a
    • joe petrowski's avatar
      32b79365
    • Shawn Tabrizi's avatar
      Simple `MaxBoundedLen` Implementations (#8793) · 444d4e20
      Shawn Tabrizi authored
      
      
      * implement max_values + storages info
      
      * some formatting + doc
      
      * sudo sanity check
      
      * timestamp
      
      * assets (not working)
      
      * fix assets
      
      * impl for proxy
      
      * update balances
      
      * rename StoragesInfo -> PalletStorageInfo
      
      * merge both StorageInfoTrait and PalletStorageInfo
      
      I think it is more future proof. In the future some storage could make
      use of multiple prefix. Like one to store how much value has been
      inserted, etc...
      
      * Update frame/support/procedural/src/storage/parse.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Update frame/support/procedural/src/storage/storage_struct.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * Fix max_size using hasher information
      
      hasher now expose `max_len` which allows to computes their maximum len.
      For hasher without concatenation, it is the size of the hash part,
      for hasher with concatenation, it is the size of the hash part + max
      encoded len of the key.
      
      * fix tests
      
      * fix ui tests
      
      * Move `MaxBoundedLen` into its own crate (#8814)
      
      * move MaxEncodedLen into its own crate
      
      * remove MaxEncodedLen impl from frame-support
      
      * add to assets and balances
      
      * try more fixes
      
      * fix compile
      
      Co-authored-by: default avatarShawn Tabrizi <[email protected]>
      
      * nits
      
      * fix compile
      
      * line width
      
      * fix max-values-macro merge
      
      * Add some derive, needed for test and other purpose
      
      * use weak bounded vec in some cases
      
      * Update lib.rs
      
      * move max-encoded-len crate
      
      * fix
      
      * remove app crypto for now
      
      * width
      
      * Revert "remove app crypto for now"
      
      This reverts commit 73623e9933d50648e0e7fe90b6171a8e45d7f5a2.
      
      * unused variable
      
      * more unused variables
      
      * more fixes
      
      * Add #[max_encoded_len_crate(...)] helper attribute
      
      The purpose of this attribute is to reduce the surface area of
      max_encoded_len changes. Crates deriving `MaxEncodedLen` do not
      need to add it to `Cargo.toml`; they can instead just do
      
      ```rust
      \#[derive(Encode, MaxEncodedLen)]
      \#[max_encoded_len_crate(frame_support::max_encoded_len)]
      struct Example;
      ```
      
      * fix a ui test
      
      * use #[max_encoded_len_crate(...)] helper in app_crypto
      
      * remove max_encoded_len import where not necessary
      
      * update lockfile
      
      * fix ui test
      
      * ui
      
      * newline
      
      * fix merge
      
      * try fix ui again
      
      * Update max-encoded-len/derive/src/lib.rs
      
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      
      * extract generate_crate_access_2018
      
      * Update lib.rs
      
      * compiler isnt smart enough
      
      Co-authored-by: default avatarthiolliere <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      Co-authored-by: default avatarPeter Goodspeed-Niklaus <[email protected]>
      444d4e20
    • Alexander Theißen's avatar
    • Alexander Theißen's avatar
      Fix check runtime CI (#8930) · bf983749
      Alexander Theißen authored
      * Fix check_runtime.sh script
      
      * contracts: Remove confusing "Related Modules" doc
      bf983749
  7. May 27, 2021
  8. May 26, 2021
    • Keith Yeung's avatar
      Convert impl_key_prefix_for to proc macro (#8844) · 053be60b
      Keith Yeung authored
      
      
      * Convert impl_key_prefix_for to proc macro
      
      * Reduce the number of let bindings
      
      * Remove parsing of inputs for impl_key_prefix_for_tuples
      
      * Replace unwrap with expect
      
      * Remove unnecessary array of idents
      
      * Use numeric identifiers
      
      * Simplify ident generation
      
      * Fix whitespacing
      
      * Add documentation for impl_key_prefix_for_tuple proc macro
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      053be60b
    • Shumo Chu's avatar
      Manta Network ss58 address registration (#8706) · c1104252
      Shumo Chu authored
      * manta network ss58 address registration
      
      * minor
      c1104252
    • Jakub Pánik's avatar
      Add Basilisk ss58 (#8882) · 60345c9f
      Jakub Pánik authored
      60345c9f
    • Jon Häggblad's avatar
      Migrate pallet-grandpa to attribute macros (#8724) · acef22bb
      Jon Häggblad authored
      * frame/grandpa: migrate Config
      
      * frame/grandpa: migrate decl_module
      
      * frame/grandpa: migrate decl_event
      
      * frame/grandpa: migrate decl_error
      
      * frame/grandpa: migrate decl_storage
      
      * frame/grandpa: make report_equivocation_unsigned pub(super)
      
      * frame/grandpa: remove unused imports
      
      * frame/grandpa: replace deprecated Module with Pallet
      
      * frame/grandpa: add RawEvent for compatibility
      
      * frame/grandpa: create migration to new storage prefix
      
      * frame/grandpa: bump version to 4.0.0
      
      * frame/grandpa: address review comments
      
      * Try using version 3.1 instead
      
      * frame/grandpa: tweak log text to say cancelled
      acef22bb