Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling #218

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion scripts/rollupCreation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export async function createRollup(
// 0.13 ETH is enough to deploy L2 factories via retryables. Excess is refunded
let feeCost = ethers.utils.parseEther('0.13')
if (feeToken != ethers.constants.AddressZero) {
// in case fees are paid via fee token, then approve rollup cretor to spend required amount
// in case fees are paid via fee token, then approve rollup creator to spend required amount
feeCost = await _getPrescaledAmount(
ERC20__factory.connect(feeToken, signer),
feeCost
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/AbsBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ abstract contract AbsBridge is Initializable, DelegateCallAware, IBridge {
// We set and reset active outbox around external call so activeOutbox remains valid during call

// We use a low level call here since we want to bubble up whether it succeeded or failed to the caller
// rather than reverting on failure as well as allow contract and non-contract calls
// rather than reverting on failure as well as allowing contract and non-contract calls
(success, returnData) = _executeLowLevelCall(to, value, data);

_activeOutbox = prevOutbox;
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/AbsInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ abstract contract AbsInbox is DelegateCallAware, PausableUpgradeable, IInboxBase

/// @dev this modifier checks the tx.origin instead of msg.sender for convenience (ie it allows
/// allowed users to interact with the token bridge without needing the token bridge to be allowList aware).
/// this modifier is not intended to use to be used for security (since this opens the allowList to
/// this modifier is not intended to be used for security (since this opens the allowList to
/// a smart contract phishing risk).
modifier onlyAllowed() {
// solhint-disable-next-line avoid-tx-origin
Expand Down
Loading