openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

Remove Address.isContract

Open JulissaDantes opened this issue 2 years ago • 0 comments

Replaces #3682 Fixes #3417

  • This PR removes isContract utility function from Address.sol library.
  • Wherever isContract was used in the other contracts, is replaced by inlining address(...).code.length > 0

PR Checklist

  • [x] Tests
  • [x] Documentation
  • [x] Changelog entry

JulissaDantes avatar Jan 11 '23 12:01 JulissaDantes