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: checkpoint logic for EVM, ICON, and WASM chains #329

Closed
wants to merge 16 commits into from

Conversation

debendraoli
Copy link
Collaborator

@debendraoli debendraoli commented Jul 30, 2024

This pull request adds checkpoint logic for the EVM, ICON, and WASM chains.

The checkpoint logic allows for efficient tracking of the last processed height for each chain making relayer more smarter.

This improves the reliability and performance of the relayer by reducing the number of unnecessary RPC queries and improves recovery.

The change auto makes websocket connection optional, supporting RPC only setups.

fixes: #328

@debendraoli debendraoli added the bug Something isn't working label Jul 30, 2024
@debendraoli debendraoli self-assigned this Jul 30, 2024
@debendraoli debendraoli added enhancement New feature or request Centralised Relay labels Jul 30, 2024
@debendraoli debendraoli changed the title feat: checkpoint logic for EVM, ICON, and WASM chains feature: checkpoint logic for EVM, ICON, and WASM chains Jul 30, 2024
@debendraoli debendraoli changed the title feature: checkpoint logic for EVM, ICON, and WASM chains feat: checkpoint logic for EVM, ICON, and WASM chains Jul 30, 2024
@debendraoli debendraoli marked this pull request as draft July 30, 2024 12:23
@debendraoli debendraoli marked this pull request as ready for review July 31, 2024 06:51
@bcsainju
Copy link
Collaborator

bcsainju commented Aug 5, 2024

why not expose the height saving functionality to the chain providers as well ??

@debendraoli
Copy link
Collaborator Author

debendraoli commented Aug 5, 2024

why not expose the height saving functionality to the chain providers as well ??

Why write that many times on disk?

And it is not that fool proof either saving immediately.

@bcsainju
Copy link
Collaborator

bcsainju commented Dec 6, 2024

will be reviewed later as it is not major issue now.

@bcsainju bcsainju closed this Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Centralised Relay enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve check point logic
2 participants