Commit Graph

1085 Commits

Author SHA1 Message Date
donosonaumczuk
da000ad9d0 misc: FeeFollowModule file extension renamed 2023-04-25 19:20:48 +01:00
donosonaumczuk
c0bd050be0 misc: Removed redundant (not really helpful) helper functions 2023-04-25 19:15:19 +01:00
donosonaumczuk
051768125d misc: Remove TODO after seeing prank below 2023-04-25 18:50:41 +01:00
donosonaumczuk
a543580b1d misc: Huge test refactor - introducing new load functions and removing signer fields 2023-04-25 18:40:32 +01:00
donosonaumczuk
76711b52a3 feat: ReferencePublicationTest tests added 2023-04-24 22:01:15 +01:00
donosonaumczuk
f6d9ccd341 misc: Huge test refactor to remove redundant helper functions 2023-04-24 22:00:45 +01:00
donosonaumczuk
93608cf8f2 forge install: forge-std
v1.5.3
2023-04-24 17:03:35 +01:00
donosonaumczuk
ec063fd487 misc: Remove lib/forge-std to re-install as submodule 2023-04-24 17:03:28 +01:00
donosonaumczuk
f8c843fb32 misc: MockModule base contract added - all v2 mock modules inherit it now 2023-04-22 21:01:45 +01:00
Alan
698c503c0a Merge pull request #71 from lens-protocol/misc/remove-legacy-tests
misc: Legacy tests removed
2023-04-21 19:46:16 +01:00
donosonaumczuk
922c1888f5 misc: Hardhat test scripts removed - Author added and sorted alphabetically 2023-04-21 19:26:43 +01:00
donosonaumczuk
9cbaf7df05 misc: Paths updated after removing test foundry directory 2023-04-21 19:25:52 +01:00
donosonaumczuk
f477a46c44 misc: Redundant foundry subdirectory removed from test directory 2023-04-21 19:15:48 +01:00
donosonaumczuk
74301f6d4c misc: Test mock directory moved inside foundry directory 2023-04-21 19:14:28 +01:00
donosonaumczuk
76895a51ba misc: Legacy tests removed 2023-04-21 19:13:55 +01:00
donosonaumczuk
eb11843281 misc: Legacy test list removed 2023-04-21 19:12:10 +01:00
Alan
4ddb2b4787 Merge pull request #67 from lens-protocol/test/follow-modules
Test: Follow modules foundry tests coverage
2023-04-21 19:07:39 +01:00
Victor Naumik
f742af46af Merge pull request #66 from lens-protocol/test/follower-only-reference-module
test: FollowerOnlyReferenceModule foundry tests
2023-04-21 20:06:42 +02:00
vicnaum
0fd9e8844a misc: refactoring 2023-04-21 19:57:03 +02:00
vicnaum
c404e1e805 fix: warnings 2023-04-21 19:54:02 +02:00
Victor Naumik
ce5910863b Merge pull request #69 from lens-protocol/misc/test-publishing
test: Publication tests main architecture done
2023-04-21 19:49:10 +02:00
donosonaumczuk
b3c776ca4e test: Publication tests base architecture added 2023-04-21 18:11:47 +01:00
donosonaumczuk
399eb2bb58 Merge branch 'misc/test-coverage' into misc/test-publishing 2023-04-21 15:03:15 +01:00
donosonaumczuk
bdd04a3a59 Merge branch 'main' into misc/test-coverage 2023-04-21 14:58:38 +01:00
Alan
55565e401b Merge pull request #68 from lens-protocol/fix/referral-system
fix: Referral system
2023-04-20 21:35:23 +01:00
donosonaumczuk
53c23476db misc: Optimizer runs lowered in favour of less bytecode
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 21:18:07 +01:00
donosonaumczuk
006b441fed fix: _validateReferrerAsCommentOrQuote - requirement added to avoid non-pure V2 referral bug
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 21:11:46 +01:00
donosonaumczuk
8e5aa45e72 misc: _validateReferrerAsCommentOrQuote - collected replaced for acted in comments
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 21:09:29 +01:00
donosonaumczuk
432b698c18 misc: _validateReferrerAsPost redundant condition removed - comments improved
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 21:08:14 +01:00
donosonaumczuk
ecce1ad2bb misc: _fillReferencePublicationStorage slighly optimized - comments added
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 21:06:43 +01:00
donosonaumczuk
e55689d010 misc: Some params prefixed with 'targeted' for extra clarity
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 18:20:51 +01:00
donosonaumczuk
f0d4855b30 fix: Legacy collect operation reworked - single referrer that can only be a mirror
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-20 18:11:40 +01:00
donosonaumczuk
64c27a1875 misc: Publishing test rework - wip 2023-04-20 16:46:25 +01:00
vicnaum
0bcfc5d3ff test: FeeFollowModule - add treasuryFee fuzzing 2023-04-20 14:03:15 +02:00
vicnaum
82fe3c778d test: add fuzzing to nonHub tests of TokenGated module 2023-04-19 22:34:50 +02:00
vicnaum
39e04d8f5e test: FeeFollowModule foundry tests 2023-04-19 22:34:21 +02:00
vicnaum
b23c34997b test: RevertFollowModule foundry tests 2023-04-19 22:34:10 +02:00
vicnaum
a4ec8b8306 test: add moduleGlobals governance as a separate entity 2023-04-19 22:33:56 +02:00
donosonaumczuk
0379cd575f misc: _boundPk helper function added at BaseTest file 2023-04-19 16:20:39 +01:00
donosonaumczuk
aa2de5a642 feat: Load account logic for fork tests 2023-04-18 19:06:39 +01:00
donosonaumczuk
a084c65216 misc: MockActionModule includes a flag for initialization success too 2023-04-18 18:24:37 +01:00
donosonaumczuk
24e9f226f6 misc: Empty array helpers added 2023-04-18 18:23:00 +01:00
donosonaumczuk
0e3827b711 misc: Removed initial-condition tests and moved inside their respective files 2023-04-18 18:22:29 +01:00
donosonaumczuk
4ed21fd0a2 misc: MetaTxNegatives test renamed for extra clarity 2023-04-18 17:00:38 +01:00
Victor Naumik
f3f47ab056 Merge pull request #65 from lens-protocol/test/token-gated-reference-module
test: TokenGatedReferenceModule foundry tests
2023-04-18 15:13:39 +02:00
vicnaum
dd3d88048a test: FollowerOnlyReferenceModule foundry tests 2023-04-18 14:55:13 +02:00
vicnaum
bd96c6506f test: removed BaseModuleTest 2023-04-18 14:53:03 +02:00
vicnaum
c803ad501e misc: remove setup 2023-04-18 14:40:23 +02:00
vicnaum
d6af2e0413 test: Add fuzzing to profile/pub ids 2023-04-17 22:20:42 +02:00
vicnaum
db025f80aa test: TokenGatedReferenceModule foundry tests 2023-04-17 18:52:23 +02:00