From 86a81b64f49d96b944fabc8e9866acdd674f4f80 Mon Sep 17 00:00:00 2001 From: magicalne Date: Mon, 10 Oct 2022 10:41:17 +0800 Subject: [PATCH] feat: increase size limit to 128k of return data --- crates/generator/src/syscalls/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/generator/src/syscalls/mod.rs b/crates/generator/src/syscalls/mod.rs index 65eed6e66..8cd73969d 100644 --- a/crates/generator/src/syscalls/mod.rs +++ b/crates/generator/src/syscalls/mod.rs @@ -37,7 +37,7 @@ pub mod error_codes; /* Constants */ // 25KB is max ethereum contract code size -const MAX_SET_RETURN_DATA_SIZE: u64 = 1024 * 25; +const MAX_SET_RETURN_DATA_SIZE: u64 = 1024 * 128; /* Syscall account store / load / create */ const SYS_CREATE: u64 = 3100;