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

Utilize Metadata V15 #1041

Merged
merged 67 commits into from
Jul 17, 2023
Merged

Utilize Metadata V15 #1041

merged 67 commits into from
Jul 17, 2023

Commits on Jun 29, 2023

  1. Update frame-metadata to the latest branch

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    b48d2ee View commit details
    Browse the repository at this point in the history
  2. metadata: Add outer enum types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    dde7411 View commit details
    Browse the repository at this point in the history
  3. metadata: Extend the extrinsic with address,call,sign,extra types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    326af9b View commit details
    Browse the repository at this point in the history
  4. Codegen test Event, Error and Call for outer enums

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

Commits on Jun 30, 2023

  1. Revert "Codegen test Event, Error and Call for outer enums"

    This reverts commit db542dc.
    lexnv committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    53e3d93 View commit details
    Browse the repository at this point in the history
  2. Update frame-metadata from the latest release

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

Commits on Jul 3, 2023

  1. Update scale-info

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    d401f21 View commit details
    Browse the repository at this point in the history
  2. codegen/error: Support v15 message

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    e0be009 View commit details
    Browse the repository at this point in the history
  3. metadata: Convert v14 to v15

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    8a9e0cf View commit details
    Browse the repository at this point in the history
  4. metadata/retain: Adjust to extrinsic type for V15

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    f1332b7 View commit details
    Browse the repository at this point in the history
  5. metadata/validation: Adjust hashing for extrinsic types V15

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    d035bb5 View commit details
    Browse the repository at this point in the history
  6. scripts: Fetch V15 and output codegen for full_client only

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    06aa5dc View commit details
    Browse the repository at this point in the history
  7. subxt/blocks: Use extrinsic types directly

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    d094a48 View commit details
    Browse the repository at this point in the history
  8. testing: Fetch V15 for build script

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 3, 2023
    Configuration menu
    Copy the full SHA
    60d38a7 View commit details
    Browse the repository at this point in the history
  9. artifacts: Generate from latest polkadot version

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

Commits on Jul 4, 2023

  1. codegen: Fetch legacy with old API for v14 only

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    5e8318c View commit details
    Browse the repository at this point in the history
  2. rpc: Fetch metadata versions

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    fa0c044 View commit details
    Browse the repository at this point in the history
  3. client: Fetch latest unstable then V15 then V14

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    5093d22 View commit details
    Browse the repository at this point in the history
  4. testing: Adjust testing API to latest interface

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    16562e1 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'origin/master' into lexnv/stable_v15

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    c503732 View commit details
    Browse the repository at this point in the history
  6. Adjust clippy

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    d719e8b View commit details
    Browse the repository at this point in the history
  7. metadata: Generate the RuntimeError type for V14

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    51beb8b View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Remove testing files

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    8bd8fdb View commit details
    Browse the repository at this point in the history
  2. testing/staking: Remove controller account from bond

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    0767c3c View commit details
    Browse the repository at this point in the history
  3. metadata/validation: Use specific variants for hashing RuntimeCall

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    1f2c9ba View commit details
    Browse the repository at this point in the history
  4. XXX: Custom Substrate binary: must revert with next release

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    e970529 View commit details
    Browse the repository at this point in the history
  5. XXX: To revert: CI use hardcoded substrate

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

