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: time validation using accumulator contract #556

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dav1do
Copy link
Contributor

@dav1do dav1do commented Oct 7, 2024

A draft/example targeting #550 to validate time events using the accumulator contract and new time event format. Access to contract/proof taken from feat/time-event-validation-on-hoku.

dav1do added 6 commits October 4, 2024 16:22
modified EthRpc to be ChainInclusion and only return timestamp and root cid from chain. this required moving a decent amount of logic around parsing chain info/validation from service to validation crate.
This is mostly an example and requires figuring out the chain ID information and time event format, as well as passing in URLs via CLI flags, but demonstrates how the client could be hooked up using the refactored trait. It would also require some modifications to the exports in the hoku sdk to work (e.g. Address, HttpClient, FvmQueryHeight).
@stbrody stbrody force-pushed the refactor/modify-eth-rpc-trait-for-hoku branch from 70fb322 to b5c388b Compare October 21, 2024 19:10
Base automatically changed from refactor/modify-eth-rpc-trait-for-hoku to main October 22, 2024 17:52
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.

1 participant