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

Metadata V16 (unstable): Enrich metadata with associated types of config traits #5274

Open
wants to merge 24 commits into
base: master
Choose a base branch
from

Commits on Aug 7, 2024

  1. metadata-ir: Introduce PalletAssociatedTypeMetadata

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    7e8baee View commit details
    Browse the repository at this point in the history
  2. frame/config: Add associated types to parsed config

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    1c12f15 View commit details
    Browse the repository at this point in the history
  3. frame/expand: Implement associated types expansion

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    20b22d8 View commit details
    Browse the repository at this point in the history
  4. frame/expand: Use provided cfgs for the associated types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    350efce View commit details
    Browse the repository at this point in the history
  5. frame/construct_runtime: Extract associated types from pallet config

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    3e97971 View commit details
    Browse the repository at this point in the history
  6. frame/pallet: Introduce config(without_metadata)

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    5d8021e View commit details
    Browse the repository at this point in the history
  7. frame/pallet: Introduce #[pallet::include_metadata] for associated

    types
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    5679244 View commit details
    Browse the repository at this point in the history
  8. frame/pallet: Include associated type iff bounds contain TypeInfo

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    958611e View commit details
    Browse the repository at this point in the history
  9. frame/pallet: Proper flag for metdata collection

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    7f26b67 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. frame/tests/ui: Fix type in test

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    cc001f3 View commit details
    Browse the repository at this point in the history
  2. frame/tests/ui: Check config without metadata

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    b2803e2 View commit details
    Browse the repository at this point in the history
  3. frame/tests/ui: Check config with multiple attributes

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    94007d8 View commit details
    Browse the repository at this point in the history
  4. frame/tests/ui: Add negative test for duplicate attributes in config

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    75d2697 View commit details
    Browse the repository at this point in the history
  5. frame/tests/ui: Add negative test for collecting metadata from constants

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    ebcb4a0 View commit details
    Browse the repository at this point in the history
  6. frame/tests/ui: Add negative test for metadata collection on events

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5115021 View commit details
    Browse the repository at this point in the history
  7. frame/tests: Check PalletAssociatedTypeMetadataIR collection

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    aba029a View commit details
    Browse the repository at this point in the history
  8. frame/support: Add documentation

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    6502c83 View commit details
    Browse the repository at this point in the history
  9. Add PRdoc

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    e9571cb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    31bf284 View commit details
    Browse the repository at this point in the history
  11. Update prdoc

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    7429eb7 View commit details
    Browse the repository at this point in the history
  12. prdoc: Remove unneeded crate

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    8a0c138 View commit details
    Browse the repository at this point in the history
  13. prdoc: Include frame-support

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    c6c1800 View commit details
    Browse the repository at this point in the history
  14. Prupdate

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    90c100c View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    2982c59 View commit details
    Browse the repository at this point in the history