Commits on Jul 6, 2023

  1. codegen: Use v15 outer enum types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    a11308a View commit details
    Browse the repository at this point in the history
  2. metadata: Retain outer enum types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b5e6a76 View commit details
    Browse the repository at this point in the history
  3. codegen: Use outer enum types instead of generating them

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    f31289e View commit details
    Browse the repository at this point in the history
  4. Update artifacts

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    65d2e69 View commit details
    Browse the repository at this point in the history
  5. Revert "XXX: Custom Substrate binary: must revert with next release"

    This reverts commit e970529.
    
    Revert "XXX: To revert: CI use hardcoded substrate"
    
    This reverts commit b18a5a0.
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    5d33dec View commit details
    Browse the repository at this point in the history
  6. testing: Include env for dummy wat contracts

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    e0b3f8a View commit details
    Browse the repository at this point in the history
  7. Adjsut clippy

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    c89203b View commit details
    Browse the repository at this point in the history
  8. ci: Use new link for fetching latest substrate binary

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    bee6d87 View commit details
    Browse the repository at this point in the history
  9. tests: Include dummy RuntimeEvent into test metadata

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    11bf5ae View commit details
    Browse the repository at this point in the history
  10. ci: Bump light-client timeout tests to 25min

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    dfb879c View commit details
    Browse the repository at this point in the history
  11. metadata/validation: Use specific pallets as provided

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    08f230a View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. testing: Rename metadata constant

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    2ca7bca View commit details
    Browse the repository at this point in the history
  2. metadata: Use call_ty instead of signature_ty

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    fb8242a View commit details
    Browse the repository at this point in the history
  3. metadata: Rename retaining variant function

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    414270a View commit details
    Browse the repository at this point in the history
  4. metadata: Use Option<&[&str]>

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    73832bb View commit details
    Browse the repository at this point in the history
  5. online_client: Fetch V15 metadata explicitely

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d86128d View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/master' into lexnv/stable_v15

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    58af952 View commit details
    Browse the repository at this point in the history
  7. metadata/validation: Include the hash of the outer enum types

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    ed786b6 View commit details
    Browse the repository at this point in the history
  8. metadata: Fix sign typo

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    d8da7fa View commit details
    Browse the repository at this point in the history
  9. artifacts: Update the artifacts

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    437a589 View commit details
    Browse the repository at this point in the history
  10. subxt: Remove RootError RootEvent and RootExtrinsic traits

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    a6c57fc View commit details
    Browse the repository at this point in the history
  11. Update polkadot.rs

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    ec7f215 View commit details
    Browse the repository at this point in the history
  12. metadata/tests: Ensure outer enum variants are retained

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    9ba48b3 View commit details
    Browse the repository at this point in the history
  13. scripts: Include multiple pallets for our decoding purposes

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    8995ad6 View commit details
    Browse the repository at this point in the history
  14. subxt: Apply clippy

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    bc9f66a View commit details
    Browse the repository at this point in the history
  15. artifacts: Update small metadata

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    55b7730 View commit details
    Browse the repository at this point in the history
  16. error: Keep raw bytes for the ModuleError representation

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    66a0db0 View commit details
    Browse the repository at this point in the history
  17. error: Modify docs to not include links

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

Commits on Jul 13, 2023

  1. subxt/tests: Propagate RuntimeCall to outer enums

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    44924fb View commit details
    Browse the repository at this point in the history
  2. subxt: Provide proper byte slice for decoding

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    e7f7e51 View commit details
    Browse the repository at this point in the history
  3. Update artifacts

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    26179a3 View commit details
    Browse the repository at this point in the history
  4. cli/tests: Adjust expected pallets message

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    09b685c View commit details
    Browse the repository at this point in the history
  5. metadata: Test conversion from v14 to v15

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    525a8c4 View commit details
    Browse the repository at this point in the history
  6. metadata: Fix typo

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    e942f9e View commit details
    Browse the repository at this point in the history
  7. Update subxt/src/blocks/extrinsic_types.rs

    Co-authored-by: James Wilson <james@jsdw.me>
    lexnv and jsdw authored Jul 13, 2023
    Configuration menu
    Copy the full SHA
    31200a0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5eee195 View commit details
    Browse the repository at this point in the history
  9. metadata: Simplify type path for RuntimeError

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    089bf56 View commit details
    Browse the repository at this point in the history
  10. metadata/validation: Use visited ids per outer enum

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    1b77eb1 View commit details
    Browse the repository at this point in the history
  11. error: Remove RawModuleError

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    496e878 View commit details
    Browse the repository at this point in the history
  12. Fix new clippy error from updated rust version

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