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

wip/PoC: Enrich metadata custom types with essential types for chain communications #4358

Closed
wants to merge 24 commits into from

Commits on May 1, 2024

  1. metadata/ir: Extend IR with custom types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 1, 2024
    Configuration menu
    Copy the full SHA
    f0ea720 View commit details
    Browse the repository at this point in the history
  2. metadata/ir: Convert custom IR types to concrete metadata

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 1, 2024
    Configuration menu
    Copy the full SHA
    fecdd47 View commit details
    Browse the repository at this point in the history
  3. frame/metadata: Populate custom types with runtime call of system config

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 1, 2024
    Configuration menu
    Copy the full SHA
    1279594 View commit details
    Browse the repository at this point in the history
  4. frame/metadata: Expose AccountId to metadata

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 1, 2024
    Configuration menu
    Copy the full SHA
    ab4f6cc View commit details
    Browse the repository at this point in the history
  5. frame/metadata: Optionally expose the AssetId of the asset pallet

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

Commits on May 2, 2024

  1. frame/metadata: Use runtime instance for extracting AssetId type

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    d0986cf View commit details
    Browse the repository at this point in the history
  2. frame/metadata: Extract address ty

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    c8061aa View commit details
    Browse the repository at this point in the history
  3. frame/metadata: Extract signature ty

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    e63dae6 View commit details
    Browse the repository at this point in the history
  4. frame/metadata: Extend with Hash and Hashing types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    c666a6f View commit details
    Browse the repository at this point in the history
  5. frame/metadata: Extract block header to custom types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 2, 2024
    Configuration menu
    Copy the full SHA
    fbd75b0 View commit details
    Browse the repository at this point in the history
  6. frame/metadata: Remove call enum ty from custom types

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

Commits on May 16, 2024

  1. frame/proc: Refactor itemTrait extraction

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 16, 2024
    Configuration menu
    Copy the full SHA
    17ade23 View commit details
    Browse the repository at this point in the history
  2. frame/proc: Refactor check_event_type

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 16, 2024
    Configuration menu
    Copy the full SHA
    616e38d View commit details
    Browse the repository at this point in the history
  3. frame/proc: Refactor TraitItemType parsing

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

Commits on May 17, 2024

  1. frame/constants: Improve documentation

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 17, 2024
    Configuration menu
    Copy the full SHA
    785436c View commit details
    Browse the repository at this point in the history
  2. frame/helpers: Refactor take_first_item_pallet_attr

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

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 17, 2024
    Configuration menu
    Copy the full SHA
    c50d364 View commit details
    Browse the repository at this point in the history
  4. metadata-ir: Add type for PalletAssociatedTypesMetadataIR

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 17, 2024
    Configuration menu
    Copy the full SHA
    f40acd4 View commit details
    Browse the repository at this point in the history
  5. frame/config: Implement associated types metadata

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

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 17, 2024
    Configuration menu
    Copy the full SHA
    ab0b1b1 View commit details
    Browse the repository at this point in the history
  7. Add typeInfo to types and custom cargo patch

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 17, 2024
    Configuration menu
    Copy the full SHA
    b1d37e2 View commit details
    Browse the repository at this point in the history
  8. frame/proc: Extract cfg attributes

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed May 17, 2024
    Configuration menu
    Copy the full SHA
    97396d0 View commit details
    Browse the repository at this point in the history
  9. frame/config: Add type attributes to metadata expansion

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

Commits on May 20, 2024

  1. Add type info on other config types

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