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

Implement BlocksClient for working with blocks #671

Merged
merged 23 commits into from
Oct 10, 2022
Merged

Commits on Sep 29, 2022

  1. rpc: Fill in any missing finalized blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    738cd82 View commit details
    Browse the repository at this point in the history
  2. tests: Move fill blocks test to RPC location

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    453ca83 View commit details
    Browse the repository at this point in the history
  3. events: Remove the fill in strategy

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    8e919f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4985682 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. blocks: Introduce blocks client

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    65a2960 View commit details
    Browse the repository at this point in the history
  2. client: Enable the block API

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    bc8ec5c View commit details
    Browse the repository at this point in the history
  3. blocks: Simplify subscribe_finalized_headers method

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    e1892c7 View commit details
    Browse the repository at this point in the history
  4. tests: Add tests for subscribe_finalized_headers

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    be1a20c View commit details
    Browse the repository at this point in the history
  5. blocks: Implement subscribe_headers

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    2250701 View commit details
    Browse the repository at this point in the history
  6. tests: Add tests for subscribe_headers

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    a86237a View commit details
    Browse the repository at this point in the history
  7. tests: Move missing_block_headers_will_be_filled_in to blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    15b0478 View commit details
    Browse the repository at this point in the history
  8. events: Use the new subscribe to blocks

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

Commits on Oct 4, 2022

  1. Merge remote-tracking branch 'origin/master' into lexnv/fill_blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    cea372e View commit details
    Browse the repository at this point in the history
  2. blocks: Change API to return future similar to events

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    64dfd79 View commit details
    Browse the repository at this point in the history
  3. events: Use blocks API for subscribing to blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    2b5066b View commit details
    Browse the repository at this point in the history
  4. Update subxt/src/blocks/blocks_client.rs

    Co-authored-by: James Wilson <james@jsdw.me>
    lexnv and jsdw authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    c069473 View commit details
    Browse the repository at this point in the history
  5. blocks: Simplify docs for subscribe_finalized_headers

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    1a70b4a View commit details
    Browse the repository at this point in the history
  6. blocks: Use PhantomDataSendSync to avoid other bounds on T: Config

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    dc9a435 View commit details
    Browse the repository at this point in the history
  7. blocks: Add docs for best blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    bedc6a4 View commit details
    Browse the repository at this point in the history
  8. blocks: Avoid one clone for the client.rpc()

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    75bc024 View commit details
    Browse the repository at this point in the history
  9. Update testing/integration-tests/src/blocks/mod.rs

    Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
    lexnv and niklasad1 authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    bf5863f View commit details
    Browse the repository at this point in the history
  10. blocks: Improve subscribe_headers doc

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    ae7f5ff View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    afcf759 View commit details
    Browse the repository at this point in the history