Skip to content

Commit

Permalink
Test app call txn decoding (#248)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpaulos authored Nov 9, 2022
1 parent 176928d commit 74915b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/unit/transactions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ Feature: Transaction encoding

@unit.transactions
Scenario Outline: Application Transaction Tests (<operation>)
# TODO: this scenario should be modified to use the "Given suggested transaction parameters..." step instead of combing suggested params and app call params in one step
When I build an application transaction with operation "<operation>", application-id <application-id>, sender "<sender>", approval-program "<approval-prog-file>", clear-program "<clear-prog-file>", global-bytes <global-bytes>, global-ints <global-ints>, local-bytes <local-bytes>, local-ints <local-ints>, app-args "<app-args>", foreign-apps "<foreign-apps>", foreign-assets "<foreign-assets>", app-accounts "<app-accounts>", fee <fee>, first-valid <first-valid>, last-valid <last-valid>, genesis-hash "<genesis-hash>", extra-pages <extra-pages>, boxes "<boxes>"
And sign the transaction
Then the base64 encoded signed transaction should equal "<golden>"
And the decoded transaction should equal the original

Examples:
| operation | application-id | sender | approval-prog-file | clear-prog-file | global-bytes | global-ints | local-bytes | local-ints | app-args | foreign-apps | foreign-assets | app-accounts | boxes | fee | first-valid | last-valid | genesis-hash | golden | extra-pages |
Expand Down

0 comments on commit 74915b3

Please sign in to comment.