feature / lz gated modules - #26
Conversation
…t a todo on the follow test that now fails
|
…to lzgatedproxy; update tests + tasks to use estimateFees* functions
…efailed OR executes noblocking; impr: better tests for message failed; impr: updated readme for tasks; new testnet deployment
donosonaumczuk
left a comment
There was a problem hiding this comment.
Hey guys, good work!
There are lot of files that we are adding to the repo that are not necessarily ad-hoc for the Lens modules, but instead generic LayerZero contracts. It would be nice if you import your core repo as a dependency instead, or even create a separate repo that can be used as dependency if some of the files are not included in your core repo.
The idea is to avoid increasing the amount of files here when are not 100% related to the code of each of the Lens modules. Same reason why I am asking to remove some duplicated mocks from the PR.
… using LzApp instead of simpleLzApp
|
thanks for the feedback @donosonaumczuk 🙏 I resolved all comments and pushed changes
|
New features
LZGatedFollowModule,LZGatedCollectModule, andLZGatedReferenceModuleto do cross-chain token gatingLZGatedProxy,LzApp,NonblockingLzApp, andSimpleLzAppExample (
LZGatedFollowModule)#followWithSigLZGatedProxycontract on Optimism, which relays the payload to theLZGatedFollowModulecontract on Polygon via LayerZeroTODO
/lz-gated-follow-module.spec.tsMessageFailedbeing emitted when the tx actually succeeds#sendon source chain and#lzReceiveon destination chain can be between 5-30min+ (goerli => mumbai) => testnet infra was updated, not an issue on mainnet ✅