openmina / mina-p2p-messages-rs

1 stars 0 forks source link

As a developer, I need to be able to calculate `StateHash` using generated types from **develop** branch #11

Closed binier closed 1 year ago

binier commented 2 years ago

Here is the issue, which tracks StateHash calculation using types generated from the compatible branch.

This one will implement hashing using types from develop branch, where the hashing algo and types are slightly different than in compatible branch.

binier commented 1 year ago

It's implemented here: https://github.com/name-placeholder/openmina/blob/master/node/snark/src/public_input/protocol_state.rs I just need to move it to: https://github.com/name-placeholder/mina-p2p-messages-rs

binier commented 1 year ago

For now added this function and I'm using that in the webnode.

Eventually we should move it to mina-p2p-messages-rs repo, but before we can do that, core parts for block proof verification needs to maybe be moved out to proof-systems repo.