package
1.4.0-rc.2
Repository: https://github.com/iotaledger/wasp.git
Documentation: pkg.go.dev

# Functions

VerifyContractStateHash calculates a hash of the contract state at the latest state index, compares it to the hash stored in <testName>-<contract>.hex, and panics if the hash changed.
VerifyDBHash calculates a hash of the database contents, compares it to the hash stored in <testName>.hex, and panics if the hash changed.
VerifyStateHash calculates a hash of the chain state at the latest state index, compares it to the hash stored in <testName>-<contract>.hex, and panics if the hash changed.