From 5729f469d66974e63ee57c17c5757341fc3082c7 Mon Sep 17 00:00:00 2001 From: sydhds Date: Mon, 20 Jan 2025 11:19:06 +0100 Subject: [PATCH] Change max event data size from 512 to 1024 --- massa-models/src/config/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/massa-models/src/config/constants.rs b/massa-models/src/config/constants.rs index 7d284a5b0a..974ed50634 100644 --- a/massa-models/src/config/constants.rs +++ b/massa-models/src/config/constants.rs @@ -309,7 +309,7 @@ pub const ASYNC_MSG_CST_GAS_COST: u64 = 750_000; /// Gas used by a base operation (transaction, roll buy, roll sell) pub const BASE_OPERATION_GAS_COST: u64 = 800_000; // approx MAX_GAS_PER_BLOCK / MAX_OPERATIONS_PER_BLOCK /// Maximum event size in bytes -pub const MAX_EVENT_DATA_SIZE: usize = 512; +pub const MAX_EVENT_DATA_SIZE: usize = 1024; /// Maximum event number that can be emitted for an operation pub const MAX_EVENT_PER_OPERATION: usize = 25; /// Maximum number of recursion for calls