mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-12 19:22:37 +00:00
Increase emulator capability to (de)serialize data (#811)
This commit is contained in:
parent
6b8994e456
commit
d9580eab1b
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ const char *tvm_emulator_run_get_method(void *tvm_emulator, int method_id, const
|
||||||
auto emulator = static_cast<emulator::TvmEmulator *>(tvm_emulator);
|
auto emulator = static_cast<emulator::TvmEmulator *>(tvm_emulator);
|
||||||
auto result = emulator->run_get_method(method_id, stack);
|
auto result = emulator->run_get_method(method_id, stack);
|
||||||
|
|
||||||
vm::FakeVmStateLimits fstate(1000); // limit recursive (de)serialization calls
|
vm::FakeVmStateLimits fstate(3500); // limit recursive (de)serialization calls
|
||||||
vm::VmStateInterface::Guard guard(&fstate);
|
vm::VmStateInterface::Guard guard(&fstate);
|
||||||
|
|
||||||
vm::CellBuilder stack_cb;
|
vm::CellBuilder stack_cb;
|
||||||
|
|
Loading…
Reference in a new issue