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

v16: Expose the unstable metadata v16 #5732

Merged
merged 87 commits into from
Nov 27, 2024

Commits on Aug 7, 2024

  1. metadata-ir: Introduce PalletAssociatedTypeMetadata

    Signed-off-by: Alexandru Vasile <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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. 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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 <[email protected]>
    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 13, 2024

  1. metadata-ir: Add v16 wrappers in preparation for frame-md release

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    fc87031 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    f627476 View commit details
    Browse the repository at this point in the history
  3. metadata-ir: Add conversion methods

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    b533f60 View commit details
    Browse the repository at this point in the history
  4. metadata-ir: Enable v16 version as unstable

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e298259 View commit details
    Browse the repository at this point in the history
  5. metadata-ir: Fix into stable conversion

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    d0ff8f4 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. frame-md: Use git dependency instead

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    4060637 View commit details
    Browse the repository at this point in the history
  2. metadata-ir: Adjust for new transaction format

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    adf7508 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    2982c59 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'lexnv/metadata-v16-associated-types' into lexnv/metadat…

    …a-v16-associated-types-enable-unstable
    lexnv authored Sep 16, 2024
    Configuration menu
    Copy the full SHA
    4ee1d7f View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. cargo: Use frame-metadata 17

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    97eb703 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types-enable-unstable
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    a95183e View commit details
    Browse the repository at this point in the history
  3. metadata-ir: Adjust metadata

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    6ff6f37 View commit details
    Browse the repository at this point in the history
  4. metadata-ir: Prepare metadataIR for multiple version collection

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    fba3502 View commit details
    Browse the repository at this point in the history
  5. Add prdoc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    ca2b0f0 View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types-enable-unstable
    lexnv committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    daf8dc3 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. Update substrate/frame/metadata-hash-extension/Cargo.toml

    Co-authored-by: Niklas Adolfsson <[email protected]>
    lexnv and niklasad1 authored Oct 30, 2024
    Configuration menu
    Copy the full SHA
    379ec83 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Update cargo lock with pending branches

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    475288c View commit details
    Browse the repository at this point in the history
  2. Update prdoc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    195e514 View commit details
    Browse the repository at this point in the history
  3. metadata-ir/v14: Populate with lowest supported version

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    332a900 View commit details
    Browse the repository at this point in the history
  4. metadata-ir/unstable: Adjust for new frame-md version

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    f9b635d View commit details
    Browse the repository at this point in the history
  5. extrinsic: Modify ExtrinsicMetadata to return a Vec of versions

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    ce42813 View commit details
    Browse the repository at this point in the history
  6. metadata-ir: Use IR versions instead of hardcoding

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    bdf9e7e View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Update substrate/primitives/metadata-ir/src/v15.rs

    Co-authored-by: Bastian Köcher <[email protected]>
    lexnv and bkchr authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    7ed95ff View commit details
    Browse the repository at this point in the history
  2. Update substrate/primitives/runtime/src/traits/mod.rs

    Co-authored-by: James Wilson <[email protected]>
    lexnv and jsdw authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    b81abd8 View commit details
    Browse the repository at this point in the history
  3. metadata-ir: Assume version 0 for transaction_extensions

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    1384674 View commit details
    Browse the repository at this point in the history
  4. Update cargo to latest

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    aef4a5c View commit details
    Browse the repository at this point in the history
  5. Update Cargo.toml

    Co-authored-by: Bastian Köcher <[email protected]>
    lexnv and bkchr authored Nov 11, 2024
    Configuration menu
    Copy the full SHA
    628616e View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/lexnv/metadata-v16-associated-ty…

    …pes-enable-unstable' into lexnv/metadata-v16-associated-types-enable-unstable
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    0c8efe9 View commit details
    Browse the repository at this point in the history
  7. Update cargo lock with unreleased branch

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    2390a7b View commit details
    Browse the repository at this point in the history
  8. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types-enable-unstable
    lexnv committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    b5a45a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. metadata-ir: Do not specify vec

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    eeb7e4a View commit details
    Browse the repository at this point in the history
  2. Update PRdoc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    06c0eb3 View commit details
    Browse the repository at this point in the history
  3. cargo: Update merkleized-metadata to unreleased branch

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    e0b9c32 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/master' into lexnv/metadata-v16-…

    …associated-types-enable-unstable
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    5e7aada View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. cargo: Update dependencies

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    d05af73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3e611b1 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2024

  1. benchmark-cli/overhead: Select latest stable version for metadata

    Subxt cannot support unstable metadata until this is released
    in polkadot-sdk. Until then, select the latest stable
    metadata for testing by omni-node / benchmark-cli
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    0979d1a View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/lexnv/metadata-v16-associated-ty…

    …pes-enable-unstable' into lexnv/metadata-v16-associated-types-enable-unstable
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    e378438 View commit details
    Browse the repository at this point in the history
  3. Add space to cargo.toml features

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    f7dfa0d View commit details
    Browse the repository at this point in the history
  4. utils/cli: Use latest stable metadata for tests

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    bb682dd View commit details
    Browse the repository at this point in the history
  5. frame/support: Check unstable metadata is propagated

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    15b361c View commit details
    Browse the repository at this point in the history
  6. Update PRdoc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    8747a92 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e397ca8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    75d2f94 View commit details
    Browse the repository at this point in the history
  9. Update PRdoc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    cae9c1e View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2024

  1. Configuration menu
    Copy the full SHA
    0de89ed View commit details
    Browse the repository at this point in the history
  2. ci: Check-semver update CI to stable

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    9b251c4 View commit details
    Browse the repository at this point in the history
  3. ci: Update to nightly as toolchain for semvercheck

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    1f4ae8c View commit details
    Browse the repository at this point in the history
  4. ci: Use an older nightly version

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    4a23b69 View commit details
    Browse the repository at this point in the history
  5. ci: Switch to v0.9 instead

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    f6b9aa3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5a9c623 View commit details
    Browse the repository at this point in the history
  7. Revert CI changes for a followup

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    d64fd33 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. Include semver-fix

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    61bf04f View commit details
    Browse the repository at this point in the history
  2. Adjust PRdoc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    9293fca View commit details
    Browse the repository at this point in the history
  3. Bump none for frame tests support crate

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    10d6bcb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8da158a View commit details
    Browse the repository at this point in the history
  5. prdoc: Make frame-support-test a patch again

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    6cf31bc View commit details
    Browse the repository at this point in the history
  6. prdoc: Remove frame-support-test

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    c52b80c View commit details
    Browse the repository at this point in the history
  7. prdoc: Add frame-support-test as Minor bump

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    3f61d31 View commit details
    Browse the repository at this point in the history
  8. prdoc: Bump as major

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    bc98d08 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

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

Commits on Nov 26, 2024

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

    …associated-types-enable-unstable
    
    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    e5bfbcd View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Configuration menu
    Copy the full SHA
    dc57834 View commit details
    Browse the repository at this point in the history
  2. prdoc: Replace description |- with |

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    e68ecbd View commit details
    Browse the repository at this point in the history