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

(chore): host-executor: initialise executor with blockId #15

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

manav2401
Copy link
Contributor

The host-executor only initialises with a block number and not hash. This PR adds a new function named new_with_blockid which takes in a BlockId which can be used to pass either hash or number. I didn't change the original new function because I thought that would break compatibility for users of this library. I am now well versed with the naming conventions in rust so feel free to suggest if something is wrong.

Copy link
Collaborator

@yuwen01 yuwen01 left a comment

Choose a reason for hiding this comment

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

LGTM

@yuwen01 yuwen01 merged commit 3ae5873 into succinctlabs:main Oct 10, 2024
0 of 3 checks passed
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.

2 participants