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

rpc-v2/tx: Implement transaction_unstable_broadcast and transaction_unstable_stop #3079

Merged
merged 40 commits into from
Feb 12, 2024

Commits on Jan 24, 2024

  1. rpc-v2/tx: Add broadcast method

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    1e52e10 View commit details
    Browse the repository at this point in the history
  2. rpc-v2/tx: Submit the transaction to pool until finalized or usurped

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    e795285 View commit details
    Browse the repository at this point in the history
  3. rpc-v2/tx: Generate random operation ID

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    c1e9396 View commit details
    Browse the repository at this point in the history
  4. rpc-v2/tx: Add api for transaction_unstable_stop

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    1a8ba25 View commit details
    Browse the repository at this point in the history
  5. rpc-v2/tx: Make the brodcasting future abortable

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 24, 2024
    Configuration menu
    Copy the full SHA
    3df160b View commit details
    Browse the repository at this point in the history
  6. rpc-v2/tx: Stop the brodcasting by aborting the future

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

Commits on Jan 25, 2024

  1. rpc-v2/tx: Use best block stream for broadcasting the tx

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    7f788aa View commit details
    Browse the repository at this point in the history
  2. rpc-v2/tx: Implement Stream::last for best block imports

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    eef2751 View commit details
    Browse the repository at this point in the history
  3. rpc-v2/tx: Simplify tx trait bounds

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    96a80b0 View commit details
    Browse the repository at this point in the history
  4. rpc-v2/chainHead: Make test util crate public

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    4e72ce7 View commit details
    Browse the repository at this point in the history
  5. tx/tests: Check brodcasted transaction enters pool

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    70c7d08 View commit details
    Browse the repository at this point in the history
  6. rpc-v2/tx: Split transactionWatch and transactionBroadcast

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    0cd5a80 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    69ea4d2 View commit details
    Browse the repository at this point in the history
  8. tx/tests: Rename tx rpc server to reflect refactoring changes

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    bacbf8f View commit details
    Browse the repository at this point in the history
  9. tx/tests: Improve future testability by extracting a setup helper

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    da4f247 View commit details
    Browse the repository at this point in the history
  10. rpc-v2/tx: Add error for broadcast_stop

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    442a20f View commit details
    Browse the repository at this point in the history
  11. tx/tests: Check broadcast stop

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

Commits on Jan 26, 2024

  1. Configuration menu
    Copy the full SHA
    9f70d44 View commit details
    Browse the repository at this point in the history
  2. rpc-v2/tx: Comment typo

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    909e72f View commit details
    Browse the repository at this point in the history
  3. prdoc: Add pr doc

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    ea93a25 View commit details
    Browse the repository at this point in the history
  4. tx/tests: Add license

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    9fdc472 View commit details
    Browse the repository at this point in the history
  5. rpc-v2/tx: Fix docs

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

Commits on Jan 29, 2024

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

Commits on Jan 30, 2024

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

Commits on Jan 31, 2024

  1. rpc-v2/tx: Replace mut rand with rand::thread_rng

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    21932cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7781a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. rpc-v2/tx: Wrapper for the last available element of a stream

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    015c87b View commit details
    Browse the repository at this point in the history
  2. tx/tests: Check last_stream_element returns the last element

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    301f3bf View commit details
    Browse the repository at this point in the history
  3. rpc-v2/tx: Continue broadcast on recoverable errors

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    f174bf6 View commit details
    Browse the repository at this point in the history
  4. rpc-v2/tx: Make broadcast and stop methods non-blocking

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    d28e197 View commit details
    Browse the repository at this point in the history
  5. tx/tests: Ensure invalid tx does not enter the pool

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    03b97b4 View commit details
    Browse the repository at this point in the history
  6. tx/tests: Move invalid tx stop to a dedicated test

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

Commits on Feb 5, 2024

  1. rpc-v2/tx: Adjust comment wrt TransactionStatus::FinalityTimeout

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

Commits on Feb 8, 2024

  1. rpc-v2/tx: Remove generic hash from the transaction broadcast API

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    a0deac0 View commit details
    Browse the repository at this point in the history
  2. rpc-v2/tx: Clean internal state on dropping the future broadcast

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    22c1a6b View commit details
    Browse the repository at this point in the history
  3. rpc-v2/tx: Remove unpin requirements

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    9fb01af View commit details
    Browse the repository at this point in the history
  4. tx/tests: Implement future executor for knowing when the tx finishes

    Signed-off-by: Alexandru Vasile <[email protected]>
    lexnv committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    68ab17d View commit details
    Browse the repository at this point in the history
  5. Update substrate/client/rpc-spec-v2/src/transaction/transaction_broad…

    …cast.rs
    
    Co-authored-by: Sebastian Kunert <[email protected]>
    lexnv and skunert authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ea83c6a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. Configuration menu
    Copy the full SHA
    f11b6c4 View commit details
    Browse the repository at this point in the history
  2. rpc-v2/tx: Use tx error wrappers

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