Skip to content

Commit

Permalink
[rooch-networkgh-2381] fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Feliciss committed Sep 8, 2024
1 parent 1fae178 commit 49c9ce6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/testsuite/features/cmd.feature
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ Feature: Rooch CLI integration tests

Then cmd: "account create"
Then cmd: "account list --json"
# account sign and verify
Then cmd: "account sign -a {{$.account[-1].account0.address}} -m 'empty' --json"
Then cmd: "account verify -s {{$.account[-1].signature_hash}} -m {{$.account[-1].message_hash}}"
Then cmd: "account list --json"
Then cmd: "account export"
Then cmd: "account export -a {{$.account[-1].account0.address}} --json"
# use bitcoin_address
Expand Down Expand Up @@ -86,10 +90,6 @@ Feature: Rooch CLI integration tests
# alias tx for transaction
Then cmd: "tx get-transactions-by-order --cursor 1 --limit 2 --descending-order true"

# account sign and verify
Then cmd: "account sign -a {{$.account[-1].account0.address}} -m 'empty' --json"
Then cmd: "account verify -s {{$.account[-1].signature_hash}} -m {{$.account[-1].message_hash}}"

# account balance
Then cmd: "account balance"
Then cmd: "account balance --coin-type rooch_framework::gas_coin::RGas"
Expand Down

0 comments on commit 49c9ce6

Please sign in to comment.