Skip to content

Commit

Permalink
Fixed max recursion for runGetMethod (#101)
Browse files Browse the repository at this point in the history
* Fixed max recursion for runGetMethod
* Updated requirements
  • Loading branch information
kdimentionaltree authored Jan 23, 2024
1 parent 9d63c5e commit cbb4163
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ton-http-api/.docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:20.04

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
RUN apt-get install -y git cmake wget python3 python3-pip
RUN apt-get install -y git cmake wget python3 python3-pip libsecp256k1-dev libsodium-dev

# python requirements
ADD ./requirements.txt /tmp/requirements.txt
Expand Down
2 changes: 2 additions & 0 deletions ton-http-api/pyTON/main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/python3
import os
import sys
sys.setrecursionlimit(2048)

import json
import asyncio
import base64
Expand Down
14 changes: 7 additions & 7 deletions ton-http-api/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
redis==5.0.1
loguru>=0.6.0
fastapi>=0.78.0,<0.79.0
pydantic>=1.9.1,<2.0.0
requests>=2.28.0
loguru==0.6.0
fastapi==0.99.1
pydantic==1.10.14
requests==2.28.0
ring==0.10.1
uvicorn>=0.17.6
gunicorn>=20.1.0
pytonlib==0.0.51
uvicorn==0.17.6
gunicorn==20.1.0
pytonlib==0.0.53
inject==4.3.1
16 changes: 8 additions & 8 deletions ton-http-api/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
packages=find_packages('.', exclude=['tests']),
install_requires=[
'redis==5.0.1',
'loguru>=0.6.0',
'fastapi>=0.78.0',
'pydantic>=1.9.1',
'requests>=2.28.0',
'loguru==0.6.0',
'fastapi==0.99.1',
'pydantic==1.10.14',
'requests==2.28.0',
'ring==0.10.1',
'uvicorn>=0.17.6',
'gunicorn>=20.1.0',
'pytonlib==0.0.43',
'inject>=4.3.1'
'uvicorn==0.17.6',
'gunicorn==20.1.0',
'pytonlib==0.0.53',
'inject==4.3.1'
],
package_data={},
zip_safe=True,
Expand Down

0 comments on commit cbb4163

Please sign in to comment.