Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsuryansh committed Dec 9, 2024
1 parent ab7ffa1 commit 6c884cb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contracts/src/v0.8/ccip/ocr/MultiOCR3Base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ abstract contract MultiOCR3Base is ITypeAndVersion, Ownable2StepMsgSender {
uint256 internal immutable i_chainID;

/// @dev The address used to send calls for gas estimation.
/// You only need to use this address if the minimum gas limit specified by the user is not actually enough to execute the
/// given message and you're attempting to estimate the actual necessary gas limit
address internal immutable i_gasEstimationSender;

constructor() {
i_chainID = block.chainid;
/// You only need to use this address if the minimum gas limit specified by the user is not actually enough to execute the
/// given message and you're attempting to estimate the actual necessary gas limit. We
/// use address(1) because it's the ecrecover precompile and therefore guaranteed to

/// We use address(1) because it's the ecrecover precompile and therefore guaranteed to
/// never have any code on any EVM chain.
i_gasEstimationSender = address(1);
}
Expand Down

0 comments on commit 6c884cb

Please sign in to comment.