Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identity pallet improvements #2048

Merged
merged 34 commits into from
Nov 3, 2023
Merged

Commits on Oct 26, 2023

  1. Rename simple module to legacy

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    ac9f37e View commit details
    Browse the repository at this point in the history
  2. Fix benchmarks incorrectly using additional

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e3ce237 View commit details
    Browse the repository at this point in the history
  3. Implement byte deposit

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    0e72dc1 View commit details
    Browse the repository at this point in the history
  4. Add poke_deposit extrinsic

    Change adapted from
    #1814
    
    Co-authored-by: joepetrowski <joe@parity.io>
    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu and joepetrowski committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3112da8 View commit details
    Browse the repository at this point in the history
  5. Move max identity size to constant out of pallet

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f41d3f0 View commit details
    Browse the repository at this point in the history
  6. Remove obsolete config and fix alliance tests

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c6e7bf0 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Address review comments

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    e84fdca View commit details
    Browse the repository at this point in the history
  2. Add more checked arithmetic

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2ff0b51 View commit details
    Browse the repository at this point in the history
  3. Remove explicit IdentityFields parameter

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    09cdec0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf3eca5 View commit details
    Browse the repository at this point in the history
  5. Fix formatting

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    47ae9b6 View commit details
    Browse the repository at this point in the history
  6. Fix clippy

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    41b3d81 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Remove poke_deposit extrinsic

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    d0d23a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    28564c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    609bbf3 View commit details
    Browse the repository at this point in the history
  4. Fix doc comment

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    07b24e3 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Base substrate node basic deposit on byte size

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    f84b0bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98f8ce4 View commit details
    Browse the repository at this point in the history
  3. Use correct max additional fields in legacy

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    70abd0d View commit details
    Browse the repository at this point in the history
  4. Add integrity test for identity max size

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    d92dfff View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8f094f View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Refine identity field impl

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    4d742cb View commit details
    Browse the repository at this point in the history
  2. Adapt alliance pallet to new identity impl

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    810cbd7 View commit details
    Browse the repository at this point in the history
  3. Rename IdentityField to FieldsBitFlags

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    cf03bae View commit details
    Browse the repository at this point in the history
  4. Move MAX_IDENTITY_SIZE to pallet config

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    b6f914b View commit details
    Browse the repository at this point in the history
  5. Fix substrate-node alliance impl

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    7a18853 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    34719cc View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Collapse alliance required id functions

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    de46783 View commit details
    Browse the repository at this point in the history
  2. Minor refactoring

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    8d713cc View commit details
    Browse the repository at this point in the history
  3. Remove MaxIdentitySize from config

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    63e952e View commit details
    Browse the repository at this point in the history
  4. Improve docs for IdentityInformationProvider

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    b01a556 View commit details
    Browse the repository at this point in the history
  5. Rename FieldsBitFlags to FieldsIdentifier

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    9d5405a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19151c5 View commit details
    Browse the repository at this point in the history
  7. Remove unused import in substrate node impls

    Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
    georgepisaltu committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    0d17140 View commit details
    Browse the repository at this point in the history