diff --git a/sampleWorkspace/errors/app/simulate-response.json b/sampleWorkspace/errors/app/simulate-response.json index f89b50a..f3aec87 100644 --- a/sampleWorkspace/errors/app/simulate-response.json +++ b/sampleWorkspace/errors/app/simulate-response.json @@ -11,9 +11,7 @@ { "app-budget-added": 700, "app-budget-consumed": 2, - "failed-at": [ - 1 - ], + "failed-at": [1], "failure-message": "transaction Z4XYNPFASUB3NMVQQUVY3MM74IMSZTJKWSWTTUIBX5GZZNIS2ZEA: transaction rejected by ApprovalProgram", "txn-results": [ { diff --git a/sampleWorkspace/errors/inner-app/app-reject-simulate-response.json b/sampleWorkspace/errors/inner-app/app-reject-simulate-response.json index 506381a..f9c30f6 100644 --- a/sampleWorkspace/errors/inner-app/app-reject-simulate-response.json +++ b/sampleWorkspace/errors/inner-app/app-reject-simulate-response.json @@ -11,10 +11,7 @@ { "app-budget-added": 1400, "app-budget-consumed": 15, - "failed-at": [ - 0, - 0 - ], + "failed-at": [0, 0], "failure-message": "transaction 2APGJLEQVGE3ZVHPR6UNSFWAW7BGYYVKVCFENWX4CBZUM5CQX7EQ: logic eval error: logic eval error: assert failed pc=10. Details: pc=10, opcodes=txna ApplicationArgs 0; btoi; assert; label1:. Details: pc=21, opcodes=txna ApplicationArgs 0; itxn_field ApplicationArgs; itxn_submit; label1:", "txn-results": [ { @@ -79,9 +76,7 @@ }, { "pc": 21, - "spawned-inners": [ - 0 - ] + "spawned-inners": [0] } ], "inner-trace": [ @@ -133,9 +128,7 @@ "pool-error": "", "txn": { "txn": { - "apaa": [ - "AAAAAAAAAAA=" - ], + "apaa": ["AAAAAAAAAAA="], "apid": 1007, "fee": 1000, "fv": 11, @@ -150,12 +143,8 @@ "txn": { "sig": "qGI2+ooLqAU0+5jUDhNUzneSQrq+WoB6lPmezTmiUTASkCwR/ttI53flPOqUDoOjnoyEAVpWN8L9jemrL9ybBA==", "txn": { - "apaa": [ - "AAAAAAAAAAA=" - ], - "apfa": [ - 1007 - ], + "apaa": ["AAAAAAAAAAA="], + "apfa": [1007], "apid": 1011, "fee": 1000, "fv": 11, diff --git a/sampleWorkspace/errors/inner-app/overspend-simulate-response.json b/sampleWorkspace/errors/inner-app/overspend-simulate-response.json index f22a684..91fba89 100644 --- a/sampleWorkspace/errors/inner-app/overspend-simulate-response.json +++ b/sampleWorkspace/errors/inner-app/overspend-simulate-response.json @@ -11,10 +11,7 @@ { "app-budget-added": 1400, "app-budget-consumed": 10, - "failed-at": [ - 0, - 0 - ], + "failed-at": [0, 0], "failure-message": "transaction 2APGJLEQVGE3ZVHPR6UNSFWAW7BGYYVKVCFENWX4CBZUM5CQX7EQ: logic eval error: overspend (account YCVGIALPB5UCXY3QS4ICXLGXXAAFCA35QAEUB2MSBH7J6UJQU5D3LEY36Q, data {AccountBaseData:{Status:Offline MicroAlgos:{Raw:0} RewardsBase:0 RewardedMicroAlgos:{Raw:0} AuthAddr:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ TotalAppSchema:{_struct:{} NumUint:0 NumByteSlice:0} TotalExtraAppPages:0 TotalAppParams:0 TotalAppLocalStates:0 TotalAssetParams:0 TotalAssets:0 TotalBoxes:0 TotalBoxBytes:0} VotingData:{VoteID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] SelectionID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] StateProofID:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] VoteFirstValid:0 VoteLastValid:0 VoteKeyDilution:0}}, tried to spend {1000}). Details: pc=21, opcodes=txna ApplicationArgs 0; itxn_field ApplicationArgs; itxn_submit; label1:", "txn-results": [ { @@ -79,14 +76,10 @@ }, { "pc": 21, - "spawned-inners": [ - 0 - ] + "spawned-inners": [0] } ], - "inner-trace": [ - {} - ] + "inner-trace": [{}] }, "txn-result": { "inner-txns": [ @@ -94,9 +87,7 @@ "pool-error": "", "txn": { "txn": { - "apaa": [ - "AAAAAAAAAAA=" - ], + "apaa": ["AAAAAAAAAAA="], "apid": 1007, "fee": 1000, "fv": 11, @@ -111,12 +102,8 @@ "txn": { "sig": "qGI2+ooLqAU0+5jUDhNUzneSQrq+WoB6lPmezTmiUTASkCwR/ttI53flPOqUDoOjnoyEAVpWN8L9jemrL9ybBA==", "txn": { - "apaa": [ - "AAAAAAAAAAA=" - ], - "apfa": [ - 1007 - ], + "apaa": ["AAAAAAAAAAA="], + "apfa": [1007], "apid": 1011, "fee": 1000, "fv": 11, diff --git a/sampleWorkspace/errors/logicsig/simulate-response.json b/sampleWorkspace/errors/logicsig/simulate-response.json index 538f89d..60b29c0 100644 --- a/sampleWorkspace/errors/logicsig/simulate-response.json +++ b/sampleWorkspace/errors/logicsig/simulate-response.json @@ -9,9 +9,7 @@ "last-round": 5, "txn-groups": [ { - "failed-at": [ - 1 - ], + "failed-at": [1], "failure-message": "transaction {_struct:{} Sig:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] Msig:{_struct:{} Version:0 Threshold:0 Subsigs:[]} Lsig:{_struct:{} Logic:[9 49 1 20 0 49 32 50 3 18 16] Sig:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] Msig:{_struct:{} Version:0 Threshold:0 Subsigs:[]} Args:[]} Txn:{_struct:{} Type:pay Header:{_struct:{} Sender:NYWSPJOL42GPOSJL5CHLLMTF2OI65DK45BNODHB2AZDYJ6AS4F73VDTYVU Fee:{Raw:2000} FirstValid:5 LastValid:1005 Note:[1 144 175 4 138 220 202 59] GenesisID:sandnet-v1 GenesisHash:BVREH7YVGVO5UWDWAZUFINGEJMQMWE7QCUBNTMVTE5WI2JA2QF7A Group:RHWBU7AW2AA52WP55GM3UYK22BGA4XR3XJQQTSZDWZSUWW74VFYQ Lease:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] RekeyTo:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} KeyregTxnFields:{_struct:{} VotePK:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] SelectionPK:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] StateProofPK:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] VoteFirst:0 VoteLast:0 VoteKeyDilution:0 Nonparticipation:false} PaymentTxnFields:{_struct:{} Receiver:5AI27VDGCCIDV425ZUJPKDCTP3R5P2T6VFJYZV4C4NBWII3INIQ6IKHMCU Amount:{Raw:12345} CloseRemainderTo:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} AssetConfigTxnFields:{_struct:{} ConfigAsset:0 AssetParams:{_struct:{} Total:0 Decimals:0 DefaultFrozen:false UnitName: AssetName: URL: MetadataHash:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] Manager:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ Reserve:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ Freeze:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ Clawback:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ}} AssetTransferTxnFields:{_struct:{} XferAsset:0 AssetAmount:0 AssetSender:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ AssetReceiver:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ AssetCloseTo:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} AssetFreezeTxnFields:{_struct:{} FreezeAccount:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ FreezeAsset:0 AssetFrozen:false} ApplicationCallTxnFields:{_struct:{} ApplicationID:0 OnCompletion:NoOpOC ApplicationArgs:[] Accounts:[] ForeignApps:[] Boxes:[] ForeignAssets:[] LocalStateSchema:{_struct:{} NumUint:0 NumByteSlice:0} GlobalStateSchema:{_struct:{} NumUint:0 NumByteSlice:0} ApprovalProgram:[] ClearStateProgram:[] ExtraProgramPages:0} StateProofTxnFields:{_struct:{} StateProofType:0 StateProof:StateProof: {} Message:{_struct:{} BlockHeadersCommitment:[] VotersCommitment:[] LnProvenWeight:0 FirstAttestedRound:0 LastAttestedRound:0}}} AuthAddr:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ} invalid : transaction SDZ7UTMY5TJPLCTIOXHAKGT3HHMATQWC46OKPD6L54Z2RGXPMJOA: rejected by logic err=err opcode executed. Details: pc=4, opcodes=txn Fee; !; err", "txn-results": [ {