Skip to content

Commit

Permalink
docs: update natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeoneth committed Oct 8, 2024
1 parent ba6214d commit 13036a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libraries/GasRefundEnabled.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ abstract contract GasRefundEnabled {
uint256 internal immutable gasPerBlob = 2 ** 17;

/// @dev this refunds the sender for execution costs of the tx
/// calldata costs are only refunded if `msg.sender == tx.origin` to guarantee the value refunded relates to charging
/// calldata costs are only refunded if `isCalldataSameAsTx()` is true to guarantee the value refunded relates to charging
/// for the `tx.input`. this avoids a possible attack where you generate large calldata from a contract and get over-refunded
modifier refundsGas(IGasRefunder gasRefunder, IReader4844 reader4844) {
uint256 startGasLeft = gasleft();
Expand Down

0 comments on commit 13036a6

Please sign in to comment.