Commit Graph

67 Commits

Author SHA1 Message Date
Peter Michael
7812ab5829 misc: Added missing module tests. 2022-04-06 12:32:21 +01:00
donosonaumczuk
bac59fd9d9 Test cases added without implementation 2022-04-05 20:02:52 +01:00
donosonaumczuk
9fbf192907 ProfileFollowModule added to test setup 2022-04-05 18:39:28 +01:00
Zer0dot
bc0be7650d Merge pull request #88 from aave/feat/return-ids 2022-04-04 17:55:56 -04:00
donosonaumczuk
afb7bf2a7c Tests added 2022-04-04 18:00:50 +01:00
Peter Michael
1bb385603c feat: Updated LensPeriphery function names to be more explicit, added tests and moved all LensPeriphery tests to the misc test file. 2022-04-01 18:41:07 -04:00
Peter Michael
707144b70e Merge branch 'main' into feat/collect-modules-toggle-follower-only 2022-04-01 13:42:41 -04:00
Zer0dot
2799970d6d Merge pull request #80 from aave/refactor/general-optimizations 2022-04-01 13:11:02 -04:00
Alan
174df22b5e Merge pull request #85 from aave/feat/follower-only-owner-bypass
Publication owner bypasses FollowValidationModuleBase's follow validation
2022-04-01 15:28:56 +01:00
donosonaumczuk
05706464b6 Tests added about pub owner collecting his own pub without following himself 2022-04-01 14:54:49 +01:00
Peter Michael
a1fb1a6c77 misc: Updated collect module tests to match zero amount checks. 2022-03-31 19:12:21 -04:00
Peter Michael
4a6df79c53 Merge branch 'main' into feat/collect-modules-toggle-follower-only 2022-03-31 19:05:15 -04:00
Peter Michael
3b9f2be9ae feat: Updated modules to return correct data and added tests. Also includes a refactor of the FollowerOnlyCollectModule into the FreeCollectModule with a similar toggle. 2022-03-31 18:54:36 -04:00
Peter Michael
90d6c69049 refactor: Increment the publication count before comment creation, and manually prevent self-referencing comments. 2022-03-31 12:19:46 -04:00
donosonaumczuk
3eb9802c5b Tests updated to use isFollowing method instead of the old one 2022-03-31 13:06:25 +01:00
Peter Michael
98464b568d misc: Renamed EmptyCollectModule to more accurate FollowerOnlyCollectModule. 2022-03-30 17:14:41 -04:00
Peter Michael
1e9901de23 misc: Renamed LensPeripheryDataProvider to more accurate shortened LensPeriphery, including the name used in the domain separator. 2022-03-30 16:49:47 -04:00
donosonaumczuk
268055df77 Tests updated to compare SVGs loading expected ones 2022-03-30 17:54:13 +01:00
donosonaumczuk
efc5a811fe Test helpers functions added: load test resources & decode SVG form metadata 2022-03-30 17:53:37 +01:00
donosonaumczuk
86aaa4e53f Test resources added for expected profile tokenURI SVGs 2022-03-30 17:51:28 +01:00
donosonaumczuk
59e28d5f8b Tests added 2022-03-29 17:27:59 +01:00
donosonaumczuk
96bca886ab Expected tokenURI hash updated at tests 2022-03-28 11:29:39 +01:00
Peter Michael
96493ee950 Merge branch 'main' into refactor/general-optimizations 2022-03-24 15:35:15 -04:00
Peter Michael
10f90f5755 test: Added tests for zero address construction reverts. 2022-03-24 15:18:19 -04:00
Peter Michael
119e4e8eaa test: Reverted default handle change and added test for new handle characters. 2022-03-23 16:47:12 -04:00
Peter Michael
de1a366dee feat: (WIP) Added hyphens and underscores as valid handle characters. 2022-03-23 16:27:37 -04:00
donosonaumczuk
c12ef6a0b5 Merge branch 'main' into fix/zero-treasury-transfers 2022-03-23 14:50:27 -03:00
Peter Michael
e2daef1250 test: Added tests for zero treasury fee on referral. 2022-03-23 12:33:45 -04:00
Zer0dot
3d97e00ed7 Merge pull request #74 from aave/fix/minimum-amounts-allowed 2022-03-22 16:22:50 -04:00
Peter Michael
f3a56a73af test: Added tests for zero treasury fee. 2022-03-22 15:20:35 -04:00
Peter Michael
89c8131022 fix: Prevent profile transfers when the hub is paused. 2022-03-22 11:22:34 -04:00
Peter Michael
a17ae78cd9 fix: Allow non-zero amounts in fee modules instead of BPS_MAX minimum. 2022-03-21 18:58:25 -04:00
Peter Michael
fabb1e5130 misc: Update expected revert reasons. 2022-03-18 17:00:56 -04:00
Peter Michael
84795e7c8b misc: Removed unused comments. 2022-03-17 10:01:03 -04:00
Peter Michael
4f0206d6a7 refactor: Refactored follow toggles to external LensPeripheryDataProvider contract. 2022-03-16 19:14:25 -04:00
Peter Michael
875c2236dc refactor: Removed the need to pass follow NFT Ids to toggleFollow() calls, tests adapted. 2022-03-16 18:33:35 -04:00
Peter Michael
53f94e084d Merge branch 'main' into feature/proposal-to-allow-follow-after-transfer 2022-03-16 17:45:42 -04:00
donosonaumczuk
043f62193b Tests updated 2022-03-16 18:00:24 -03:00
donosonaumczuk
146f0b1807 Test error added instead of editing the old one 2022-03-16 16:34:55 -03:00
donosonaumczuk
f588070570 Solving conflicts with main branch 2022-03-15 17:32:53 -03:00
Peter Michael
d454dcc492 feat: Updated to only allow setting the default profile for the sender. 2022-03-15 15:54:58 -04:00
Peter Michael
1393ada628 test: Removed obsolete toNumber() calls. 2022-03-15 13:42:41 -04:00
Peter Michael
af6fc41ff4 test: Added test for default profile transfer. 2022-03-15 13:02:24 -04:00
Peter Michael
cfa08e1986 refactor: Refactored setting default profile to reduce complexity and code size. 2022-03-15 12:43:25 -04:00
damarnez
01c560022c use same error 2022-03-15 17:24:57 +01:00
donosonaumczuk
2816ddbda2 Followers property added to profile tokenURI 2022-03-08 16:26:17 -03:00
donosonaumczuk
8426ef599c Injection test case URI updated 2022-03-08 00:19:18 -03:00
donosonaumczuk
2ff0ac6c55 Test added about all edge cases 2022-03-07 23:52:32 -03:00
donosonaumczuk
329d8d4175 Tests updated 2022-03-07 20:36:24 -03:00
donosonaumczuk
4cde7e930f Up to date with main branch 2022-03-07 15:35:29 -03:00