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

Remove Address.isContract

Open ashwinYardi opened this issue 2 years ago • 0 comments

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

ashwinYardi avatar Sep 06 '22 06:09 ashwinYardi