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

runtime API: Substitute UncheckedExtrinsic with custom encoding #1076

Merged
merged 20 commits into from
Jul 21, 2023

Commits on Jul 19, 2023

  1. codegen: Add uncheckedExtrinsic substitute

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    2ad017f View commit details
    Browse the repository at this point in the history
  2. subxt: Add uncheckedExtrinsic replacement

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    2468751 View commit details
    Browse the repository at this point in the history
  3. testing: Test uncheckedExtrinsic encoding

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    8a81d75 View commit details
    Browse the repository at this point in the history
  4. testing: Apply clippy

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7dad649 View commit details
    Browse the repository at this point in the history
  5. subxt: Implement encode_to instead of encode for uncheckedExtrinsic

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    13151c7 View commit details
    Browse the repository at this point in the history
  6. subxt: Remove encode_as_fields from uncheckedExtrinsic

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    f5724e4 View commit details
    Browse the repository at this point in the history
  7. utils: Extend the UncheckedExtrinsic interface

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    dec4577 View commit details
    Browse the repository at this point in the history
  8. utils: Use Static<Encoded> for uncheckedExtrinsic

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    06b2d53 View commit details
    Browse the repository at this point in the history
  9. utils: Remove extra impl on the uncheckedExtrinsic

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    c87b85a View commit details
    Browse the repository at this point in the history
  10. utils: Add back the EncodeAsType

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    3287d9a View commit details
    Browse the repository at this point in the history
  11. utils: Simplify the decode_as_type

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    3447a26 View commit details
    Browse the repository at this point in the history
  12. utils: Use encode_as_type

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

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    9345d0a View commit details
    Browse the repository at this point in the history
  2. utils: impl Decode for UncheckedExtrinsic

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    d33104a View commit details
    Browse the repository at this point in the history
  3. Update subxt/src/utils/unchecked_extrinsic.rs

    Co-authored-by: James Wilson <[email protected]>
    lexnv and jsdw authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    9c07895 View commit details
    Browse the repository at this point in the history
  4. utils: Apply cargo fmt

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    55a3e99 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac30a50 View commit details
    Browse the repository at this point in the history
  6. utils: Check encoding / decoding of uncheckedExtrinsic

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    c39f90b View commit details
    Browse the repository at this point in the history
  7. Merge remote-tracking branch 'origin/lexnv/runtime_api_extrinsic_enco…

    …ding' into lexnv/runtime_api_extrinsic_encoding
    lexnv committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    ff88a85 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. utils/tests: Use an already encoded tx bytes to start with

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    43c1ff3 View commit details
    Browse the repository at this point in the history