Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/L1/SystemConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ contract SystemConfig is ProxyAdminOwnedBase, OwnableUpgradeable, Reinitializabl
}

/// @notice Internal function for updating the DA footprint gas scalar.
function _setDAFootprintGasScalar(uint16 _dAFootprintGasScalar) internal {
daFootprintGasScalar = _dAFootprintGasScalar;
function _setDAFootprintGasScalar(uint16 _daFootprintGasScalar) internal {
daFootprintGasScalar = _daFootprintGasScalar;

bytes memory data = abi.encode(_dAFootprintGasScalar);
bytes memory data = abi.encode(_daFootprintGasScalar);
emit ConfigUpdate(VERSION, UpdateType.DA_FOOTPRINT_GAS_SCALAR, data);
}

Expand Down
4 changes: 2 additions & 2 deletions src/L1/proofs/v2/FaultDisputeGameV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -564,15 +564,15 @@ contract FaultDisputeGameV2 is Clone, ISemver {
}

/// @notice Defend an agreed upon `Claim`.
/// @notice _disputed The `Claim` being defended.
/// @param _disputed The `Claim` being defended.
/// @param _parentIndex Index of the claim to defend in the `claimData` array. This must match the `_disputed`
/// claim.
/// @param _claim The `Claim` at the relative defense position.
function defend(Claim _disputed, uint256 _parentIndex, Claim _claim) external payable {
move(_disputed, _parentIndex, _claim, false);
}

/// @notice Posts the requested local data to the VM's `PreimageOralce`.
/// @notice Posts the requested local data to the VM's `PreimageOracle`.
/// @param _ident The local identifier of the data to post.
/// @param _execLeafIdx The index of the leaf claim in an execution subgame that requires the local data for a step.
/// @param _partOffset The offset of the data to post.
Expand Down
2 changes: 1 addition & 1 deletion src/L1/proofs/v2/PermissionedDisputeGameV2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ contract PermissionedDisputeGameV2 is FaultDisputeGameV2 {
}

/// @notice Generic move function, used for both `attack` and `defend` moves.
/// @notice _disputed The disputed `Claim`.
/// @param _disputed The disputed `Claim`.
/// @param _challengeIndex The index of the claim being moved against. This must match the `_disputed` claim.
/// @param _claim The claim at the next logical position in the game.
/// @param _isAttack Whether or not the move is an attack or defense.
Expand Down