Skip to content

Commit 31367bc

Browse files
committed
Use c++14
1 parent d97743e commit 31367bc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def finalize_options(self):
3131

3232
setup(
3333
name="tonpy" if not IS_DEV else "tonpy-dev",
34-
version="0.0.0.1.4b0",
34+
version="0.0.0.1.4c0",
3535
author="Disintar LLP",
3636
author_email="andrey@head-labs.com",
3737
description="Types / API for TON blockchain",

src/tonpy/tests/test_tvm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
from tonpy.fift.fift import convert_assembler
44
from tonpy.tvm.tvm import TVM, method_name_to_id
55
from tonpy.types import Cell, CellSlice, CellBuilder, Stack, StackEntry, Continuation, VmDict
6+
import faulthandler
7+
8+
faulthandler.enable()
69

710

811
def test_simple_tvm():
@@ -157,3 +160,6 @@ def test_set_gas_limit():
157160
t.set_gas_limit(0)
158161
t.run(allow_non_success=True)
159162
assert t.exit_code == 13 # out of gas
163+
164+
if __name__ == "__main__":
165+
test_set_gas_limit()

src/tonpy/types/vmdict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def __init__(self, key_len: int,
145145
cell_root = cs.cell_slice
146146

147147
if aug is None:
148-
self.dict = PyDict(key_len, signed, cell_root)
148+
self.dict = PyDict(bit_len=key_len, signed=signed, cs_root=cell_root)
149149
self.is_augmented = False
150150
else:
151151
self.aug = aug

0 commit comments

Comments
 (0)