diff --git a/features/integration/applications.feature b/features/integration/applications.feature index 66c559b2..a0d75af6 100644 --- a/features/integration/applications.feature +++ b/features/integration/applications.feature @@ -94,7 +94,7 @@ Feature: Applications # Create application # depends on the transient account, and also the application id. # Use suggested params - And I build an application transaction with the transient account, the current application, suggested params, operation "create", approval-program "programs/box_app.teal", clear-program "programs/box_app.teal", global-bytes 0, global-ints 0, local-bytes 0, local-ints 0, app-args "", foreign-apps "", foreign-assets "", app-accounts "", extra-pages 0, boxes "" + And I build an application transaction with the transient account, the current application, suggested params, operation "create", approval-program "programs/box_app.teal", clear-program "programs/eight.teal", global-bytes 0, global-ints 0, local-bytes 0, local-ints 0, app-args "", foreign-apps "", foreign-assets "", app-accounts "", extra-pages 0, boxes "" # If error is an empty string, there should be no error. And I sign and submit the transaction, saving the txid. If there is an error it is "". And I wait for the transaction to be confirmed. @@ -142,7 +142,7 @@ Feature: Applications @applications.boxes Scenario: Exercise indexer after a slew of box operations Given I create a new transient account and fund it with 10000000000 microalgos. - And I build an application transaction with the transient account, the current application, suggested params, operation "create", approval-program "programs/box_app.teal", clear-program "programs/box_app.teal", global-bytes 0, global-ints 0, local-bytes 0, local-ints 0, app-args "", foreign-apps "", foreign-assets "", app-accounts "", extra-pages 0, boxes "" + And I build an application transaction with the transient account, the current application, suggested params, operation "create", approval-program "programs/box_app.teal", clear-program "programs/eight.teal", global-bytes 0, global-ints 0, local-bytes 0, local-ints 0, app-args "", foreign-apps "", foreign-assets "", app-accounts "", extra-pages 0, boxes "" And I sign and submit the transaction, saving the txid. If there is an error it is "". And I wait for the transaction to be confirmed. And I remember the new application ID. diff --git a/features/integration/compile.feature b/features/integration/compile.feature index 5df80933..65b5e5bf 100644 --- a/features/integration/compile.feature +++ b/features/integration/compile.feature @@ -20,6 +20,7 @@ Feature: Compile | teal | program | | programs/one.teal | programs/one.teal.tok | | programs/zero.teal | programs/zero.teal.tok | + | programs/eight.teal | programs/eight.teal.tok | | programs/abi_method_call.teal | programs/abi_method_call.teal.tok | @compile.sourcemap diff --git a/features/resources/programs/eight.teal b/features/resources/programs/eight.teal new file mode 100644 index 00000000..0c618381 --- /dev/null +++ b/features/resources/programs/eight.teal @@ -0,0 +1,2 @@ +#pragma version 8 +int 8 diff --git a/features/resources/programs/eight.teal.tok b/features/resources/programs/eight.teal.tok new file mode 100644 index 00000000..89a2a2b7 --- /dev/null +++ b/features/resources/programs/eight.teal.tok @@ -0,0 +1 @@ + \ No newline at end of file