@@ -127,7 +127,7 @@ contract HookTargetFirewall is IHookTarget, EVCUtil {
127
127
);
128
128
129
129
/// @notice Error thrown when the caller is not authorized to perform an operation.
130
- error HTA_Unauthorized ();
130
+ error HTF_Unauthorized ();
131
131
132
132
/// @notice Constructor to initialize the contract with the EVC and validator addresses.
133
133
/// @param _evc The address of the EVC contract.
@@ -148,7 +148,7 @@ contract HookTargetFirewall is IHookTarget, EVCUtil {
148
148
/// @notice Modifier to restrict access to only the governor of the specified vault.
149
149
/// @param vault The address of the vault.
150
150
modifier onlyGovernor (address vault ) {
151
- if (_msgSender () != IEVault (vault).governorAdmin ()) revert HTA_Unauthorized ();
151
+ if (_msgSender () != IEVault (vault).governorAdmin ()) revert HTF_Unauthorized ();
152
152
_;
153
153
}
154
154
@@ -406,7 +406,7 @@ contract HookTargetFirewall is IHookTarget, EVCUtil {
406
406
// be
407
407
// already defined by the validator contract
408
408
if (! isAttestationInProgress ()) {
409
- revert HTA_Unauthorized ();
409
+ revert HTF_Unauthorized ();
410
410
}
411
411
}
412
412
} else {
@@ -421,7 +421,7 @@ contract HookTargetFirewall is IHookTarget, EVCUtil {
421
421
policies[vault].isAuthenticated = true ;
422
422
emit AuthenticateVault (msg .sender );
423
423
} else {
424
- revert HTA_Unauthorized ();
424
+ revert HTF_Unauthorized ();
425
425
}
426
426
}
427
427
0 commit comments