Skip to content

Commit

Permalink
update max_async_gas for async msg
Browse files Browse the repository at this point in the history
  • Loading branch information
modship committed Aug 16, 2024
1 parent ac7ccde commit ebe33e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion massa-execution-worker/src/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ impl ExecutionState {

// Get asynchronous messages to execute
let messages = execution_context.take_async_batch(
self.config.max_async_gas,
self.config.max_async_gas.saturating_sub(calls.slot_gas),
self.config.async_msg_cst_gas_cost,
);

Expand Down

0 comments on commit ebe33e1

Please sign in to comment.