dymensionxyz / dymension-rdk

Framework for building highly scalable RollApps
Apache License 2.0
96 stars 53 forks source link

Add command to validate rollapp state against hub state #493

Open omritoptix opened 1 month ago

omritoptix commented 1 month ago

In order to validate snapshot validity pre running the rollapp we should have the ability to validate the rollapp state against the hub state and alert the user in case of a mismatch in terms of app-hash.

[edit]

upon extracting the snapshot, we get access to the database. Open the database, check for the latest state and compare it with the hub state