@@ -32,7 +32,7 @@ contract GraphProxyAdmin is Governed {
3232 // We need to manually run the static call since the getter cannot be flagged as view
3333 // bytes4(keccak256("implementation()")) == 0x5c60da1b
3434 (bool success , bytes memory returndata ) = address (_proxy).staticcall (hex "5c60da1b " );
35- require (success);
35+ require (success, " Proxy impl call failed " );
3636 return abi.decode (returndata, (address ));
3737 }
3838
@@ -46,7 +46,7 @@ contract GraphProxyAdmin is Governed {
4646 // We need to manually run the static call since the getter cannot be flagged as view
4747 // bytes4(keccak256("pendingImplementation()")) == 0x396f7b23
4848 (bool success , bytes memory returndata ) = address (_proxy).staticcall (hex "396f7b23 " );
49- require (success);
49+ require (success, " Proxy pendingImpl call failed " );
5050 return abi.decode (returndata, (address ));
5151 }
5252
@@ -59,7 +59,7 @@ contract GraphProxyAdmin is Governed {
5959 // We need to manually run the static call since the getter cannot be flagged as view
6060 // bytes4(keccak256("admin()")) == 0xf851a440
6161 (bool success , bytes memory returndata ) = address (_proxy).staticcall (hex "f851a440 " );
62- require (success);
62+ require (success, " Proxy admin call failed " );
6363 return abi.decode (returndata, (address ));
6464 }
6565
0 commit comments