Skip to content

Commit

Permalink
ABI: skip live parsing for getters
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Oct 25, 2024
1 parent f1ae3cb commit e4c4346
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def finalize_options(self):

setup(
name="tonpy" if not IS_DEV else "tonpy-dev",
version="0.0.0.1.2c0" if not IS_DEV else "0.0.0.5.3a1",
version="0.0.0.1.2c0" if not IS_DEV else "0.0.0.5.3b1",
author="Disintar LLP",
author_email="[email protected]",
description="Types / API for TON blockchain",
Expand Down
2 changes: 2 additions & 0 deletions src/tonpy/abi/getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ def get_columns(self):
def parse_getters(self, tvm: TVM, tlb_sources, force_all: bool = False) -> dict:
if self.method_args and len(self.method_args) > 0:
return {}
elif self.labels.get('skipLive', False):
return {}

tvm.set_stack([self.method_id])
stack = tvm.run(allow_non_success=True, unpack_stack=False)
Expand Down

0 comments on commit e4c4346

Please sign in to comment.