Skip to content

Commit

Permalink
test: update StateOps artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-makerx committed Aug 19, 2024
1 parent fa15456 commit e47dc01
Show file tree
Hide file tree
Showing 33 changed files with 1,455 additions and 887 deletions.
346 changes: 173 additions & 173 deletions tests/artifacts/StateOps/data/GlobalStateContract.approval.teal

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions tests/artifacts/StateOps/data/GlobalStateContract.arc32.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma version 10

tests.artifacts.StateOps.contract.GlobalStateContract.clear_state_program:
// tests/artifacts/StateOps/contract.py:362
// tests/artifacts/StateOps/contract.py:480
// class GlobalStateContract(ARC4Contract):
int 1
return
42 changes: 21 additions & 21 deletions tests/artifacts/StateOps/data/ITxnOpsContract.approval.teal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma version 10

tests.artifacts.StateOps.contract.ITxnOpsContract.approval_program:
// tests/artifacts/StateOps/contract.py:337
// tests/artifacts/StateOps/contract.py:455
// class ITxnOpsContract(ARC4Contract):
txn NumAppArgs
bz main_bare_routing@5
Expand All @@ -11,7 +11,7 @@ tests.artifacts.StateOps.contract.ITxnOpsContract.approval_program:
err // reject transaction

main_verify_itxn_ops_route@2:
// tests/artifacts/StateOps/contract.py:338
// tests/artifacts/StateOps/contract.py:456
// @arc4.abimethod()
txn OnCompletion
!
Expand All @@ -23,7 +23,7 @@ main_verify_itxn_ops_route@2:
return

main_bare_routing@5:
// tests/artifacts/StateOps/contract.py:337
// tests/artifacts/StateOps/contract.py:455
// class ITxnOpsContract(ARC4Contract):
txn OnCompletion
!
Expand All @@ -37,81 +37,81 @@ main_bare_routing@5:

