@@ -142,42 +142,6 @@ contract EspressoTEEVerifier is OwnableWithGuardiansUpgradeable, IEspressoTEEVer
142142 }
143143 }
144144
145- /**
146- * @notice Set the EspressoSGXTEEVerifier
147- * @param _espressoSGXTEEVerifier The address of the EspressoSGXTEEVerifier
148- */
149- function setEspressoSGXTEEVerifier (IEspressoSGXTEEVerifier _espressoSGXTEEVerifier )
150- public
151- onlyOwner
152- {
153- if (address (_espressoSGXTEEVerifier) == address (0 )) {
154- revert InvalidVerifierAddress ();
155- }
156- EspressoTEEVerifierStorage storage $ = _layout ();
157- address oldVerifier = address ($.espressoSGXTEEVerifier);
158- address newVerifier = address (_espressoSGXTEEVerifier);
159- $.espressoSGXTEEVerifier = _espressoSGXTEEVerifier;
160- emit EspressoSGXTEEVerifierSet (oldVerifier, newVerifier);
161- }
162-
163- /**
164- * @notice Set the EspressoNitroTEEVerifier
165- * @param _espressoNitroTEEVerifier The address of the EspressoNitroTEEVerifier
166- */
167- function setEspressoNitroTEEVerifier (IEspressoNitroTEEVerifier _espressoNitroTEEVerifier )
168- public
169- onlyOwner
170- {
171- if (address (_espressoNitroTEEVerifier) == address (0 )) {
172- revert InvalidVerifierAddress ();
173- }
174- EspressoTEEVerifierStorage storage $ = _layout ();
175- address oldVerifier = address ($.espressoNitroTEEVerifier);
176- address newVerifier = address (_espressoNitroTEEVerifier);
177- $.espressoNitroTEEVerifier = _espressoNitroTEEVerifier;
178- emit EspressoNitroTEEVerifierSet (oldVerifier, newVerifier);
179- }
180-
181145 /**
182146 * @notice Allows the owner or guardian to set enclave hashes
183147 * @param enclaveHash The enclave hash to set
0 commit comments