42 Commits

Author SHA1 Message Date
vicnaum
5a22a606da fix: [P-15] processFollow() in FeeFollowModule reverts for zero currency and amount T-16817 2023-10-13 18:22:14 +02:00
donosonaumczuk
958d07fa5c feat: ModuleGlobals removed - treasury fees now in the Hub
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-09-11 17:39:36 +01:00
vicnaum
c34caa8ad6 test: Fix compilation error after refactoring 2023-08-04 22:55:45 +02:00
donosonaumczuk
c834c4fe1b misc: Load-or-deploy functions added 2023-08-04 17:25:22 +01:00
vicnaum
4dcc20fef8 misc: Refactoring and reorganization of tests inheritance
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2023-08-04 16:05:48 +02:00
donosonaumczuk
4d2a334910 fix: All test contructors removed in favour of setUp function 2023-08-01 17:44:40 +01:00
donosonaumczuk
5668a83a67 misc: Comments slightly more formal 2023-07-13 12:36:38 +01:00
vicnaum
aad1d9b7ab test: Referral system tests improved - Still WIP
Co-authored-by: Alan <donosonaumczuk@gmail.com>
2023-06-21 19:07:35 +02:00
vicnaum
409c2ba290 misc: overflow protection in tests 2023-06-12 17:27:01 +02:00
donosonaumczuk
62682d2f83 misc: Mock renamings and redundant/empty test files removed
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-25 22:23:03 +01:00
donosonaumczuk
e8448285bc misc: Unused mock removed, test renamed
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-25 20:30:55 +01:00
vicnaum
d231c86deb Merge branch 'misc/test-publications' into test/collect-modules 2023-04-25 19:35:11 +01:00
donosonaumczuk
da000ad9d0 misc: FeeFollowModule file extension renamed 2023-04-25 19:20:48 +01:00
vicnaum
f7db4a3aa1 test: CollectPublicationAction tests and some refactoring 2023-04-25 17:16:31 +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
vicnaum
fd828a7ddf fix: T-1448 delete V1 failing hardhat tests that are covered in foundry or are modules 2023-01-19 13:15:39 +01:00
zer0dot
82609f8061 test: Fixed profile follow module Hardhat tests. 2022-10-03 15:41:05 -04:00
zer0dot
9db94645e5 test: Fixed fee follow module Hardhat tests. 2022-10-03 15:39:53 -04:00
zer0dot
34bb261289 test: Fixed approval follow module Hardhat tests. 2022-10-03 15:34:51 -04:00
Peter Michael
923f52d2c7 test: (WIP-- debugging) Adapted tests, many still fail. 2022-09-06 18:18:05 +01:00
Peter Michael
e635c46ace misc: Fixed tests using old error strings. 2022-05-31 15:30:05 -04:00
Peter Michael
6cfaa580b3 feat: (WIP) Refactored meta transactions into a library. Includes hardhat-tracer. 2022-05-26 17:39:11 -04:00
donosonaumczuk
1785b77b14 refactor: ProfileFollowModule tests updated to do not take into account revision number 2022-05-10 12:43:14 +01:00
donosonaumczuk
edcf178581 test: Revert follow module tests added 2022-05-04 19:38:23 +01:00
Peter Michael
7a8a0576e6 fix: Fixed tests and updated typehashes. 2022-04-08 18:01:24 -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
c12ef6a0b5 Merge branch 'main' into fix/zero-treasury-transfers 2022-03-23 14:50:27 -03:00
Peter Michael
f3a56a73af test: Added tests for zero treasury fee. 2022-03-22 15:20:35 -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
donosonaumczuk
146f0b1807 Test error added instead of editing the old one 2022-03-16 16:34:55 -03:00
Peter Michael
dd137b2dee Initial commit 2022-01-25 15:19:42 -05:00