Commit Graph

91 Commits

Author SHA1 Message Date
Peter Michael
f2db3bde43 feat: Prevented emergency admin from unpausing. Also includes follow/collect NFT getter tests. 2022-04-21 11:55:11 -04:00
Alan
0469d20591 Merge pull request #112 from aave/refactor/simpler-profile-metadata
Refactor: Simplify Profile Metadata System
2022-04-21 12:30:23 +01:00
Peter Michael
0d72b2fffc refactor: Refactored to simplify profile metadata setter into one function. 2022-04-20 11:55:16 -04:00
Peter Michael
8a0b40bdae refactor: Simplified profile metadata. 2022-04-19 15:55:54 -04:00
Peter Michael
d21f276fa4 feat: Restored collect NFT immutability. 2022-04-14 20:43:10 -04:00
Peter Michael
e1ecb549d1 refactor: Refactored to make follow & collect NFTs query the hub for the handle and implementation. 2022-04-14 19:35:51 -04:00
donosonaumczuk
11ac489b7c feat: Environment variables modified to be generic 2022-04-13 17:03:01 +01:00
Peter Michael
7a8a0576e6 fix: Fixed tests and updated typehashes. 2022-04-08 18:01:24 -04:00
Peter Michael
41a16b225b Merge branch 'feat/module-events' of github.com:aave/lens-protocol into feat/module-events 2022-04-08 10:51:30 -04:00
Peter Michael
fa32453ea7 feat: Added Followed() event with passed follow module data emitted. 2022-04-08 10:51:29 -04:00
Peter Michael
0abd2c138c fix: Fixed matchEvent() function to validate array parameter length. 2022-04-08 10:44:11 -04:00
donosonaumczuk
bae93a1404 test: Event tests updated to use a collect module that requires custom data 2022-04-08 15:11:05 +01:00
donosonaumczuk
76a753e865 feat: Collect module data added to Collected event 2022-04-08 13:59:44 +01:00
Peter Michael
0e9a011dff Merge branch 'main' into feat/updated-deployment 2022-04-07 11:45:01 -04:00
Peter Michael
15fe712357 misc: Fixed incorrect name. 2022-04-06 10:44:28 -04:00
Peter Michael
0526e8ef10 test: Added test for setFollowModule event emission. 2022-04-06 10:26:37 -04:00
donosonaumczuk
e1a6344d61 Last test added 2022-04-06 13:05:12 +01:00
donosonaumczuk
51d0b6a382 Test call changed to callStatic to avoid unwantend context changes 2022-04-06 12:32:21 +01:00
donosonaumczuk
6a0b383954 Adding more details to test name 2022-04-06 12:32:21 +01:00
donosonaumczuk
f8f62cc139 Remove .only from tests 2022-04-06 12:32:21 +01:00
Peter Michael
38c68e30c3 test: Added tests. 2022-04-06 12:32:21 +01:00
Peter Michael
c70f5c14b4 misc: Edited test. 2022-04-06 12:32:21 +01:00
Peter Michael
6121eb3a38 misc: Edited comment. 2022-04-06 12:32:21 +01:00
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
Peter Michael
1f532d1a98 misc: Updated LensHub NFT name and symbol in scripts, no more Various vegetables :( 2022-04-04 18:38:19 -04: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