From 5ce80f9b9c8a285b39b2010be20b4c11c72c43f8 Mon Sep 17 00:00:00 2001 From: Joe Polny Date: Mon, 8 Jul 2024 19:21:28 -0400 Subject: [PATCH] fix: error when getting state in multi-line function call --- src/lib/compiler.ts | 12 +- .../artifacts/GeneralTest.approval.teal | 42 +- .../artifacts/GeneralTest.arc32.json | 14 +- .../contracts/artifacts/GeneralTest.arc4.json | 7 + .../artifacts/GeneralTest.arc56_draft.json | 978 ++++++++++-------- tests/contracts/general.algo.ts | 10 + 6 files changed, 646 insertions(+), 417 deletions(-) diff --git a/src/lib/compiler.ts b/src/lib/compiler.ts index 8a0404985..996cd227d 100644 --- a/src/lib/compiler.ts +++ b/src/lib/compiler.ts @@ -667,7 +667,11 @@ export default class Compiler { node, 'app_global_get_ex', StackType.any, - `global state value does not exist: ${node.getText()}` + `global state value does not exist: ${node + .getText() + .split('\n') + .map((l) => l.trim()) + .join(' ')}` ); }, }, @@ -681,7 +685,11 @@ export default class Compiler { node, 'app_local_get_ex', StackType.any, - `local state value does not exist: ${node.getText()}` + `local state value does not exist: ${node + .getText() + .split('\n') + .map((l) => l.trim()) + .join(' ')}` ); }, }, diff --git a/tests/contracts/artifacts/GeneralTest.approval.teal b/tests/contracts/artifacts/GeneralTest.approval.teal index 1e1c42c16..7ce601ac6 100644 --- a/tests/contracts/artifacts/GeneralTest.approval.teal +++ b/tests/contracts/artifacts/GeneralTest.approval.teal @@ -2663,6 +2663,45 @@ nonAbi: *for_1_end: retsub +// multilineFunctionCall()void +*abi_route_multilineFunctionCall: + // execute multilineFunctionCall()void + callsub multilineFunctionCall + int 1 + return + +// multilineFunctionCall(): void +multilineFunctionCall: + proto 0 0 + + // Push empty bytes after the frame pointer to reserve space for local variables + byte 0x + dup + + // tests/contracts/general.algo.ts:517 + // app = AppID.zeroIndex + int 0 + frame_bury 0 // app: uint64 + + // tests/contracts/general.algo.ts:518 + // addr = Address.zeroAddress + global ZeroAddress + frame_bury 1 // addr: address + + // tests/contracts/general.algo.ts:520 + // app.localState( + // addr, + // 'key' + // ) + frame_dig 1 // addr: address + int 0 // app: uint64 + byte 0x6b6579 // "key" + app_local_get_ex + + // local state value does not exist: app.localState( addr, 'key' ) + assert + retsub + *abi_route_createApplication: int 1 return @@ -2744,8 +2783,9 @@ nonAbi: method "assertComment()void" method "throwErrorMessage()void" method "orLiteralType(uint64,uint64)void" + method "multilineFunctionCall()void" txna ApplicationArgs 0 - match *abi_route_txnTypeEnum *abi_route_txnGroupLength *abi_route_asserts *abi_route_verifyTxnFromArg *abi_route_verifyTxnFromTxnGroup *abi_route_verifyTxnCondition *abi_route_verifyTxnIncludedIn *abi_route_verifyTxnNotIncludedIn *abi_route_submitPendingGroup *abi_route_methodWithTxnArgs *abi_route_shift *abi_route_fromBytes *abi_route_fromUint64 *abi_route_bzeroFunction *abi_route_events *abi_route_letOptimization *abi_route_staticContractProperties *abi_route_numberToString *abi_route_methodOnParens *abi_route_stringSubstring *abi_route_idProperty *abi_route_scratchSlot *abi_route_ecdsa *abi_route_verifyTxnTypes *abi_route_stringPlusEquals *abi_route_importedProgram *abi_route_callPrivateDefinedLater *abi_route_interalPublicMethod *abi_route_callInternalPublicMethod *abi_route_appLoadScratch *abi_route_uintNWithUnderscore *abi_route_opUp *abi_route_returnValueOnAssignment *abi_route_returnArrayValueOnAssignment *abi_route_returnStorageValueOnAssignment *abi_route_returnOperatorAssignmentValue *abi_route_returnArrayValueOnOperatorAssignment *abi_route_returnArrayInStorageValueOnOperatorAssignment *abi_route_consts *abi_route_assertWithMessage *abi_route_opcodeAliases *abi_route_vrfVerifyOp *abi_route_ecMath *abi_route_gitxn *abi_route_getSetBytes *abi_route_getSetUint64 *abi_route_blockOp *abi_route_b64 *abi_route_json *abi_route_bitlenOp *abi_route_computedConst *abi_route_multiComputedConst *abi_route_readSchema *abi_route_comparisonOr *abi_route_txnArgsMethod *abi_route_callTxnArgsMethod *abi_route_staticValueLen *abi_route_staticTypeLen *abi_route_dynamicScratchSlot *abi_route_incrementScratchSlot *abi_route_incrementDynamicScratchSlot *abi_route_fromAddress *abi_route_earlyReturn *abi_route_assetMethodArgs *abi_route_multipleProgramPages *abi_route_assertComment *abi_route_throwErrorMessage *abi_route_orLiteralType + match *abi_route_txnTypeEnum *abi_route_txnGroupLength *abi_route_asserts *abi_route_verifyTxnFromArg *abi_route_verifyTxnFromTxnGroup *abi_route_verifyTxnCondition *abi_route_verifyTxnIncludedIn *abi_route_verifyTxnNotIncludedIn *abi_route_submitPendingGroup *abi_route_methodWithTxnArgs *abi_route_shift *abi_route_fromBytes *abi_route_fromUint64 *abi_route_bzeroFunction *abi_route_events *abi_route_letOptimization *abi_route_staticContractProperties *abi_route_numberToString *abi_route_methodOnParens *abi_route_stringSubstring *abi_route_idProperty *abi_route_scratchSlot *abi_route_ecdsa *abi_route_verifyTxnTypes *abi_route_stringPlusEquals *abi_route_importedProgram *abi_route_callPrivateDefinedLater *abi_route_interalPublicMethod *abi_route_callInternalPublicMethod *abi_route_appLoadScratch *abi_route_uintNWithUnderscore *abi_route_opUp *abi_route_returnValueOnAssignment *abi_route_returnArrayValueOnAssignment *abi_route_returnStorageValueOnAssignment *abi_route_returnOperatorAssignmentValue *abi_route_returnArrayValueOnOperatorAssignment *abi_route_returnArrayInStorageValueOnOperatorAssignment *abi_route_consts *abi_route_assertWithMessage *abi_route_opcodeAliases *abi_route_vrfVerifyOp *abi_route_ecMath *abi_route_gitxn *abi_route_getSetBytes *abi_route_getSetUint64 *abi_route_blockOp *abi_route_b64 *abi_route_json *abi_route_bitlenOp *abi_route_computedConst *abi_route_multiComputedConst *abi_route_readSchema *abi_route_comparisonOr *abi_route_txnArgsMethod *abi_route_callTxnArgsMethod *abi_route_staticValueLen *abi_route_staticTypeLen *abi_route_dynamicScratchSlot *abi_route_incrementScratchSlot *abi_route_incrementDynamicScratchSlot *abi_route_fromAddress *abi_route_earlyReturn *abi_route_assetMethodArgs *abi_route_multipleProgramPages *abi_route_assertComment *abi_route_throwErrorMessage *abi_route_orLiteralType *abi_route_multilineFunctionCall // !!!! WARNING: non-ABI routing callsub nonAbi diff --git a/tests/contracts/artifacts/GeneralTest.arc32.json b/tests/contracts/artifacts/GeneralTest.arc32.json index 22bdd2150..e52a1495b 100644 --- a/tests/contracts/artifacts/GeneralTest.arc32.json +++ b/tests/contracts/artifacts/GeneralTest.arc32.json @@ -340,6 +340,11 @@ "no_op": "CALL" } }, + "multilineFunctionCall()void": { + "call_config": { + "no_op": "CALL" + } + }, "createApplication()void": { "call_config": { "no_op": "CREATE" @@ -383,7 +388,7 @@ } }, "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjk2LjIKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyAhISEhIFdBUk5JTkc6IFRoaXMgY29udHJhY3QgaXMgKk5PVCogQVJDNCBjb21wbGlhbnQuIEl0IG1heSBjb250YWluIEFCSSBtZXRob2RzLCBidXQgaXQgYWxzbyBhbGxvd3MgYXBwIGNhbGxzIHdoZXJlIHRoZSBmaXJzdCBhcmd1bWVudCBkb2VzIE5PVCBtYXRjaCBhbiBBQkkgc2VsZWN0b3IKCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZGxlIGluaXRpYWwgcHJvZ3JhbSBmbG93Ci8vIFRoaXMgcGF0dGVybiBpcyB1c2VkIHRvIG1ha2UgaXQgZWFzeSBmb3IgYW55b25lIHRvIHBhcnNlIHRoZSBzdGFydCBvZiB0aGUgcHJvZ3JhbSBhbmQgZGV0ZXJtaW5lIGlmIGEgc3BlY2lmaWMgYWN0aW9uIGlzIGFsbG93ZWQKLy8gSGVyZSwgYWN0aW9uIHJlZmVycyB0byB0aGUgT25Db21wbGV0ZSBpbiBjb21iaW5hdGlvbiB3aXRoIHdoZXRoZXIgdGhlIGFwcCBpc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ludFRvQXNjaWk6Cglwcm90byAxIDEKCWJ5dGUgMHgzMDMxMzIzMzM0MzUzNjM3MzgzOSAvLyAiMDEyMzQ1Njc4OSIKCWZyYW1lX2RpZyAtMSAvLyBpOiB1aW50NjQKCWludCAxCglleHRyYWN0MwoJcmV0c3ViCgkKCippdG9hOgoJcHJvdG8gMSAxCglmcmFtZV9kaWcgLTEgLy8gaTogdWludDY0CglpbnQgMAoJPT0KCWJ6ICppdG9hX2lmX2VuZAoJYnl0ZSAweDMwCglyZXRzdWIKCippdG9hX2lmX2VuZDoKCWZyYW1lX2RpZyAtMSAvLyBpOiB1aW50NjQKCWludCAxMAoJLwoJaW50IDAKCT4KCWJ6ICppdG9hX3Rlcm5hcnlfZmFsc2UKCWZyYW1lX2RpZyAtMSAvLyBpOiB1aW50NjQKCWludCAxMAoJLwoJY2FsbHN1YiAqaXRvYQoJYiAqaXRvYV90ZXJuYXJ5X2VuZAoKKml0b2FfdGVybmFyeV9mYWxzZToKCWJ5dGUgMHggLy8gIiIKCippdG9hX3Rlcm5hcnlfZW5kOgoJZnJhbWVfZGlnIC0xIC8vIGk6IHVpbnQ2NAoJaW50IDEwCgklCgljYWxsc3ViICppbnRUb0FzY2lpCgljb25jYXQKCXJldHN1Yg==", "clear": "I3ByYWdtYSB2ZXJzaW9uIDEw" }, "contract": { @@ -936,6 +941,13 @@ "type": "void" } }, + { + "name": "multilineFunctionCall", + "args": [], + "returns": { + "type": "void" + } + }, { "name": "createApplication", "args": [], diff --git a/tests/contracts/artifacts/GeneralTest.arc4.json b/tests/contracts/artifacts/GeneralTest.arc4.json index 16c2d7617..04a26de3c 100644 --- a/tests/contracts/artifacts/GeneralTest.arc4.json +++ b/tests/contracts/artifacts/GeneralTest.arc4.json @@ -548,6 +548,13 @@ "type": "void" } }, + { + "name": "multilineFunctionCall", + "args": [], + "returns": { + "type": "void" + } + }, { "name": "createApplication", "args": [], diff --git a/tests/contracts/artifacts/GeneralTest.arc56_draft.json b/tests/contracts/artifacts/GeneralTest.arc56_draft.json index 39c560328..d5f07986c 100644 --- a/tests/contracts/artifacts/GeneralTest.arc56_draft.json +++ b/tests/contracts/artifacts/GeneralTest.arc56_draft.json @@ -956,6 +956,19 @@ ] } }, + { + "name": "multilineFunctionCall", + "args": [], + "returns": { + "type": "void" + }, + "actions": { + "create": [], + "call": [ + "NoOp" + ] + } + }, { "name": "createApplication", "args": [], @@ -12722,917 +12735,1020 @@ ] }, { - "teal": 2667, - "source": 49, + "teal": 2669, + "source": 516, "pc": [ - 3646 + 3646, + 3647, + 3648 ] }, { - "teal": 2668, - "source": 49, + "teal": 2670, + "source": 516, "pc": [ - 3647 + 3649 ] }, { "teal": 2671, - "source": 49, + "source": 516, + "pc": [ + 3650 + ] + }, + { + "teal": 2675, + "source": 516, "pc": [ - 3648, - 3649, - 3650, 3651, 3652, 3653 ] }, { - "teal": 2672, - "source": 49, + "teal": 2678, + "source": 516, + "pc": [ + 3654 + ] + }, + { + "teal": 2679, + "source": 516, + "pc": [ + 3655 + ] + }, + { + "teal": 2683, + "source": 517, "pc": [ - 3654, - 3655, 3656 ] }, { - "teal": 2673, - "source": 49, + "teal": 2684, + "source": 517, "pc": [ 3657, - 3658, + 3658 + ] + }, + { + "teal": 2688, + "source": 518, + "pc": [ 3659, 3660 ] }, { - "teal": 2676, - "source": 49, - "errorMessage": "this contract does not implement the given ABI method for create NoOp", + "teal": 2689, + "source": 518, "pc": [ - 3661 + 3661, + 3662 ] }, { - "teal": 2679, - "source": 49, + "teal": 2696, + "source": 520, "pc": [ - 3662, 3663, - 3664, - 3665, - 3666, - 3667 + 3664 ] }, { - "teal": 2680, - "source": 49, + "teal": 2697, + "source": 520, + "pc": [ + 3665 + ] + }, + { + "teal": 2698, + "source": 520, "pc": [ + 3666, + 3667, 3668, 3669, - 3670, - 3671, - 3672, + 3670 + ] + }, + { + "teal": 2699, + "source": 520, + "pc": [ + 3671 + ] + }, + { + "teal": 2702, + "source": 520, + "errorMessage": "local state value does not exist: app.localState( addr, 'key' )", + "pc": [ + 3672 + ] + }, + { + "teal": 2703, + "source": 516, + "pc": [ 3673 ] }, { - "teal": 2681, + "teal": 2706, + "source": 49, + "pc": [ + 3674 + ] + }, + { + "teal": 2707, + "source": 49, + "pc": [ + 3675 + ] + }, + { + "teal": 2710, "source": 49, "pc": [ - 3674, - 3675, 3676, 3677, 3678, - 3679 + 3679, + 3680, + 3681 ] }, { - "teal": 2682, + "teal": 2711, "source": 49, "pc": [ - 3680, - 3681, 3682, 3683, - 3684, - 3685 + 3684 ] }, { - "teal": 2683, + "teal": 2712, "source": 49, "pc": [ + 3685, 3686, 3687, - 3688, - 3689, - 3690, - 3691 + 3688 ] }, { - "teal": 2684, + "teal": 2715, + "source": 49, + "errorMessage": "this contract does not implement the given ABI method for create NoOp", + "pc": [ + 3689 + ] + }, + { + "teal": 2718, "source": 49, "pc": [ + 3690, + 3691, 3692, 3693, 3694, - 3695, - 3696, - 3697 + 3695 ] }, { - "teal": 2685, + "teal": 2719, "source": 49, "pc": [ + 3696, + 3697, 3698, 3699, 3700, - 3701, - 3702, - 3703 + 3701 ] }, { - "teal": 2686, + "teal": 2720, "source": 49, "pc": [ + 3702, + 3703, 3704, 3705, 3706, - 3707, - 3708, - 3709 + 3707 ] }, { - "teal": 2687, + "teal": 2721, "source": 49, "pc": [ + 3708, + 3709, 3710, 3711, 3712, - 3713, - 3714, - 3715 + 3713 ] }, { - "teal": 2688, + "teal": 2722, "source": 49, "pc": [ + 3714, + 3715, 3716, 3717, 3718, - 3719, - 3720, - 3721 + 3719 ] }, { - "teal": 2689, + "teal": 2723, "source": 49, "pc": [ + 3720, + 3721, 3722, 3723, 3724, - 3725, - 3726, - 3727 + 3725 ] }, { - "teal": 2690, + "teal": 2724, "source": 49, "pc": [ + 3726, + 3727, 3728, 3729, 3730, - 3731, - 3732, - 3733 + 3731 ] }, { - "teal": 2691, + "teal": 2725, "source": 49, "pc": [ + 3732, + 3733, 3734, 3735, 3736, - 3737, - 3738, - 3739 + 3737 ] }, { - "teal": 2692, + "teal": 2726, "source": 49, "pc": [ + 3738, + 3739, 3740, 3741, 3742, - 3743, - 3744, - 3745 + 3743 ] }, { - "teal": 2693, + "teal": 2727, "source": 49, "pc": [ + 3744, + 3745, 3746, 3747, 3748, - 3749, - 3750, - 3751 + 3749 ] }, { - "teal": 2694, + "teal": 2728, "source": 49, "pc": [ + 3750, + 3751, 3752, 3753, 3754, - 3755, - 3756, - 3757 + 3755 ] }, { - "teal": 2695, + "teal": 2729, "source": 49, "pc": [ + 3756, + 3757, 3758, 3759, 3760, - 3761, - 3762, - 3763 + 3761 ] }, { - "teal": 2696, + "teal": 2730, "source": 49, "pc": [ + 3762, + 3763, 3764, 3765, 3766, - 3767, - 3768, - 3769 + 3767 ] }, { - "teal": 2697, + "teal": 2731, "source": 49, "pc": [ + 3768, + 3769, 3770, 3771, 3772, - 3773, - 3774, - 3775 + 3773 ] }, { - "teal": 2698, + "teal": 2732, "source": 49, "pc": [ + 3774, + 3775, 3776, 3777, 3778, - 3779, - 3780, - 3781 + 3779 ] }, { - "teal": 2699, + "teal": 2733, "source": 49, "pc": [ + 3780, + 3781, 3782, 3783, 3784, - 3785, - 3786, - 3787 + 3785 ] }, { - "teal": 2700, + "teal": 2734, "source": 49, "pc": [ + 3786, + 3787, 3788, 3789, 3790, - 3791, - 3792, - 3793 + 3791 ] }, { - "teal": 2701, + "teal": 2735, "source": 49, "pc": [ + 3792, + 3793, 3794, 3795, 3796, - 3797, - 3798, - 3799 + 3797 ] }, { - "teal": 2702, + "teal": 2736, "source": 49, "pc": [ + 3798, + 3799, 3800, 3801, 3802, - 3803, - 3804, - 3805 + 3803 ] }, { - "teal": 2703, + "teal": 2737, "source": 49, "pc": [ + 3804, + 3805, 3806, 3807, 3808, - 3809, - 3810, - 3811 + 3809 ] }, { - "teal": 2704, + "teal": 2738, "source": 49, "pc": [ + 3810, + 3811, 3812, 3813, 3814, - 3815, - 3816, - 3817 + 3815 ] }, { - "teal": 2705, + "teal": 2739, "source": 49, "pc": [ + 3816, + 3817, 3818, 3819, 3820, - 3821, - 3822, - 3823 + 3821 ] }, { - "teal": 2706, + "teal": 2740, "source": 49, "pc": [ + 3822, + 3823, 3824, 3825, 3826, - 3827, - 3828, - 3829 + 3827 ] }, { - "teal": 2707, + "teal": 2741, "source": 49, "pc": [ + 3828, + 3829, 3830, 3831, 3832, - 3833, - 3834, - 3835 + 3833 ] }, { - "teal": 2708, + "teal": 2742, "source": 49, "pc": [ + 3834, + 3835, 3836, 3837, 3838, - 3839, - 3840, - 3841 + 3839 ] }, { - "teal": 2709, + "teal": 2743, "source": 49, "pc": [ + 3840, + 3841, 3842, 3843, 3844, - 3845, - 3846, - 3847 + 3845 ] }, { - "teal": 2710, + "teal": 2744, "source": 49, "pc": [ + 3846, + 3847, 3848, 3849, 3850, - 3851, - 3852, - 3853 + 3851 ] }, { - "teal": 2711, + "teal": 2745, "source": 49, "pc": [ + 3852, + 3853, 3854, 3855, 3856, - 3857, - 3858, - 3859 + 3857 ] }, { - "teal": 2712, + "teal": 2746, "source": 49, "pc": [ + 3858, + 3859, 3860, 3861, 3862, - 3863, - 3864, - 3865 + 3863 ] }, { - "teal": 2713, + "teal": 2747, "source": 49, "pc": [ + 3864, + 3865, 3866, 3867, 3868, - 3869, - 3870, - 3871 + 3869 ] }, { - "teal": 2714, + "teal": 2748, "source": 49, "pc": [ + 3870, + 3871, 3872, 3873, 3874, - 3875, - 3876, - 3877 + 3875 ] }, { - "teal": 2715, + "teal": 2749, "source": 49, "pc": [ + 3876, + 3877, 3878, 3879, 3880, - 3881, - 3882, - 3883 + 3881 ] }, { - "teal": 2716, + "teal": 2750, "source": 49, "pc": [ + 3882, + 3883, 3884, 3885, 3886, - 3887, - 3888, - 3889 + 3887 ] }, { - "teal": 2717, + "teal": 2751, "source": 49, "pc": [ + 3888, + 3889, 3890, 3891, 3892, - 3893, - 3894, - 3895 + 3893 ] }, { - "teal": 2718, + "teal": 2752, "source": 49, "pc": [ + 3894, + 3895, 3896, 3897, 3898, - 3899, - 3900, - 3901 + 3899 ] }, { - "teal": 2719, + "teal": 2753, "source": 49, "pc": [ + 3900, + 3901, 3902, 3903, 3904, - 3905, - 3906, - 3907 + 3905 ] }, { - "teal": 2720, + "teal": 2754, "source": 49, "pc": [ + 3906, + 3907, 3908, 3909, 3910, - 3911, - 3912, - 3913 + 3911 ] }, { - "teal": 2721, + "teal": 2755, "source": 49, "pc": [ + 3912, + 3913, 3914, 3915, 3916, - 3917, - 3918, - 3919 + 3917 ] }, { - "teal": 2722, + "teal": 2756, "source": 49, "pc": [ + 3918, + 3919, 3920, 3921, 3922, - 3923, - 3924, - 3925 + 3923 ] }, { - "teal": 2723, + "teal": 2757, "source": 49, "pc": [ + 3924, + 3925, 3926, 3927, 3928, - 3929, - 3930, - 3931 + 3929 ] }, { - "teal": 2724, + "teal": 2758, "source": 49, "pc": [ + 3930, + 3931, 3932, 3933, 3934, - 3935, - 3936, - 3937 + 3935 ] }, { - "teal": 2725, + "teal": 2759, "source": 49, "pc": [ + 3936, + 3937, 3938, 3939, 3940, - 3941, - 3942, - 3943 + 3941 ] }, { - "teal": 2726, + "teal": 2760, "source": 49, "pc": [ + 3942, + 3943, 3944, 3945, 3946, - 3947, - 3948, - 3949 + 3947 ] }, { - "teal": 2727, + "teal": 2761, "source": 49, "pc": [ + 3948, + 3949, 3950, 3951, 3952, - 3953, - 3954, - 3955 + 3953 ] }, { - "teal": 2728, + "teal": 2762, "source": 49, "pc": [ + 3954, + 3955, 3956, 3957, 3958, - 3959, - 3960, - 3961 + 3959 ] }, { - "teal": 2729, + "teal": 2763, "source": 49, "pc": [ + 3960, + 3961, 3962, 3963, 3964, - 3965, - 3966, - 3967 + 3965 ] }, { - "teal": 2730, + "teal": 2764, "source": 49, "pc": [ + 3966, + 3967, 3968, 3969, 3970, - 3971, - 3972, - 3973 + 3971 ] }, { - "teal": 2731, + "teal": 2765, "source": 49, "pc": [ + 3972, + 3973, 3974, 3975, 3976, - 3977, - 3978, - 3979 + 3977 ] }, { - "teal": 2732, + "teal": 2766, "source": 49, "pc": [ + 3978, + 3979, 3980, 3981, 3982, - 3983, - 3984, - 3985 + 3983 ] }, { - "teal": 2733, + "teal": 2767, "source": 49, "pc": [ + 3984, + 3985, 3986, - 3987 + 3987, + 3988, + 3989 ] }, { - "teal": 2734, + "teal": 2768, "source": 49, "pc": [ - 3988, - 3989, 3990, 3991, 3992, - 3993 + 3993, + 3994, + 3995 ] }, { - "teal": 2735, + "teal": 2769, "source": 49, "pc": [ - 3994, - 3995, 3996, 3997, 3998, - 3999 + 3999, + 4000, + 4001 ] }, { - "teal": 2736, + "teal": 2770, "source": 49, "pc": [ - 4000, - 4001, 4002, 4003, 4004, - 4005 + 4005, + 4006, + 4007 ] }, { - "teal": 2737, + "teal": 2771, "source": 49, "pc": [ - 4006, - 4007, 4008, 4009, 4010, - 4011 + 4011, + 4012, + 4013 ] }, { - "teal": 2738, + "teal": 2772, "source": 49, "pc": [ - 4012, - 4013, 4014, - 4015, - 4016, - 4017 + 4015 ] }, { - "teal": 2739, + "teal": 2773, "source": 49, "pc": [ + 4016, + 4017, 4018, 4019, 4020, - 4021, - 4022, - 4023 + 4021 ] }, { - "teal": 2740, + "teal": 2774, "source": 49, "pc": [ + 4022, + 4023, 4024, 4025, 4026, - 4027, - 4028, - 4029 + 4027 ] }, { - "teal": 2741, + "teal": 2775, "source": 49, "pc": [ + 4028, + 4029, 4030, 4031, 4032, - 4033, - 4034, - 4035 + 4033 ] }, { - "teal": 2742, + "teal": 2776, "source": 49, "pc": [ + 4034, + 4035, 4036, 4037, 4038, - 4039, - 4040, - 4041 + 4039 ] }, { - "teal": 2743, + "teal": 2777, "source": 49, "pc": [ + 4040, + 4041, 4042, 4043, 4044, - 4045, - 4046, - 4047 + 4045 ] }, { - "teal": 2744, + "teal": 2778, "source": 49, "pc": [ + 4046, + 4047, 4048, 4049, 4050, - 4051, - 4052, - 4053 + 4051 ] }, { - "teal": 2745, + "teal": 2779, "source": 49, "pc": [ + 4052, + 4053, 4054, 4055, 4056, - 4057, - 4058, - 4059 + 4057 ] }, { - "teal": 2746, + "teal": 2780, "source": 49, "pc": [ + 4058, + 4059, 4060, 4061, 4062, - 4063, - 4064, - 4065 + 4063 ] }, { - "teal": 2747, + "teal": 2781, "source": 49, "pc": [ + 4064, + 4065, 4066, 4067, - 4068 + 4068, + 4069 ] }, { - "teal": 2748, + "teal": 2782, "source": 49, "pc": [ - 4069, 4070, 4071, 4072, 4073, 4074, - 4075, + 4075 + ] + }, + { + "teal": 2783, + "source": 49, + "pc": [ 4076, 4077, 4078, 4079, 4080, - 4081, + 4081 + ] + }, + { + "teal": 2784, + "source": 49, + "pc": [ 4082, 4083, 4084, 4085, 4086, - 4087, + 4087 + ] + }, + { + "teal": 2785, + "source": 49, + "pc": [ 4088, 4089, 4090, 4091, 4092, - 4093, + 4093 + ] + }, + { + "teal": 2786, + "source": 49, + "pc": [ 4094, 4095, 4096, 4097, 4098, - 4099, + 4099 + ] + }, + { + "teal": 2787, + "source": 49, + "pc": [ 4100, 4101, - 4102, + 4102 + ] + }, + { + "teal": 2788, + "source": 49, + "pc": [ 4103, 4104, 4105, @@ -13736,31 +13852,13 @@ 4203, 4204, 4205, - 4206 - ] - }, - { - "teal": 2751, - "source": 49, - "pc": [ + 4206, 4207, 4208, - 4209 - ] - }, - { - "teal": 2754, - "source": 49, - "pc": [ + 4209, 4210, 4211, - 4212 - ] - }, - { - "teal": 2755, - "source": 49, - "pc": [ + 4212, 4213, 4214, 4215, @@ -13772,240 +13870,294 @@ 4221, 4222, 4223, - 4224 + 4224, + 4225, + 4226, + 4227, + 4228, + 4229, + 4230, + 4231, + 4232, + 4233, + 4234, + 4235, + 4236, + 4237, + 4238, + 4239, + 4240, + 4241, + 4242 ] }, { - "teal": 2756, + "teal": 2791, "source": 49, "pc": [ - 4225, - 4226 + 4243, + 4244, + 4245 ] }, { - "teal": 2757, + "teal": 2794, "source": 49, "pc": [ - 4227 + 4246, + 4247, + 4248 ] }, { - "teal": 2758, + "teal": 2795, "source": 49, "pc": [ - 4228 + 4249, + 4250, + 4251, + 4252, + 4253, + 4254, + 4255, + 4256, + 4257, + 4258, + 4259, + 4260 ] }, { - "teal": 2759, + "teal": 2796, + "source": 49, + "pc": [ + 4261, + 4262 + ] + }, + { + "teal": 2797, "source": 49, "pc": [ - 4229 + 4263 ] }, { - "teal": 2760, + "teal": 2798, + "source": 49, + "pc": [ + 4264 + ] + }, + { + "teal": 2799, + "source": 49, + "pc": [ + 4265 + ] + }, + { + "teal": 2800, "source": 49 }, { - "teal": 2763, + "teal": 2803, "source": 49, "pc": [ - 4230, - 4231, - 4232 + 4266, + 4267, + 4268 ] }, { - "teal": 2764, + "teal": 2804, "source": 49, "pc": [ - 4233, - 4234 + 4269, + 4270 ] }, { - "teal": 2765, + "teal": 2805, "source": 49, "pc": [ - 4235 + 4271 ] }, { - "teal": 2766, + "teal": 2806, "source": 49, "pc": [ - 4236 + 4272 ] }, { - "teal": 2767, + "teal": 2807, "source": 49, "pc": [ - 4237, - 4238, - 4239 + 4273, + 4274, + 4275 ] }, { - "teal": 2768, + "teal": 2808, "source": 49, "pc": [ - 4240, - 4241 + 4276, + 4277 ] }, { - "teal": 2769, + "teal": 2809, "source": 49, "pc": [ - 4242 + 4278 ] }, { - "teal": 2772, + "teal": 2812, "source": 49, "pc": [ - 4243, - 4244 + 4279, + 4280 ] }, { - "teal": 2773, + "teal": 2813, "source": 49, "pc": [ - 4245, - 4246 + 4281, + 4282 ] }, { - "teal": 2774, + "teal": 2814, "source": 49, "pc": [ - 4247 + 4283 ] }, { - "teal": 2775, + "teal": 2815, "source": 49, "pc": [ - 4248 + 4284 ] }, { - "teal": 2776, + "teal": 2816, "source": 49, "pc": [ - 4249 + 4285 ] }, { - "teal": 2777, + "teal": 2817, "source": 49, "pc": [ - 4250, - 4251, - 4252 + 4286, + 4287, + 4288 ] }, { - "teal": 2778, + "teal": 2818, "source": 49, "pc": [ - 4253, - 4254 + 4289, + 4290 ] }, { - "teal": 2779, + "teal": 2819, "source": 49, "pc": [ - 4255, - 4256 + 4291, + 4292 ] }, { - "teal": 2780, + "teal": 2820, "source": 49, "pc": [ - 4257 + 4293 ] }, { - "teal": 2781, + "teal": 2821, "source": 49, "pc": [ - 4258, - 4259, - 4260 + 4294, + 4295, + 4296 ] }, { - "teal": 2782, + "teal": 2822, "source": 49, "pc": [ - 4261, - 4262, - 4263 + 4297, + 4298, + 4299 ] }, { - "teal": 2785, + "teal": 2825, "source": 49, "pc": [ - 4264 + 4300 ] }, { - "teal": 2788, + "teal": 2828, "source": 49, "pc": [ - 4265, - 4266 + 4301, + 4302 ] }, { - "teal": 2789, + "teal": 2829, "source": 49, "pc": [ - 4267, - 4268 + 4303, + 4304 ] }, { - "teal": 2790, + "teal": 2830, "source": 49, "pc": [ - 4269 + 4305 ] }, { - "teal": 2791, + "teal": 2831, "source": 49, "pc": [ - 4270, - 4271, - 4272 + 4306, + 4307, + 4308 ] }, { - "teal": 2792, + "teal": 2832, "source": 49, "pc": [ - 4273 + 4309 ] }, { - "teal": 2793, + "teal": 2833, "source": 49, "pc": [ - 4274 + 4310 ] } ], "source": { - "approval": "I3ByYWdtYSB2ZXJzaW9uIDEwCgovLyBUaGlzIFRFQUwgd2FzIGdlbmVyYXRlZCBieSBURUFMU2NyaXB0IHYwLjk2LjIKLy8gaHR0cHM6Ly9naXRodWIuY29tL2FsZ29yYW5kZm91bmRhdGlvbi9URUFMU2NyaXB0CgovLyAhISEhIFdBUk5JTkc6IFRoaXMgY29udHJhY3QgaXMgKk5PVCogQVJDNCBjb21wbGlhbnQuIEl0IG1heSBjb250YWluIEFCSSBtZXRob2RzLCBidXQgaXQgYWxzbyBhbGxvd3MgYXBwIGNhbGxzIHdoZXJlIHRoZSBmaXJzdCBhcmd1bWVudCBkb2VzIE5PVCBtYXRjaCBhbiBBQkkgc2VsZWN0b3IKCi8vIFRoZSBmb2xsb3dpbmcgdGVuIGxpbmVzIG9mIFRFQUwgaGFuZ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sgcjsggjsgG2JLIQJw2yGiOyAbOJNhoBSRUhCRJEiAACIkOKAQAhCUSJiAACIkOKAAAhCUSJiAACIkOKAAAiIQU/Ij4hBRJEiYgAAiJDigAAIQU1ADQAIgg1ADQAIQwSRImIAAIiQ4oAACUhBT8lPiIIJUw/JT4hDBJEiYgAAiJDigAAKCcEjACLADIDEkSJKTYaAReIAAUWULAiQ4oBASiL/yISQQAEJUIACIv/IgiMAIsAjACJiAACIkOKAACxJLIQgAShUxbeshoisjCACAAAAAAAAAAAshojsgGziYgAAiJDigAAsSSyECcOvkSyQCcPvkSyQCcOvkSyQicPvkSyQiOyAbOJiAACIkOKAAAjRImIAAIiQ4oAAACJNhoCFzYaAReIAAIiQ4oCAChJi/9JQQAFi/4iEhBBAAQlQgABI4wAiwBEi/9JQQAFi/4jEhBBAAaAATJCAAInEIwBiwGwiYoAACgxG0QjjACLADEbDEEADosAwBqwiwAiCIwAQv/qiSJDgAS4RHs2NhoAjgH/8QCABGJCZKOABLIF7cmABObpfVuABN1vp8iABA6mRPuABOwNkJSABGiEjZeABBi9I9yABIBr+5OABDvl+C6ABBKV1oOABLO4xHKABFPgtvCABEs+uHeABNrC56WABKPbZwSABK4hwXKABNq00cSABKe0rpqABG1EhbqABO9iYumABI0rZouABObBVPyABKl2QZeABJ27xCyABEwN3sGABDDs+0GABBSkmRmABLccF5qABJhIEJOABPVy0cGABIVN7eCABGgVmfqABF4Ud+iABOB7O+mABBbkZleABCyDb0aABKk8VvmABPk2lS2ABIjznJmABFh5TPSABDUEStiABH0nno6ABD36GMiABHjKXE6ABA5n6VeABDtEbu+ABK6C6HWABNaa9TCABE1S8z2ABCwM0gGABHDgr+WABDCi/vSABPOXHconDYAEnkDTS4AEkc8rWIAEsci0XIAEnA4b24AECjGVBIAEhLJg+oAESpCIVoAEjesy04AEZ94Vb4AEHkKEEoAEJ4/YuIAEv8NiCIAEBO7feTYaAI5E8JbwpfCz8Nzw//EP8R3xLPE78WTxo/G68czx4fIG8h7yT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EIEkSJiAACIkOKAAA6AQKwiSmIADZJk4GAAg5EgCD//////////////////////////////////////////6xJFUkhCQlMUlCwIkOKAAGAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAeJAiYgAAiJDigAAKLEkshAjsgErSbIesh8hBLIZsyKMAIsAgUsMQQAMiwBEiwAiCIwAQv/siSmIAAxJFRZXBgJMUFCwIkOKAAEogAJoaYwAMQAyChJBAAyACGluIGJsb2NrjACAA2J5ZUmMAIwAiSmIAAUWULAiQ4oAASgnBowAiwAjIQZJNfUWXYwANPWMAIkpiAAFFlCwIkOKAAEnDCJnJwwlSTX1ZzT1iSmIAAUWULAiQ4oAASgijACLACUISTX1jAA09YwAiSmIAAUWULAiQ4oAASgnBowAiwAjiwBXAAgXIQYISTX1Fl2MADT1jACJKYgABRZQsCJDigABJwcnBmcnB2QjJwdkVwAIFyEGCEk19RZdJwdMZzT1iYgAAiJDigAAKioSRCEHSRJEIQdJEkSJiAACIkOKAAAjRImIAAIiQ4oAACcFI1knBSNaJwUjWycFSScEhCcFSScEBImIAAIiQ4oAAChJsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzsSSyECOyAStJsh6yHyEEshmzJwSAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJwTQAIwAjAGLABREiwGwiYgAAiJDigAAKChJ4QAoSeIAJwWMACgnBeMAKOQAKOUAKEngAImIAAIiQ4oAACi3AACwIowAtwEAsImIAAIiQ4oAACojIlSwKiNTKiNVKiMiVomIAAIiQ4oAACEHIyJURCEHI1OJiAACIkOKAAAyBiIJ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AT5NpUtgASI85yZgARYeUz0gAQ1BErYgAR9J56OgAQ9+hjIgAR4ylxOgAQOZ+lXgAQ7RG7vgASuguh1gATWmvUwgARNUvM9gAQsDNIBgARw4K/lgAQwov70gATzlx3KJw2ABJ5A00uABJHPK1iABLHItFyABJwOG9uABAoxlQSABISyYPqABEqQiFaABI3rMtOABGfeFW+ABB5ChBKABCeP2LiABL/DYgiABATu33mABDXV+8c2GgCORfBy8IHwj/C48Nvw6/D58QjxF/FA8X/xlvGo8b3x4vH68ijyh/KZ8qzyxvLf8vLzRfOo88j33/f5+BP4Jfgy+JL4xfj++SD5OvlY+YH5rPnD+c757/r/+yT7OftR+2T7e/uI+6D7rvu7+8n75PwG/Bn8PPxR/F38cPyJ/KP8t/ze/Qb9L/06/UT9q4j9h4oBAYAKMDEyMzQ1Njc4OYv/IliJigEBi/8jEkEAAycQiYv/IQoKIw1BAAuL/yEKCoj/4UIAASiL/yEKGIj/wVCJ", "clear": "Cg==" }, "compilerInfo": { diff --git a/tests/contracts/general.algo.ts b/tests/contracts/general.algo.ts index fc4a8587e..8007e7cd8 100644 --- a/tests/contracts/general.algo.ts +++ b/tests/contracts/general.algo.ts @@ -512,4 +512,14 @@ class GeneralTest extends Contract { log(this.txn.applicationArgs![i]); } } + + multilineFunctionCall(): void { + const app = AppID.zeroIndex; + const addr = Address.zeroAddress; + // eslint-disable-next-line prettier/prettier + app.localState( + addr, + 'key' + ) as uint64; + } }