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
4 changes: 2 additions & 2 deletions src/libraries/Error.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ error NotOrigin();
error DataTooLarge(uint256 dataLength, uint256 maxDataLength);

/// @dev The provided is not a contract and was expected to be
/// @param addr The adddress in question
/// @param addr The address in question
error NotContract(address addr);

/// @dev The merkle proof provided was too long
Expand Down Expand Up @@ -173,7 +173,7 @@ error NoSuchKeyset(bytes32);
/// @dev Thrown when the provided address is not the designated batch poster manager
error NotBatchPosterManager(address);

/// @dev Thrown when a data blob feature is attempted to be used on a chain that doesnt support it
/// @dev Thrown when a data blob feature is attempted to be used on a chain that doesn't support it
error DataBlobsNotSupported();

/// @dev Thrown when an init param was supplied as empty
Expand Down
2 changes: 1 addition & 1 deletion src/node-interface/NodeInterface.sol
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ interface NodeInterface {
* @notice Gets the number of L1 confirmations of the sequencer batch producing the requested L2 block
* This gets the number of L1 confirmations for the input message producing the L2 block,
* which happens well before the L1 rollup contract confirms the L2 block.
* Throws if block doesnt exist in the L2 chain.
* Throws if block doesn't exist in the L2 chain.
* @dev Use eth_call to call.
* @param blockHash The hash of the L2 block being queried
* @return confirmations The number of L1 confirmations the sequencer batch has. Returns 0 if block not yet included in an L1 batch.
Expand Down
4 changes: 2 additions & 2 deletions src/rollup/RollupUserLogic.sol
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ abstract contract AbsRollupUserLogic is
/**
* @notice Refund a staker that is currently staked on or before the latest confirmed node
* @dev Since a staker is initially placed in the latest confirmed node, if they don't move it
* a griefer can remove their stake. It is recomended to batch together the txs to place a stake
* a griefer can remove their stake. It is recommended to batch together the txs to place a stake
* and move it to the desired node.
* @param stakerAddress Address of the staker whose stake is refunded
*/
Expand Down Expand Up @@ -289,7 +289,7 @@ abstract contract AbsRollupUserLogic is
}

/**
* @notice Reduce the amount staked for the sender (difference between initial amount staked and target is creditted back to the sender).
* @notice Reduce the amount staked for the sender (difference between initial amount staked and target is credited back to the sender).
* @param target Target amount of stake for the staker. If this is below the current minimum, it will be set to minimum instead
*/
function reduceDeposit(uint256 target) external onlyValidator whenNotPausedOrDeprecated {
Expand Down
2 changes: 1 addition & 1 deletion test/foundry/ERC20Bridge.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ contract ERC20BridgeTest is AbsBridgeTest {
"Invalid bridge native token balance after unsuccessful extra call"
);

// vault successfully recieved native token even though extra call was unsuccessful (we didn't revert it)
// vault successfully received native token even though extra call was unsuccessful (we didn't revert it)
uint256 vaultNativeTokenBalanceAfter = nativeToken.balanceOf(address(vault));
assertEq(
vaultNativeTokenBalanceAfter - vaultNativeTokenBalanceBefore,
Expand Down
Loading