toncenter / ton-http-api

HTTP API for TON (The Open Network)
https://toncenter.com
GNU General Public License v3.0
164 stars 25 forks source link

Fixed max recursion for runGetMethod #101

Closed kdimentionaltree closed 5 months ago

kdimentionaltree commented 5 months ago

This PR fixes bug with recursion depth overflow, which occurred at get_jetton_data on contract EQAwzfay8mKNj5jLjIrpig4EcI79lBIGfHj6diIymY67x0iM.

Example of request body for method runGetMethod:

{
  "address": "EQAwzfay8mKNj5jLjIrpig4EcI79lBIGfHj6diIymY67x0iM",
  "method": "get_jetton_data",
  "stack": []
}