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

[GRIN-Wallet][Owner API] testing the cancel transaction method #30

Open
marekyggdrasil opened this issue Dec 15, 2020 · 0 comments
Open
Assignees
Labels
Grin-Wallet Test cases for GRIN-Wallet ready-for-test Ready to be assigned and be worked on Test-Case New test case

Comments

@marekyggdrasil
Copy link
Collaborator

marekyggdrasil commented Dec 15, 2020

Description
Testing the cancel transaction method from the Owner API

Prerequisites

  1. GRIN-Node
  2. GRIN-Wallet

Test procedure

  1. Run GRIN-Wallet in Owner API listener mode
  2. Use node.js or python to run a encrypted request to cancel transaction method

Note that transactions can be cancelled by transaction log id or slate id (call with either set to Some, not both)

Expected result:

Transaction should be canceled. Check the following:

  1. Setting the transaction status to either TxSentCancelled or TxReceivedCancelled
  2. Deleting all change outputs or recipient outputs associated with the transaction
  3. Setting the status of all associated inputs from Locked to Spent so they can be used in new transactions.

Provide requests and response full payloads as well as wallet and node logs.

Include the output of command

grin-wallet -V

and your environment

uname -a
@marekyggdrasil marekyggdrasil added Test-Case New test case Grin-Wallet Test cases for GRIN-Wallet ready-for-test Ready to be assigned and be worked on labels Dec 15, 2020
@marekyggdrasil marekyggdrasil changed the title [GRIN-Wallet][Owner API] testing list of cancel transaction method [GRIN-Wallet][Owner API] testing the cancel transaction method Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Grin-Wallet Test cases for GRIN-Wallet ready-for-test Ready to be assigned and be worked on Test-Case New test case
Projects
None yet
Development

No branches or pull requests

2 participants