Line 2 in every contract seems wrong. None of them give the correct file name

PaymentSplitterUpgradeable.sol says "finance/PaymentSplitter.sol".
PausableUpgradeable.sol says "security/Pausable.sol".
ERC721Upgradeable.sol says "token/ERC721/ERC721.sol".
etc...

I'm curious if there's a good reason for this, or if it's just a mistake.

Hi, welcome to the community! :wave:

Sorry, I am not sure what do you mean.

Do you ask why there are two repos for the same logical contracts?

Hi, thanks for replying.

First of all, I made a mistake in my title. It should have read "Line 2 in every upgradeable contract seems wrong."

What I mean is that upgradeable contracts all seem to call themselves the wrong thing in the comment on line 2. For instance, ERC721Upgradeable.sol reads:

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

I would expect it to read:

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721Upgradeable.sol)
1 Like