Skip to content

Commit

Permalink
Change max event data size from 512 to 1024
Browse files Browse the repository at this point in the history
  • Loading branch information
sydhds committed Jan 20, 2025
1 parent fdd77b0 commit 5729f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-models/src/config/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5729f46

Please sign in to comment.