Skip to content

Commit

Permalink
Use MAX_EVENT_PER_OPERATION constant
Browse files Browse the repository at this point in the history
  • Loading branch information
sydhds committed Nov 29, 2024
1 parent 254cf01 commit 80ed835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-node/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ async fn launch(
// The value remains for future use & limitations
max_call_stack_length: u16::MAX,

max_events_per_operation: 25u64, // MAX_EVENTS_PER_OPERATION - TODO: rebase
max_events_per_operation: MAX_EVENT_PER_OPERATION as u64,
max_operations_per_block: MAX_OPERATIONS_PER_BLOCK as u64,
max_events_per_query: MAX_EVENTS_PER_QUERY,
tick_delay: Duration::from_millis(EVENT_CACHE_TICK_DELAY),
Expand Down

0 comments on commit 80ed835

Please sign in to comment.