openzeppelin-contracts
openzeppelin-contracts copied to clipboard
Added internal functions `_getInitializedVersion` and `_isInitializing` as required by #3584
Fixes #3584
@frangio, once you are okay with this. I would add the functions in InitializableMock.sol
SingleInheritanceInitializableMock.sol
MultipleInitializableMock.sol
and write tests accordingly. Pardon me if I have messed up something since I am a novice.
PR Checklist
- [x] Tests
- [x] Documentation
- [ ] Changelog entry
Thank you @hrik2001 for this PR.
We'll need tests and a changelog entry. Otherwize looks good
@Amxx Hi! I have made changes accordingly (tests and changelog). Although some tests are failing. Is that worrying? Do let me know if I have to make more changes. Thank you!
@Amxx oops, my bad, looks like all the tests have passed and I might have looked at the old test results. Please let me know your review and sorry for sounding like a broken record 😅