ERC20PausableUpgradeable unchained

Hey everyone, I have some questions behind the upgradeable contracts

As far as I understood the _init function should call all the _init_unchained functions from the contracts it inherits.

But in the ERC20PausableUpgradeable the _init skips the _ERC20_init_unchainded and calls only _Pausable_init_unchained

What is the rationale behind not calling the init function of ERC20?

See https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/issues/172#issuecomment-1231554310 for the rationale.

1 Like

Thanks, that explained well