Update dependency eslint to v9 (#4996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com> Co-authored-by: cairo <cairoeth@protonmail.com>
This commit is contained in:
@ -26,7 +26,7 @@ const upgradeableSlot = (contractName, offset) => {
|
||||
// Try to get the artifact paths, will throw if it doesn't exist
|
||||
artifacts._getArtifactPathSync(`${contractName}Upgradeable`);
|
||||
return offset + ethers.toBigInt(erc7201Slot(erc7201format(contractName)));
|
||||
} catch (_) {
|
||||
} catch {
|
||||
return offset;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user