Skip to main content

tealinspector

As a developer error like below is not descriptive,

AlgodHTTPError: TransactionPool.Remember: transaction T4EVC7YANLFGBO5KJRIDEAYZBN3KKJC2B7VFRY4ZFMTSZOPTHBTQ: logic eval error: assert failed pc=1328. Details: pc=1328, opcodes===
&&
assert

This package gets the lines from the "pc".

Install the dependency

pip install tealinspector

Use in CLI

tealinspector --network mainnet --application_id 942781578 --program_counter 1328

Additionally,

  • --network is optional. The default value is mainnet.
  • --line_count parameter can be passed. The default value is 25.

Output

Line: 594
569 &&
570 gtxn 4 Fee
571 global MinTxnFee
572 intc 10 // 9
573 *
574 ==
575 &&
576 gtxn 4 NumAppArgs
577 intc_0 // 1
578 ==
579 &&
580 gtxna 4 Assets 0
581 bytec_2 // "global_list_asset"
582 app_global_get
583 ==
584 &&
585 gtxna 4 Accounts 1
586 bytec_1 // "global_list_owner"
587 app_global_get
588 ==
589 &&
590 gtxna 4 Accounts 2
591 bytec 8 // addr KQMEN76UOQEHGXPBXUMRGW3KFI7Z57IFXBXWO77HAXYKMISCZF5CAOOITI
592 ==
593 &&
594 assert <----------

About

Developed by Hipo. Licensed under MIT.

Release files for tealinspector 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tealinspector 0.1.0
File Size Uploaded
tealinspector-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tealinspector 0.1.0
File Interpreter ABI Platform
tealinspector-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / tealinspector-0.1.0.tar.gz

Download URL tealinspector-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d72a63fda4138033856795efb221b725760b0e8a993791c220a75f482bcc2dd8
BLAKE2b-256 checksum
How to use checksums
eb69c2054788fd4d531ffae7aee5007a2f8921cf3c652bbd879fe7b148b40590
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.9

Release files / tealinspector-0.1.0-py3-none-any.whl

Download URL tealinspector-0.1.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0eb2b179932628755455182b16649f048dabb74f5ef1077235b9bc8499aeee1
BLAKE2b-256 checksum
How to use checksums
1de114eadf9547c1890b6e1023685b6322737be5349d3ce0984e683bef9b717c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page