lambdaclass / starknet-replay

Provides a way of reading a real Starknet State, so you can re-execute an existing transaction in any of the Starknet networks in an easy way
Apache License 2.0
6 stars 1 forks source link

Add missing counter to cmp_state_dumps.sh #71

Closed JulianGCalderon closed 1 month ago

JulianGCalderon commented 1 month ago

The script cmp_state_dumps.sh counts the number of diffing and matching transactions.

If a state dump is missing in either VM or Native, it is considered a diff. This can happen if execution has not yet finished, and one (native or VM) is ahead of the other.

We can add another counter missing that takes this into account, so that it doesn't show as a diff when in reality is not a diff. This can help debugging.