From 348ea4ea3a44d71ee021f04f6e9a28454454e2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Giba=C5=82a?= Date: Fri, 4 Oct 2024 17:05:47 +0200 Subject: [PATCH] Increase lite server gas limit --- validator/impl/liteserver.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validator/impl/liteserver.hpp b/validator/impl/liteserver.hpp index 447e1dad4..38d52bffd 100644 --- a/validator/impl/liteserver.hpp +++ b/validator/impl/liteserver.hpp @@ -76,7 +76,9 @@ class LiteQuery : public td::actor::Actor { enum { default_timeout_msec = 4500, // 4.5 seconds max_transaction_count = 16, // fetch at most 16 transactions in one query - client_method_gas_limit = 300000 // gas limit for liteServer.runSmcMethod + // Modified by Chorus to make it possible to execute some lite server methods + // server side, without running TVM client side (as liteclient binary does). + client_method_gas_limit = 1000000 // gas limit for liteServer.runSmcMethod }; enum { ls_version = 0x101,