@@ -277,7 +277,7 @@ library LibInitializeGuard {
277
277
string [] memory inputs = new string [](4 );
278
278
inputs[0 ] = "forge " ;
279
279
inputs[1 ] = "inspect " ;
280
- inputs[2 ] = _getContractName ($cache._chainInfo[proxy].forkId, proxy);
280
+ inputs[2 ] = _getContractAbsolutePath ($cache._chainInfo[proxy].forkId, proxy);
281
281
inputs[3 ] = "methodIdentifiers " ;
282
282
283
283
string memory ret = vm.toLowercase (string (vm.ffi (inputs)));
@@ -301,7 +301,7 @@ library LibInitializeGuard {
301
301
string [] memory inputs = new string [](4 );
302
302
inputs[0 ] = "forge " ;
303
303
inputs[1 ] = "inspect " ;
304
- inputs[2 ] = _getContractName ($cache._chainInfo[proxy].forkId, proxy);
304
+ inputs[2 ] = _getContractAbsolutePath ($cache._chainInfo[proxy].forkId, proxy);
305
305
inputs[3 ] = "storage " ;
306
306
307
307
string memory ret = string (vm.ffi (inputs));
@@ -322,12 +322,12 @@ library LibInitializeGuard {
322
322
}
323
323
324
324
/**
325
- * @dev Get the contract name by the given `addr` and `forkId`.
325
+ * @dev Get the contract absolute path by the given `addr` and `forkId`.
326
326
*/
327
- function _getContractName (uint256 forkId , address addr ) private view returns (string memory contractName ) {
327
+ function _getContractAbsolutePath (uint256 forkId , address addr ) private view returns (string memory contractName ) {
328
328
TNetwork networkType = vme.getNetworkTypeByForkId (forkId);
329
329
TContract contractType = vme.getContractTypeByRawData (networkType, addr);
330
- contractName = vme.getContractName (contractType);
330
+ contractName = vme.getContractAbsolutePath (contractType);
331
331
}
332
332
333
333
/**
0 commit comments