Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

chainHead_storage: Backport queries for value types #14551

Merged
merged 18 commits into from
Jul 21, 2023

Commits on Jul 11, 2023

  1. chainHead/events: Add storage params and events

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    8627f52 View commit details
    Browse the repository at this point in the history
  2. chainHead/tests: Check storage events serialization / deserialization

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    cf53118 View commit details
    Browse the repository at this point in the history
  3. chainHead/error: Add error for invalid WaitForContinue storage call

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    14cdb00 View commit details
    Browse the repository at this point in the history
  4. chainHead/storage: Use new items params

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2b3bbc8 View commit details
    Browse the repository at this point in the history
  5. chainHead/tests: Adjust storage tests to the new API

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

Commits on Jul 12, 2023

  1. Configuration menu
    Copy the full SHA
    8c78395 View commit details
    Browse the repository at this point in the history
  2. chainHead/events: Generalize StorageQuery by provided key

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    9499f42 View commit details
    Browse the repository at this point in the history
  3. chain_head: Add dedicated ChainHeadStorage client for queries

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

Commits on Jul 13, 2023

  1. chainHead/storage: Implement queries for hashes of values

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    4c57700 View commit details
    Browse the repository at this point in the history
  2. chainHead/tests: Check storage queries for hashes of values

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

Commits on Jul 19, 2023

  1. chainHead: Improve API documentation wrt multiple entries

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    2de59ea View commit details
    Browse the repository at this point in the history
  2. chainHead/event: Rename StorageQueue ty to queue_ty

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    bcee42a View commit details
    Browse the repository at this point in the history
  3. chianHead: Add helper to encode chainHead results as hex str

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    bb364e4 View commit details
    Browse the repository at this point in the history
  4. Update client/rpc-spec-v2/src/chain_head/error.rs

    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    lexnv and skunert authored Jul 19, 2023
    Configuration menu
    Copy the full SHA
    a5563a0 View commit details
    Browse the repository at this point in the history
  5. chainHead: Change the queryResult to a plain Result

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

    … lexnv/rpc_query_value_hash
    lexnv committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    2447fea View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. chainHead: Stop producing events after the first error

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

Commits on Jul 21, 2023

  1. chainHead: Change child_key to child_trie API param

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