Add backstop tests

This commit is contained in:
Amir Bandeali
2019-10-06 13:17:02 -07:00
parent a7ef54dbff
commit 9e41c648dc
10 changed files with 93 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ contract ZrxVaultBackstop {
// Ensure that the stakingProxy has been in read-only mode for a long enough time
require(
block.timestamp.safeSub(readOnlyState.lastSetTimestamp) >= 40 days,
"READ_ONLY_MODE_LENGTH_TOO_SHORT"
"READ_ONLY_MODE_DURATION_TOO_SHORT"
);
zrxVault.enterCatastrophicFailure();