Commit Graph

523 Commits

Author SHA1 Message Date
zer0dot
60122e31e6 test: Fixed follow module setting Hardhat tests. 2022-10-03 14:09:16 -04:00
zer0dot
f28a9793c6 test: Fixed profile URI Hardhat tests. 2022-10-03 13:57:59 -04:00
zer0dot
f7435f4648 fix: Fixed default profile hardhat tests. 2022-09-30 18:04:54 -04:00
zer0dot
3ffc3e18b8 fix: Fixed default profile meta-tx setter checking owner even when passing zero profile ID, this was also an obsolete check. 2022-09-30 18:04:32 -04:00
zer0dot
38662b62df fix: Fixed publishing posts hardhat tests, also removes obsolete "only" markers. 2022-09-30 17:50:59 -04:00
zer0dot
c4a6bef48f fix: Fixed publishing mirrors hardhat tests. 2022-09-30 17:48:58 -04:00
zer0dot
c3bdf0135b fix: Fixed publishing comments hardhat tests. 2022-09-30 17:47:31 -04:00
zer0dot
41e575006a fix: Fixed multi-state hub hardhat tests. 2022-09-30 17:44:37 -04:00
zer0dot
a52863b412 fix: Fixed following hardhat tests. 2022-09-30 17:38:51 -04:00
zer0dot
1860a89b4a fix: Fixed collecting hardhat tests. 2022-09-30 17:36:30 -04:00
zer0dot
42b9e30204 feat: Added "followerProfileId" to isFollowing() check in follow modules. 2022-09-30 15:35:32 -04:00
zer0dot
77ef3747dc fix: Fixed accidentally external function in lib. 2022-09-30 15:21:12 -04:00
zer0dot
fe17aac372 feat: Added originator profile ID parameters to collect and follow processing functions. 2022-09-30 15:13:47 -04:00
zer0dot
aead0f116f misc: Renamed "onBehalfOf" to "collector." 2022-09-30 14:21:49 -04:00
Zer0dot
15294dcb5c Merge pull request #3 from lens-protocol/feat/periphery-to-core 2022-09-29 15:38:15 -04:00
zer0dot
ae72386dad misc: Removed unused comments from periphery. 2022-09-29 15:37:17 -04:00
zer0dot
09c51c2f7f test: Added additional validation, minor refactor. 2022-09-29 15:36:33 -04:00
zer0dot
261c9ee598 feat: Added profile metadata withSig function and tests. Also added executor-unrelated tests, despite hardhat tests. 2022-09-29 15:23:16 -04:00
Zer0dot
224a3c6b21 Merge pull request #2 from lens-protocol/feat/metatx-refactor 2022-09-29 14:02:49 -04:00
zer0dot
62c125dd7f test: Added tests and validation. 2022-09-29 13:59:21 -04:00
zer0dot
6c3435ae73 misc: Renamed default profile getter. 2022-09-29 13:58:54 -04:00
zer0dot
5e44e55862 feat: Added profile metadata setter and profile image getter. 2022-09-29 13:05:18 -04:00
Peter Michael
b85db6a96a test: Added executor tests for follow NFT URI and profile image URI setting. 2022-09-28 16:11:06 -04:00
Peter Michael
ba706aef4a refactor: Refactored errors to more properly reflect the actual scenario. Added tests for invalid execution in meta-tx functions. 2022-09-28 15:07:42 -04:00
Peter Michael
6fa66e321b misc: Removed unused comment. 2022-09-28 13:34:35 -04:00
Peter Michael
b51f9b69ab test: Updated foundry tests to match new changes. 2022-09-27 17:04:24 -04:00
Peter Michael
3e98c69ae4 fix: Added check for default profile setting. 2022-09-27 17:03:53 -04:00
Peter Michael
d0808fdd23 feat: (WIP) Added signer parameter to increment correct nonce in meta transactions. 2022-09-27 16:35:21 -04:00
Peter Michael
63abe7330b feat: Added delegatedSigner parameter to signature function structs. 2022-09-27 14:24:20 -04:00
Peter Michael
fc681f5d0e test: Added tests for setting follow module with DE. 2022-09-27 10:06:01 -04:00
Peter Michael
79f082060c misc: Minor cleanup. 2022-09-27 10:05:36 -04:00
Peter Michael
27d5fdba6c test: Added executor mirror with sig test. 2022-09-26 13:20:27 -04:00
Peter Michael
8685395737 refactor: Refactored local variable to reduce SLOC. 2022-09-26 13:14:04 -04:00
Peter Michael
1427d5171b test: Added tests for withSig functions with executor. Also refactored to use profileOwner with a private key. 2022-09-23 16:19:51 -04:00
Peter Michael
7a3e782757 misc: Removed unneeded space. 2022-09-23 16:19:15 -04:00
Peter Michael
14d8a2b7f5 test: Added executor post, comment and mirror tests. 2022-09-22 16:50:52 -04:00
Peter Michael
499006dc69 test: Added executor test to collect with mirror. 2022-09-22 16:50:38 -04:00
Peter Michael
453840de40 test: Added helper to construct postWithSig typed data hash. 2022-09-22 16:50:22 -04:00
Peter Michael
22fcd298f6 misc: Fixed comment. 2022-09-22 16:50:00 -04:00
Peter Michael
f3feae19a1 test: Added tests. 2022-09-21 16:22:37 -04:00
Peter Michael
92c49ea7b5 test: (WIP) Adapt tests to new default profile setter. Minor tests fail. 2022-09-21 16:07:08 -04:00
Peter Michael
cb0ed6b378 feat: Allow dispatcher and executor to set follow module. 2022-09-21 16:06:42 -04:00
Peter Michael
94fa1fa466 feat: (WIP: breaks tests) Added support for DEs on default profile setting. 2022-09-20 17:39:45 -04:00
Peter Michael
17ad931c3f misc: Removed unnecessary import. 2022-09-20 17:14:55 -04:00
Peter Michael
612ff97bf4 test: Consolidated meta-tx tests into base test files to save compilation time. 2022-09-20 17:13:24 -04:00
Peter Michael
8b18224e45 test: Reorganized tests and added follow executor test. 2022-09-20 16:17:13 -04:00
Peter Michael
ad7ba717be fix: Validated delegated executor calls on follow. 2022-09-20 14:44:59 -04:00
Peter Michael
8e8ab2c3f6 misc: Removed pointless error definition. 2022-09-19 16:00:46 -04:00
Peter Michael
16814b3c3a misc: Updated ethers and used native ethers functionality in upgradeability test. 2022-09-19 15:49:00 -04:00
Peter Michael
6bc1f20501 test: Fixed and updated upgradeability test. 2022-09-19 14:47:19 -04:00