Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Layer Zero Relayer support #36

Merged
merged 10 commits into from
Jun 28, 2024
Merged

Conversation

ajimeno04
Copy link
Contributor

This PR addresses the implementation of the LayerZero collector within the Relayer. Two scripts have been generated for this purpose:

One is the one that loads the configuration of and initialises a worker.
The code of the worker itself: it monitors two smart contracts to check that the lifecycle of transactions and crosschain messages has been completed successfully.

@ajimeno04 ajimeno04 linked an issue Jun 27, 2024 that may be closed by this pull request
Copy link
Member

@jsanmigimeno jsanmigimeno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, only minor changes requested (mostly to the log statements).

src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
message: payloadData.payload,
messageCtx: '0x',
};
this.logger.info({ proofHash }, `LayerZero proof found: proofHash details.`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
this.logger.info({ proofHash }, `LayerZero proof found: proofHash details.`);
this.logger.info({ proofHash }, `LayerZero proof found.`);

src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
src/collector/layer-zero/layer-zero.worker.ts Outdated Show resolved Hide resolved
@jsanmigimeno jsanmigimeno merged commit d577c94 into testnet Jun 28, 2024
1 check passed
@jsanmigimeno jsanmigimeno deleted the layer-zero-collector branch July 25, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Layer Zero Relayer support
2 participants