You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per the foundry docs, tests for deployment scripts should assert on the state changes made by the script. This issue is concerned with modifying the following tests to assert against all state changes in our scripts including branching logic:
Assert against state changes including:
The specific contracts are deployed
Use require statements to assert that the expected address is correct, this work would include calculating expected addresses: require(computedAddress == deployedAddress, "address mismatch")
Ensure all branching logic is tested not just a single happy path
The text was updated successfully, but these errors were encountered:
As per the foundry docs, tests for deployment scripts should assert on the state changes made by the script. This issue is concerned with modifying the following tests to assert against all state changes in our scripts including branching logic:
require
statements to assert that the expected address is correct, this work would include calculating expected addresses:require(computedAddress == deployedAddress, "address mismatch")
The text was updated successfully, but these errors were encountered: