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

Typos #194

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Typos #194

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 contracts/misc/LensHubInitializable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {VersionedInitializable} from 'contracts/base/upgradeability/VersionedIni
* @notice Extension of LensHub contract that includes initialization for fresh deployments.
*
* @custom:upgradeable Transparent upgradeable proxy.
* See `../LensHub.sol` for the version without initalizer.
* See `../LensHub.sol` for the version without initializer.
*/
contract LensHubInitializable is LensHub, VersionedInitializable, ILensHubInitializable {
// Constant for upgradeability purposes, see VersionedInitializable.
Expand Down
2 changes: 1 addition & 1 deletion script/verifyStorageSlots.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This script compares the Storage Layout differences before/after the upgrade ("old"/"new" implementations).
# The addresses are taken from the addresses.json
# The address of previous implentation if fetched from TransparentProxy "implementation()" slot.
# The address of previous implementation if fetched from TransparentProxy "implementation()" slot.
# The previous implementation source code is fetched from the block explorer.
# New implementation is assumed to be deployed and the new address is fetched from the addresses.json
# Storage Layouts are generated from both implementations and compared using diff
Expand Down
2 changes: 1 addition & 1 deletion test/LensBaseERC721Test.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ abstract contract LensBaseERC721Test is ERC721Test {
// Minting to address(0) is tested through the MockNFT instead of using `_LensERC721()._mintERC721(address(0))`
// because on inherited test contracts like FollowNFTTest, ProfileNFTTest, etc, we cannot reach the required
// preconditions to test it (e.g. a profile being owned by address(0), to then perform a follow or collect).
// This test can be overriden by any future contract that can meet the needed preconditions.
// This test can be overridden by any future contract that can meet the needed preconditions.
function testCannot_MintToZero(uint256 tokenId) public virtual {
MockNFT nft = new MockNFT();

Expand Down
4 changes: 2 additions & 2 deletions test/ReferralSystem.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ abstract contract ReferralSystemTest is BaseTest {
_executeOperation(target, quoteOrCommentAsReferralPub);
}

// One special case is a post as referal for reference node
// One special case is a post as referral for reference node
console.log('Special case: Target as a quote/comment node and pass post as referral');
TestPublication memory referralPub = treeV2.post;
// vm.expectCall /* */();
Expand Down Expand Up @@ -256,7 +256,7 @@ abstract contract ReferralSystemTest is BaseTest {
console.log('Preparing operation...');
_referralSystem_PrepareOperation(target, referralPub);

// Shoule revert as V1-contaminated trees don't have a root and only allow downwards referrals
// Should revert as V1-contaminated trees don't have a root and only allow downwards referrals
if (!_referralSystem_ExpectRevertsIfNeeded(target, referralPub)) {
vm.expectRevert(Errors.InvalidReferrer.selector);
}
Expand Down