diff --git a/contracts/SeaDropMintPublicationAction.sol b/contracts/SeaDropMintPublicationAction.sol index 50fa3ff..872404e 100644 --- a/contracts/SeaDropMintPublicationAction.sol +++ b/contracts/SeaDropMintPublicationAction.sol @@ -208,10 +208,8 @@ contract SeaDropMintPublicationAction is VersionedInitializable, HubRestricted, function rescaleFees(uint256 profileId, uint256 pubId) public { uint16 lensTreasuryFeeBps = MODULE_GLOBALS.getTreasuryFee(); - PublicDrop memory publicDrop = SEADROP.getPublicDrop( - _collectionDataByPub[profileId][pubId].nftCollectionAddress - ); - _rescaleFees(profileId, pubId, lensTreasuryFeeBps, publicDrop); + PublicDrop memory publicDrop = SEADROP.getPublicDrop(_collectionDataByPub[0][pubId].nftCollectionAddress); + _rescaleFees(0, pubId, lensTreasuryFeeBps, publicDrop); } function _rescaleFees( diff --git a/contracts/libraries/ActionLib.sol b/contracts/libraries/ActionLib.sol index 2f4e4b9..a190137 100644 --- a/contracts/libraries/ActionLib.sol +++ b/contracts/libraries/ActionLib.sol @@ -66,7 +66,7 @@ library ActionLib { return actionModuleReturnData; } - function _isActionAllowed(Types.Publication storage _publication, uint256 actionId) internal view returns (bool) { + function _isActionAllowed(Types.Publication storage _publication, uint256 actionId) private view returns (bool) { uint256 actionIdBitmapMask = 1 << (actionId - 1); return actionIdBitmapMask & _publication.actionModulesBitmap != 0; } diff --git a/contracts/libraries/GovernanceLib.sol b/contracts/libraries/GovernanceLib.sol index 67d106e..d279144 100644 --- a/contracts/libraries/GovernanceLib.sol +++ b/contracts/libraries/GovernanceLib.sol @@ -65,4 +65,25 @@ library GovernanceLib { emit Events.StateSet(msg.sender, prevState, newState, block.timestamp); return prevState; } + + function whitelistProfileCreator(address profileCreator, bool whitelist) external { + StorageLib.profileCreatorWhitelisted()[profileCreator] = whitelist; + emit Events.ProfileCreatorWhitelisted(profileCreator, whitelist, block.timestamp); + } + + function whitelistFollowModule(address followModule, bool whitelist) external { + StorageLib.followModuleWhitelisted()[followModule] = whitelist; + emit Events.FollowModuleWhitelisted(followModule, whitelist, block.timestamp); + } + + function whitelistReferenceModule(address referenceModule, bool whitelist) external { + StorageLib.referenceModuleWhitelisted()[referenceModule] = whitelist; + emit Events.ReferenceModuleWhitelisted(referenceModule, whitelist, block.timestamp); + } + + function whitelistActionModuleId(address actionModule, uint256 whitelistId) external { + StorageLib.actionModuleWhitelistedId()[actionModule] = whitelistId; + StorageLib.actionModuleById()[whitelistId] = actionModule; + emit Events.ActionModuleWhitelistedId(actionModule, whitelistId, block.timestamp); + } } diff --git a/contracts/libraries/MetaTxLib.sol b/contracts/libraries/MetaTxLib.sol index d2af748..ee34ef8 100644 --- a/contracts/libraries/MetaTxLib.sol +++ b/contracts/libraries/MetaTxLib.sol @@ -180,7 +180,7 @@ library MetaTxLib { } // TODO: Check if this is how you do encoding of bytes[] array in ERC721 - function _prepareActionModulesInitDatas(bytes[] memory actionModulesInitDatas) internal pure returns (bytes32) { + function _prepareActionModulesInitDatas(bytes[] memory actionModulesInitDatas) private pure returns (bytes32) { bytes32[] memory actionModulesInitDatasBytes = new bytes32[](actionModulesInitDatas.length); for (uint256 i = 0; i < actionModulesInitDatas.length; i++) { actionModulesInitDatasBytes[i] = keccak256(abi.encode(actionModulesInitDatas[i])); @@ -206,9 +206,9 @@ library MetaTxLib { uint256 deadline; } - function abiEncode( + function _abiEncode( ReferenceParamsForAbiEncode memory referenceParamsForAbiEncode - ) internal pure returns (bytes memory) { + ) private pure returns (bytes memory) { return abi.encode( referenceParamsForAbiEncode.typehash, @@ -238,7 +238,7 @@ library MetaTxLib { bytes32 referenceModuleInitDataHash = keccak256(commentParams.referenceModuleInitData); uint256 nonce = _getAndIncrementNonce(signature.signer); uint256 deadline = signature.deadline; - bytes memory encodedAbi = abiEncode( + bytes memory encodedAbi = _abiEncode( ReferenceParamsForAbiEncode( Typehash.COMMENT, commentParams.profileId, @@ -269,7 +269,7 @@ library MetaTxLib { bytes32 referenceModuleInitDataHash = keccak256(quoteParams.referenceModuleInitData); uint256 nonce = _getAndIncrementNonce(signature.signer); uint256 deadline = signature.deadline; - bytes memory encodedAbi = abiEncode( + bytes memory encodedAbi = _abiEncode( ReferenceParamsForAbiEncode( Typehash.QUOTE, quoteParams.profileId, @@ -494,7 +494,7 @@ library MetaTxLib { /** * @dev Wrapper for ecrecover to reduce code size, used in meta-tx specific functions. */ - function _validateRecoveredAddress(bytes32 digest, Types.EIP712Signature calldata signature) internal view { + function _validateRecoveredAddress(bytes32 digest, Types.EIP712Signature calldata signature) private view { if (signature.deadline < block.timestamp) revert Errors.SignatureExpired(); // If the expected address is a contract, check the signature there. if (signature.signer.code.length != 0) { diff --git a/contracts/libraries/ProfileLib.sol b/contracts/libraries/ProfileLib.sol index 96e15dd..8adb552 100644 --- a/contracts/libraries/ProfileLib.sol +++ b/contracts/libraries/ProfileLib.sol @@ -13,7 +13,7 @@ import {IFollowNFT} from 'contracts/interfaces/IFollowNFT.sol'; library ProfileLib { uint16 constant MAX_PROFILE_IMAGE_URI_LENGTH = 6000; - function ownerOf(uint256 profileId) external view returns (address) { + function ownerOf(uint256 profileId) internal view returns (address) { address profileOwner = StorageLib.getTokenData(profileId).owner; if (profileOwner == address(0)) { revert Errors.TokenDoesNotExist(); diff --git a/contracts/libraries/ProfileTokenURILib.sol b/contracts/libraries/ProfileTokenURILib.sol index b3d3a03..0189666 100644 --- a/contracts/libraries/ProfileTokenURILib.sol +++ b/contracts/libraries/ProfileTokenURILib.sol @@ -69,11 +69,10 @@ library ProfileTokenURILib { * * @return string The profile token image as a base64-encoded SVG. */ - function _getSVGImageBase64Encoded(string memory handleWithAtSymbol, string memory imageURI) - internal - pure - returns (string memory) - { + function _getSVGImageBase64Encoded( + string memory handleWithAtSymbol, + string memory imageURI + ) private pure returns (string memory) { return Base64.encode( abi.encodePacked( @@ -98,7 +97,7 @@ library ProfileTokenURILib { * * @return string The fragment of the SVG token's image correspondending to the profile picture. */ - function _getSVGProfilePicture(string memory imageURI) internal pure returns (string memory) { + function _getSVGProfilePicture(string memory imageURI) private pure returns (string memory) { if (_shouldUseCustomPicture(imageURI)) { return string( @@ -125,7 +124,7 @@ library ProfileTokenURILib { * @param handleLength The profile's handle length. * @return uint256 The font size. */ - function _handleLengthToFontSize(uint256 handleLength) internal pure returns (uint256) { + function _handleLengthToFontSize(uint256 handleLength) private pure returns (uint256) { return handleLength <= MAX_HANDLE_LENGTH_WITH_DEFAULT_FONT_SIZE ? DEFAULT_FONT_SIZE @@ -142,7 +141,7 @@ library ProfileTokenURILib { * * @return bool A boolean indicating whether custom profile picture should be used or not. */ - function _shouldUseCustomPicture(string memory imageURI) internal pure returns (bool) { + function _shouldUseCustomPicture(string memory imageURI) private pure returns (bool) { bytes memory imageURIBytes = bytes(imageURI); if (imageURIBytes.length == 0) { return false; diff --git a/foundry-scripts/DeployUpgrade.s.sol b/foundry-scripts/DeployUpgrade.s.sol index 4508427..ad15ef5 100644 --- a/foundry-scripts/DeployUpgrade.s.sol +++ b/foundry-scripts/DeployUpgrade.s.sol @@ -1,4 +1,3 @@ -// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; import 'forge-std/Script.sol'; diff --git a/test/foundry/ChangeDelegatedExecutorsConfigTest.t.sol b/test/foundry/ChangeDelegatedExecutorsConfigTest.t.sol index 0a0aee2..bbb3927 100644 --- a/test/foundry/ChangeDelegatedExecutorsConfigTest.t.sol +++ b/test/foundry/ChangeDelegatedExecutorsConfigTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/CollectingTest.t.sol.bak b/test/foundry/CollectingTest.t.sol.bak index 044e326..15c7400 100644 --- a/test/foundry/CollectingTest.t.sol.bak +++ b/test/foundry/CollectingTest.t.sol.bak @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/Constants.sol b/test/foundry/Constants.sol index 21762da..2f618b2 100644 --- a/test/foundry/Constants.sol +++ b/test/foundry/Constants.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; uint256 constant FIRST_PROFILE_ID = 1; diff --git a/test/foundry/ERC721Test.t.sol b/test/foundry/ERC721Test.t.sol index d585ca1..996572a 100644 --- a/test/foundry/ERC721Test.t.sol +++ b/test/foundry/ERC721Test.t.sol @@ -1,5 +1,6 @@ // SPDX-License-Identifier: AGPL-3.0-only -// File modified from https://github.com/transmissions11/solmate/blob/main/src/test/ERC721.t.sol +// License should stay as `AGPL-3.0-only` as it was modified from: +// https://github.com/transmissions11/solmate/blob/main/src/test/ERC721.t.sol pragma solidity ^0.8.15; import 'forge-std/Test.sol'; @@ -29,23 +30,13 @@ contract ERC721Recipient is IERC721Receiver { } contract RevertingERC721Recipient is IERC721Receiver { - function onERC721Received( - address, - address, - uint256, - bytes calldata - ) public virtual override returns (bytes4) { + function onERC721Received(address, address, uint256, bytes calldata) public virtual override returns (bytes4) { revert(string(abi.encodePacked(IERC721Receiver.onERC721Received.selector))); } } contract WrongReturnDataERC721Recipient is IERC721Receiver { - function onERC721Received( - address, - address, - uint256, - bytes calldata - ) public virtual override returns (bytes4) { + function onERC721Received(address, address, uint256, bytes calldata) public virtual override returns (bytes4) { return 0xCAFEBEEF; } } diff --git a/test/foundry/Events.t.sol b/test/foundry/Events.t.sol index 2e776ce..9ec518d 100644 --- a/test/foundry/Events.t.sol +++ b/test/foundry/Events.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/FollowNFTTest.t.sol b/test/foundry/FollowNFTTest.t.sol index 70f1f34..582dba4 100644 --- a/test/foundry/FollowNFTTest.t.sol +++ b/test/foundry/FollowNFTTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/FollowTest.t.sol b/test/foundry/FollowTest.t.sol index ebdc8ee..283852e 100644 --- a/test/foundry/FollowTest.t.sol +++ b/test/foundry/FollowTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/GovernanceFunctions.t.sol b/test/foundry/GovernanceFunctions.t.sol index f9de805..71b04f7 100644 --- a/test/foundry/GovernanceFunctions.t.sol +++ b/test/foundry/GovernanceFunctions.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/MetaTxNegatives.t.sol b/test/foundry/MetaTxNegatives.t.sol index b2c7ad9..0698e90 100644 --- a/test/foundry/MetaTxNegatives.t.sol +++ b/test/foundry/MetaTxNegatives.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; @@ -18,11 +18,7 @@ abstract contract MetaTxNegatives is BaseTest { // Functions to mandatorily override. - function _executeMetaTx( - uint256 signerPk, - uint256 nonce, - uint256 deadline - ) internal virtual; + function _executeMetaTx(uint256 signerPk, uint256 nonce, uint256 deadline) internal virtual; function _getDefaultMetaTxSignerPk() internal virtual returns (uint256); diff --git a/test/foundry/Misc.t.sol b/test/foundry/Misc.t.sol index de8eaa6..6e1910d 100644 --- a/test/foundry/Misc.t.sol +++ b/test/foundry/Misc.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/ModuleGlobals.t.sol b/test/foundry/ModuleGlobals.t.sol index a0f50d6..61c0f95 100644 --- a/test/foundry/ModuleGlobals.t.sol +++ b/test/foundry/ModuleGlobals.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/MultiStateHubTest.t.sol b/test/foundry/MultiStateHubTest.t.sol index b6aed8f..1495335 100644 --- a/test/foundry/MultiStateHubTest.t.sol +++ b/test/foundry/MultiStateHubTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/ProfileMetadataURI.t.sol b/test/foundry/ProfileMetadataURI.t.sol index bbd9f36..3e91d22 100644 --- a/test/foundry/ProfileMetadataURI.t.sol +++ b/test/foundry/ProfileMetadataURI.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/ProfileNFTTest.t.sol b/test/foundry/ProfileNFTTest.t.sol index 3ce1c9a..dacb3a7 100644 --- a/test/foundry/ProfileNFTTest.t.sol +++ b/test/foundry/ProfileNFTTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/PublicationActions.t.sol b/test/foundry/PublicationActions.t.sol index 1cc05f7..3be2907 100644 --- a/test/foundry/PublicationActions.t.sol +++ b/test/foundry/PublicationActions.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/PublicationType.t.sol b/test/foundry/PublicationType.t.sol index 743ad7f..a73a4a0 100644 --- a/test/foundry/PublicationType.t.sol +++ b/test/foundry/PublicationType.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/PublishingTest.t.sol b/test/foundry/PublishingTest.t.sol index 62a9756..aa0302e 100644 --- a/test/foundry/PublishingTest.t.sol +++ b/test/foundry/PublishingTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/SetBlockStatusTest.t.sol b/test/foundry/SetBlockStatusTest.t.sol index 086b9b9..acc4fcc 100644 --- a/test/foundry/SetBlockStatusTest.t.sol +++ b/test/foundry/SetBlockStatusTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; @@ -280,11 +280,7 @@ contract SetBlockStatusMetaTxTest is SetBlockStatusTest, MetaTxNegatives { }); } - function _executeMetaTx( - uint256 signerPk, - uint256 nonce, - uint256 deadline - ) internal override { + function _executeMetaTx(uint256 signerPk, uint256 nonce, uint256 deadline) internal override { hub.setBlockStatusWithSig({ byProfileId: statusSetterProfileId, idsOfProfilesToSetBlockStatus: _toUint256Array(blockeeProfileId), diff --git a/test/foundry/SetFollowModule.t.sol b/test/foundry/SetFollowModule.t.sol index d76875d..f6a8057 100644 --- a/test/foundry/SetFollowModule.t.sol +++ b/test/foundry/SetFollowModule.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/UnfollowTest.t.sol b/test/foundry/UnfollowTest.t.sol index 173456c..83aac4c 100644 --- a/test/foundry/UnfollowTest.t.sol +++ b/test/foundry/UnfollowTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/BaseTest.t.sol'; diff --git a/test/foundry/base/BaseTest.t.sol b/test/foundry/base/BaseTest.t.sol index 26a80e4..407c73f 100644 --- a/test/foundry/base/BaseTest.t.sol +++ b/test/foundry/base/BaseTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/TestSetup.t.sol'; diff --git a/test/foundry/base/TestSetup.t.sol b/test/foundry/base/TestSetup.t.sol index 5231126..76789bc 100644 --- a/test/foundry/base/TestSetup.t.sol +++ b/test/foundry/base/TestSetup.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'forge-std/Test.sol'; diff --git a/test/foundry/fork/UpgradeForkTest.t.sol b/test/foundry/fork/UpgradeForkTest.t.sol index f583e7e..b693528 100644 --- a/test/foundry/fork/UpgradeForkTest.t.sol +++ b/test/foundry/fork/UpgradeForkTest.t.sol @@ -1,5 +1,5 @@ // This test should upgrade the forked Polygon deployment, and run a series of tests. -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; diff --git a/test/foundry/helpers/ArrayHelpers.sol b/test/foundry/helpers/ArrayHelpers.sol index 3477b7c..400dcc1 100644 --- a/test/foundry/helpers/ArrayHelpers.sol +++ b/test/foundry/helpers/ArrayHelpers.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; contract ArrayHelpers { diff --git a/test/foundry/helpers/CollectingHelpers.sol b/test/foundry/helpers/CollectingHelpers.sol index 82fd6fe..c0c2ba4 100644 --- a/test/foundry/helpers/CollectingHelpers.sol +++ b/test/foundry/helpers/CollectingHelpers.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/base/TestSetup.t.sol'; diff --git a/test/foundry/helpers/ForkManagement.sol b/test/foundry/helpers/ForkManagement.sol index 6cb9220..9325e69 100644 --- a/test/foundry/helpers/ForkManagement.sol +++ b/test/foundry/helpers/ForkManagement.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'forge-std/Script.sol'; diff --git a/test/foundry/helpers/PublishingHelpers.sol b/test/foundry/helpers/PublishingHelpers.sol index 6642fe2..43ce58a 100644 --- a/test/foundry/helpers/PublishingHelpers.sol +++ b/test/foundry/helpers/PublishingHelpers.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'forge-std/Test.sol'; diff --git a/test/foundry/helpers/SignatureHelpers.sol b/test/foundry/helpers/SignatureHelpers.sol index 1e7b5b7..d15ea22 100644 --- a/test/foundry/helpers/SignatureHelpers.sol +++ b/test/foundry/helpers/SignatureHelpers.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'contracts/libraries/constants/Types.sol'; diff --git a/test/foundry/initial-conditions/FollowNFTInitialConditionsTest.t.sol b/test/foundry/initial-conditions/FollowNFTInitialConditionsTest.t.sol index a0be4f7..270e6bd 100644 --- a/test/foundry/initial-conditions/FollowNFTInitialConditionsTest.t.sol +++ b/test/foundry/initial-conditions/FollowNFTInitialConditionsTest.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'test/foundry/FollowNFTTest.t.sol'; diff --git a/test/foundry/migrations/Migrations.t.sol b/test/foundry/migrations/Migrations.t.sol index e0366a6..afb15f0 100644 --- a/test/foundry/migrations/Migrations.t.sol +++ b/test/foundry/migrations/Migrations.t.sol @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: UNLICENSED +// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import 'forge-std/Test.sol'; @@ -75,6 +75,9 @@ contract MigrationsTest is Test, ForkManagement { address lensHandlesAddress = computeCreateAddress(deployer, 0); address tokenHandleRegistryAddress = computeCreateAddress(deployer, 1); + console.log('lensHandlesAddress:', lensHandlesAddress); + console.log('tokenHandleRegistryAddress:', tokenHandleRegistryAddress); + vm.startPrank(deployer); lensHandles = new LensHandles(owner, address(hub));