diff --git a/contracts/misc/LensHubInitializable.sol b/contracts/misc/LensHubInitializable.sol index 6fce830a..276458ea 100644 --- a/contracts/misc/LensHubInitializable.sol +++ b/contracts/misc/LensHubInitializable.sol @@ -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. diff --git a/script/verifyStorageSlots.sh b/script/verifyStorageSlots.sh index 8a124e91..a5ae516e 100644 --- a/script/verifyStorageSlots.sh +++ b/script/verifyStorageSlots.sh @@ -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 diff --git a/test/LensBaseERC721Test.t.sol b/test/LensBaseERC721Test.t.sol index 01f1852c..16286bc3 100644 --- a/test/LensBaseERC721Test.t.sol +++ b/test/LensBaseERC721Test.t.sol @@ -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(); diff --git a/test/ReferralSystem.t.sol b/test/ReferralSystem.t.sol index df56f1e4..bf9f7752 100644 --- a/test/ReferralSystem.t.sol +++ b/test/ReferralSystem.t.sol @@ -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 /* */(); @@ -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); }