Commit Graph

1529 Commits

Author SHA1 Message Date
juancito.eth
65ab030aa9 test: add unit tests for migrating handles 2023-10-26 01:00:53 -03:00
Alan
89a539823c Merge pull request #143 from lens-protocol/test/token-handle-registry
test: Improve test coverage of TokenHandleRegistry
2023-10-26 00:05:49 +01:00
juancito.eth
b5707527c2 test: refactor using MetaTxNegatives 2023-10-25 18:28:05 -03:00
vicnaum
014ac76199 misc: lensHub_setState added to Governance Contract 2023-10-25 15:41:35 -03:00
vicnaum
51921eb474 misc: catapulta introduced in deployment scripts 2023-10-25 18:08:28 +02:00
juancito.eth
e86d998d08 test: refactor fuzzing 2023-10-25 01:19:30 -03:00
juancito.eth
626c45e68d test: add test for deadline revert for unlink 2023-10-25 00:59:41 -03:00
juancito.eth
23e481620e test: refactor getLinkSigStruct and getUnlinkSigStruct params order 2023-10-25 00:59:02 -03:00
juancito.eth
ce2f499312 test: add case when signature expires 2023-10-25 00:36:46 -03:00
juancito.eth
34afa92a97 test: add tests for failing erc1271 sig validation 2023-10-25 00:13:21 -03:00
juancito.eth
4bd8fb38b0 test: add success tests for link/unlink with erc1271 2023-10-24 23:52:20 -03:00
juancito.eth
4ab64992b0 test: refactor link and unlink sig structs functions 2023-10-24 23:45:36 -03:00
juancito.eth
0d4a31d38c test: send link transactions through relayer 2023-10-24 22:33:57 -03:00
juancito.eth
99aff9f201 test: add test for not linking when not owner or delegated executor 2023-10-24 22:06:18 -03:00
juancito.eth
00eb475b16 test: add tests for cases with incremented nonce 2023-10-24 21:45:16 -03:00
juancito.eth
6e2085ba4f test: refactor internal token registry functions 2023-10-24 21:26:57 -03:00
juancito.eth
221e547ee7 test: add success test for unlinkWithSig 2023-10-24 21:25:21 -03:00
juancito.eth
0a70bf80f9 test: add success test for linkWithSig 2023-10-24 19:54:02 -03:00
juancito.eth
71e154513a test: redefine domainSeparator on TokenHandleRegistryTest 2023-10-24 19:53:08 -03:00
juancito.eth
7e90a7d6f0 test: create _getLinkTypedDataHash function 2023-10-24 19:52:06 -03:00
vicnaum
4eb2162f48 misc: minor tweaks 2023-10-24 22:12:46 +02:00
vicnaum
cf9d787d2d bump: forge-std 2023-10-24 22:09:26 +02:00
donosonaumczuk
eb6e7369fb misc: Some TODOs solved 2023-10-24 16:23:46 -03:00
Alan
cc1b507a7f Merge pull request #142 from lens-protocol/misc/upgradeable-tag-docs
misc: upgradeable tag docs
2023-10-24 18:54:40 +01:00
donosonaumczuk
6b876d80b0 misc: Custom upgardeable tag docs added 2023-10-24 14:29:51 -03:00
vicnaum
c59fc1d946 test: fix coverage by ignoring scripts and some tests and mocks 2023-10-23 19:23:43 +02:00
vicnaum
0a7edecbdf misc: TODO to return module metadata 2023-10-20 20:44:06 +02:00
vicnaum
cc2d15e733 feat: isFollowing validation for self 2023-10-20 20:36:59 +02:00
donosonaumczuk
55e6e3b57f fix: Signer added to typehashes
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-10-20 14:18:30 -03:00
Alan
a88d700363 Merge pull request #139 from lens-protocol/fix/v2-small-fixes
Fix: v2 small fixes
2023-10-19 17:33:25 +01:00
vicnaum
e8eb87ff97 feat: LensModule interface with ERC165 standard and metadata [P-21] T-16815
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2023-10-18 19:42:05 +02:00
vicnaum
48ec9ab4bc misc: todo left for testing 2023-10-18 19:38:27 +02:00
vicnaum
68d156247a feat: add incrementNonce to revoke signatures [C4-168-L03] T-16801 2023-10-18 18:32:29 +02:00
donosonaumczuk
4c75b05598 feat: Pub ID being processed passed to reference module 2023-10-18 13:25:17 -03:00
donosonaumczuk
d8229cecc8 misc: Registry functions renamed for clarity and future usage
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-10-16 15:30:43 -03:00
donosonaumczuk
a2b4e8fd58 Merge branch 'development' into fix/v2-small-fixes 2023-10-16 15:02:42 -03:00
Alan
869e769b25 Merge pull request #138 from lens-protocol/fix/init-ref-before-act
fix: Init ref modules before action ones & ref modules self-ref
2023-10-16 19:01:45 +01:00
Alan
e15e81b1ea Merge pull request #140 from lens-protocol/fix/unfollow-redundant-checks
misc: Unfollow redundant checks removed & approveFollow to zero allowed
2023-10-16 18:37:25 +01:00
donosonaumczuk
3acb3d9a4f fix: zero token approveFollow allowed as a way to clear approval 2023-10-16 13:55:54 -03:00
donosonaumczuk
7cc03e4f48 test: Tests fixed after interface changes 2023-10-16 13:42:39 -03:00
donosonaumczuk
ece1f4f689 misc: Redundant checks removed for unfollow - Tx exec no longer needed 2023-10-16 13:42:26 -03:00
donosonaumczuk
d686544ab1 fix: Typo was making condition always false 2023-10-14 15:21:12 -03:00
donosonaumczuk
0a14574751 test: Test fixed 2023-10-14 15:20:21 -03:00
vicnaum
36ae6527c5 misc: [P-26] Fix inconsistency in transactionExecutor during migrations T-16811 2023-10-13 19:01:43 +02:00
vicnaum
46a964e603 misc: C4-168-N04 Allow to unfollow() for burnt target profiles T-16806 2023-10-13 19:00:09 +02:00
vicnaum
5a22a606da fix: [P-15] processFollow() in FeeFollowModule reverts for zero currency and amount T-16817 2023-10-13 18:22:14 +02:00
vicnaum
2d33d113fe misc: Remove unnecessary scripts T-16812 2023-10-13 18:03:45 +02:00
vicnaum
8a1fdcad05 misc: Remove redundant exists() check from _isApprovedOrOwner() in LensBaseERC721 T-16805 2023-10-13 17:58:02 +02:00
donosonaumczuk
deff8dd813 feat: Reference modules allow self-comment 2023-10-12 16:29:04 -03:00
donosonaumczuk
7daab977b7 fix: Init ref modules before action modules 2023-10-12 15:57:56 -03:00