EYBlockchain / nightfall_3

a mono-repo containing an optimistic version of nightfall
Creative Commons Zero v1.0 Universal
261 stars 57 forks source link

Fix: Handle re-deployed contracts on wallet #1359

Closed pawelgrzybek closed 1 year ago

pawelgrzybek commented 1 year ago

What does this implement/fix? Explain your changes.

It handles a scenario where contracts were redeployed. Instead of of only checking for block number accuracy, it also makes sure the block hashes match.

Does this close any currently open issues?

Maybe.

What commands can I run to test the change?

Re-snc wallet on the env where contracts where redeployed.

Any other comments?

It assumes that the enhancement to sync block Lambda are merged.