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

refactor: update pb and ProveStep (#28) #29

Merged
merged 7 commits into from
Jun 28, 2024

Conversation

captainlee1024
Copy link
Contributor

@captainlee1024 captainlee1024 commented Jun 25, 2024

fix #28

let chunk_count = gen_batch_chunks_result.chunk_count;
let l2_batch_data = gen_batch_chunks_result.batch_data;
let batch_state_root = BatchStateRoot {
pre_state_root: <[u8; 32]>::try_from(gen_batch_chunks_result.pre_state_root).map_err(|_| anyhow!(""))?,
Copy link
Member

Choose a reason for hiding this comment

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

Propagate the error via anyhow!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@eigmax eigmax merged commit 5f7f029 into 0xEigenLabs:main Jun 28, 2024
5 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.

Reconnect to prover
2 participants