Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Allow to specify some max number of values for storages in pallet macro. #8735

Merged
13 commits merged into from
May 17, 2021

Commits on May 6, 2021

  1. Configuration menu
    Copy the full SHA
    0de4775 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Configuration menu
    Copy the full SHA
    e7c14fb View commit details
    Browse the repository at this point in the history
  2. some formatting + doc

    gui1117 committed May 12, 2021
    Configuration menu
    Copy the full SHA
    42c4f48 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2021

  1. Configuration menu
    Copy the full SHA
    0ca09ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ada719b View commit details
    Browse the repository at this point in the history
  3. 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...
    gui1117 committed May 14, 2021
    Configuration menu
    Copy the full SHA
    341d3f5 View commit details
    Browse the repository at this point in the history
  4. Update frame/support/procedural/src/storage/parse.rs

    Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
    gui1117 and coriolinus committed May 14, 2021
    Configuration menu
    Copy the full SHA
    5521953 View commit details
    Browse the repository at this point in the history
  5. Update frame/support/procedural/src/storage/storage_struct.rs

    Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
    gui1117 and coriolinus committed May 14, 2021
    Configuration menu
    Copy the full SHA
    02b0cbb View commit details
    Browse the repository at this point in the history
  6. 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.
    gui1117 committed May 14, 2021
    Configuration menu
    Copy the full SHA
    999640b View commit details
    Browse the repository at this point in the history
  7. fix tests

    gui1117 committed May 14, 2021
    Configuration menu
    Copy the full SHA
    a7909d7 View commit details
    Browse the repository at this point in the history
  8. fix ui tests

    gui1117 committed May 14, 2021
    Configuration menu
    Copy the full SHA
    e5964c0 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. Configuration menu
    Copy the full SHA
    15918ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4fc7829 View commit details
    Browse the repository at this point in the history