// tests.artifacts.StateOps.contract.ITxnOpsContract.verify_itxn_ops() -> void:
verify_itxn_ops:
// tests/artifacts/StateOps/contract.py:338-339
// tests/artifacts/StateOps/contract.py:456-457
// @arc4.abimethod()
// def verify_itxn_ops(self) -> None:
proto 0 0
// tests/artifacts/StateOps/contract.py:340
// tests/artifacts/StateOps/contract.py:458
// algopy.op.ITxnCreate.begin()
itxn_begin
// tests/artifacts/StateOps/contract.py:341
// tests/artifacts/StateOps/contract.py:459
// algopy.op.ITxnCreate.set_type_enum(algopy.TransactionType.ApplicationCall)
int appl
itxn_field TypeEnum
// tests/artifacts/StateOps/contract.py:342
// tests/artifacts/StateOps/contract.py:460
// algopy.op.ITxnCreate.set_on_completion(algopy.OnCompleteAction.DeleteApplication)
int DeleteApplication
itxn_field OnCompletion
// tests/artifacts/StateOps/contract.py:343
// tests/artifacts/StateOps/contract.py:461
// algopy.op.ITxnCreate.set_approval_program(Bytes.from_hex("068101"))
byte 0x068101
itxn_field ApprovalProgram
// tests/artifacts/StateOps/contract.py:344-345
// tests/artifacts/StateOps/contract.py:462-463
// # pages essentially appends
// algopy.op.ITxnCreate.set_approval_program_pages(Bytes.from_hex("068101"))
byte 0x068101
itxn_field ApprovalProgramPages
// tests/artifacts/StateOps/contract.py:346
// tests/artifacts/StateOps/contract.py:464
// algopy.op.ITxnCreate.set_clear_state_program(Bytes.from_hex("068101"))
byte 0x068101
itxn_field ClearStateProgram
// tests/artifacts/StateOps/contract.py:347
// tests/artifacts/StateOps/contract.py:465
// algopy.op.ITxnCreate.set_fee(algopy.op.Global.min_txn_fee)
global MinTxnFee
itxn_field Fee
// tests/artifacts/StateOps/contract.py:348
// tests/artifacts/StateOps/contract.py:466
// algopy.op.ITxnCreate.next()
itxn_next
// tests/artifacts/StateOps/contract.py:349
// tests/artifacts/StateOps/contract.py:467
// algopy.op.ITxnCreate.set_type_enum(algopy.TransactionType.Payment)
int pay
itxn_field TypeEnum
// tests/artifacts/StateOps/contract.py:350
// tests/artifacts/StateOps/contract.py:468
// algopy.op.ITxnCreate.set_receiver(algopy.op.Global.creator_address)
global CreatorAddress
itxn_field Receiver
// tests/artifacts/StateOps/contract.py:351
// tests/artifacts/StateOps/contract.py:469
// algopy.op.ITxnCreate.set_amount(algopy.UInt64(1000))
int 1000
itxn_field Amount
// tests/artifacts/StateOps/contract.py:352
// tests/artifacts/StateOps/contract.py:470
// algopy.op.ITxnCreate.submit()
itxn_submit
// tests/artifacts/StateOps/contract.py:354
// tests/artifacts/StateOps/contract.py:472
// assert algopy.op.ITxn.receiver() == algopy.op.Global.creator_address
itxn Receiver
global CreatorAddress
==
assert
// tests/artifacts/StateOps/contract.py:355
// tests/artifacts/StateOps/contract.py:473
// assert algopy.op.ITxn.amount() == algopy.UInt64(1000)
itxn Amount
int 1000
==
assert
// tests/artifacts/StateOps/contract.py:356
// tests/artifacts/StateOps/contract.py:474
// assert algopy.op.ITxn.type_enum() == algopy.TransactionType.Payment
itxn TypeEnum
int pay
==
assert
// tests/artifacts/StateOps/contract.py:358
// tests/artifacts/StateOps/contract.py:476
// assert algopy.op.GITxn.type_enum(0) == algopy.TransactionType.ApplicationCall
gitxn 0 TypeEnum
int appl
==
assert
// tests/artifacts/StateOps/contract.py:359
// tests/artifacts/StateOps/contract.py:477
// assert algopy.op.GITxn.type_enum(1) == algopy.TransactionType.Payment
gitxn 1 TypeEnum
int pay
Expand Down
4 changes: 2 additions & 2 deletions tests/artifacts/StateOps/data/ITxnOpsContract.arc32.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
}
},
"source": {
"approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgp0ZXN0cy5hcnRpZmFjdHMuU3RhdGVPcHMuY29udHJhY3QuSVR4bk9wc0NvbnRyYWN0LmFwcHJvdmFsX3Byb2dyYW06CiAgICAvLyB0ZXN0cy9hcnRpZmFjdHMvU3RhdGVPcHMvY29udHJhY3QucHk6MzM3CiAgICAvLyBjbGFzcyBJVHhuT3BzQ29udHJhY3QoQVJDNENvbnRyYWN0KToKICAgIHR4biBOdW1BcHBBcmdzCiAgICBieiBtYWluX2JhcmVfcm91dGluZ0A1CiAgICBtZXRob2QgInZlcmlmeV9pdHhuX29wcygpdm9pZCIKICAgIHR4bmEgQXB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MvU3RhdGVPcHMvY29udHJhY3QucHk6NDc2CiAgICAvLyBhc3NlcnQgYWxnb3B5Lm9wLkdJVHhuLnR5cGVfZW51bSgwKSA9PSBhbGdvcHkuVHJhbnNhY3Rpb25UeXBlLkFwcGxpY2F0aW9uQ2FsbAogICAgZ2l0eG4gMCBUeXBlRW51bQogICAgaW50IGFwcGwKICAgID09CiAgICBhc3NlcnQKICAgIC8vIHRlc3RzL2FydGlmYWN0cy9TdGF0ZU9wcy9jb250cmFjdC5weTo0NzcKICAgIC8vIGFzc2VydCBhbGdvcHkub3AuR0lUeG4udHlwZV9lbnVtKDEpID09IGFsZ29weS5UcmFuc2FjdGlvblR5cGUuUGF5bWVudAogICAgZ2l0eG4gMSBUeXBlRW51bQogICAgaW50IHBheQogICAgPT0KICAgIGFzc2VydAogICAgcmV0c3ViCg==",
"clear": "I3ByYWdtYSB2ZXJzaW9uIDEwCgp0ZXN0cy5hcnRpZmFjdHMuU3RhdGVPcHMuY29udHJhY3QuSVR4bk9wc0NvbnRyYWN0LmNsZWFyX3N0YXRlX3Byb2dyYW06CiAgICAvLyB0ZXN0cy9hcnRpZmFjdHMvU3RhdGVPcHMvY29udHJhY3QucHk6NDU1CiAgICAvLyBjbGFzcyBJVHhuT3BzQ29udHJhY3QoQVJDNENvbnRyYWN0KToKICAgIGludCAxCiAgICByZXR1cm4K"
},
"state": {
"global": {
Expand Down
2 changes: 1 addition & 1 deletion tests/artifacts/StateOps/data/ITxnOpsContract.clear.teal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma version 10

tests.artifacts.StateOps.contract.ITxnOpsContract.clear_state_program:
// tests/artifacts/StateOps/contract.py:337
// tests/artifacts/StateOps/contract.py:455
// class ITxnOpsContract(ARC4Contract):
int 1
return
Loading

0 comments on commit e47dc01

Please sign in to comment.