Skip to content

Commit

Permalink
chore: add natspec
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Migone <[email protected]>
  • Loading branch information
tmigone committed Sep 19, 2023
1 parent cc005fc commit 4b457a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/GelatoManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ contract GelatoManager is AutomateTaskCreator, Governed {
emit ResolverTaskCancelled(taskId);
}

/**
* @notice Sets the maximum gas price for task execution
* @param newGasPrice The updated value for `maxGasPrice`
*/
function _setMaxGasPrice(uint256 newGasPrice) internal {
if (newGasPrice == 0) revert GasPriceCannotBeZero();
maxGasPrice = newGasPrice;
Expand Down

0 comments on commit 4b457a3

Please sign in to comment.