matter-labs / era-test-node

In-memory node that can be used for integration testing and debugging.
https://matter-labs.github.io/era-test-node
Apache License 2.0
313 stars 76 forks source link

fix: match block hash computation from core #364

Open itegulov opened 1 month ago

itegulov commented 1 month ago

era-test-node uses a placeholder block hash computation function that produce different results from zksync-era.

This is perhaps not easily observable by users hence of lower priority but can still be unexpected if you want to, e.g., manually replicate an existing block from mainnet.

Another blocker is that this likely requires a significant refactor of metadata_calculator as it is designed around PG connections.

Marking as low priority as ROI seems exceedingly low on this