49 Commits

Author SHA1 Message Date
donosonaumczuk
45b43be431 test: Lens Handles tests fixed after changes 2023-11-07 22:23:45 -03:00
donosonaumczuk
7e01b14446 misc: Warnings removed from test directory
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-11-06 15:15:52 -03:00
vicnaum
d0e0e1d1d1 test: fixed fork tests to work with real v2 deployment 2023-11-06 18:34:10 +01:00
vicnaum
6f0a5ce5ec test: Reverting the Signer 2023-10-27 22:36:36 +02:00
donosonaumczuk
cfc4c253c3 test: Fixed tokenURI test 2023-10-27 17:19:15 -03:00
Victor Naumik
4a37f005cf Merge pull request #146 from lens-protocol/test/lens-handles
test: Add unit tests for handle migrations
2023-10-26 19:26:28 +02:00
juancito.eth
e2813e8683 test: uncomment code 2023-10-26 01:06:19 -03:00
juancito.eth
65ab030aa9 test: add unit tests for migrating handles 2023-10-26 01:00:53 -03:00
donosonaumczuk
65728db812 test: Handle tests updated - guardian default off 2023-10-25 22:12:13 -03:00
juancito.eth
b5707527c2 test: refactor using MetaTxNegatives 2023-10-25 18:28:05 -03: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
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
vicnaum
e36c4f2b48 feat: Add ERC2981 royalties and totalSupply to LensHandles T-16847 T-16890 2023-10-12 09:00:46 +02:00
donosonaumczuk
ec72c07a08 test: Some tests fixed for mainnet forks 2023-10-10 13:31:39 -03:00
vicnaum
8815155d0b fix: more fixes and tests fixed 2023-09-16 20:49:48 +02:00
donosonaumczuk
862c5c94e2 test: Some tests fixed
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-11 19:57:55 +01:00
donosonaumczuk
2812c4a34c misc: Handle format changed
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-05 17:01:11 +01:00
vicnaum
154e3e992d fix: [C4-109-L02] Unlink could be called for any unlinked handles by passing zero 2023-09-04 17:30:40 +01:00
vicnaum
445c1da745 test: [C4-109-L02] Test for unlink by passing 0 2023-09-04 15:35:11 +01:00
donosonaumczuk
61f1555b19 fix: Tx executor added to link/unlink events 2023-09-04 14:55:26 +01:00
donosonaumczuk
3d39a20e57 feat: DE and gassless support added to link & unlink functions 2023-09-04 14:51:41 +01:00
donosonaumczuk
7b4ad0b0d3 test: Token Guardian tests added 2023-07-13 17:23:30 +01:00
donosonaumczuk
2dfde15e3c test: Tests fixed 2023-07-13 13:51:38 +01:00
donosonaumczuk
4e7020a0b5 misc: Merge conflicts 2023-07-13 13:39:45 +01:00
donosonaumczuk
f3936d85cc fix: Tests fixed 2023-07-12 14:32:28 +01:00
vicnaum
1c2ea835a4 misc: Rename ProfileGuardian to TokenGuardian, add TokenGuardian to Handles, fix tests 2023-07-11 19:26:48 +02:00
vicnaum
1c300c05a7 feat: Initial implementation of ProfileGuardian in V2 and tests fix 2023-07-06 12:48:42 +02:00
vicnaum
053e7be18f test: tokenURI test improved for Lens Handles 2023-06-12 19:43:31 +02:00
donosonaumczuk
a4b2a025e6 test: _isLensHubProxyAdmin - more usage added 2023-06-09 17:11:36 +02:00
vicnaum
89701ca36a test: Add tests for linking non existing tokens in TokenHandleRegistry 2023-06-06 18:57:33 +02:00
Victor Naumik
8d3b22a92e Merge pull request #89 from lens-protocol/test/lens-handles
Test/lens handles
2023-06-06 18:40:49 +02:00
vicnaum
1a0b657c96 misc: deleted suspisious duplicated test 2023-06-06 18:26:49 +02:00
vicnaum
1b493fd302 misc: Refactoring of TokenHandleRegistry functions and tests 2023-05-30 18:32:55 +02:00
vicnaum
c1c51be51d test: Test reverting on getters if Handle doesn't exist 2023-05-30 17:20:13 +02:00
vicnaum
ae16d25724 test: TokenHandleRegistry tests (still has some TODOs) 2023-05-29 20:10:23 +02:00
vicnaum
a4a0100728 misc: Separate Handles tests into Negatives and Scenarios 2023-05-26 17:29:38 +02:00
vicnaum
63b5ec194f test: add non-unique Handle test 2023-05-26 17:27:08 +02:00
vicnaum
07777daa40 test: LensHandles tests 2023-05-25 22:51:27 +02:00