Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Fix error where object could be undefined given an approval event #1692

Merged
merged 3 commits into from
Mar 14, 2019

Conversation

dekz
Copy link
Member

@dekz dekz commented Mar 13, 2019

Description

When tracking ApprovalForAll on ERC721, an untracked address (no orders added as a maker) could cause a lookup on undefined.

Fixed #1550

Testing instructions

Types of changes

Checklist:

  • Prefix PR title with [WIP] if necessary.
  • Add tests to cover changes as needed.
  • Update documentation as needed.
  • Add new entries to the relevant CHANGELOG.jsons.

@dekz dekz requested a review from LogvinovLeon March 13, 2019 21:43
@dekz dekz changed the title Fix error were object could be undefined given an approval event Fix error where object could be undefined given an approval event Mar 13, 2019
@dekz dekz force-pushed the fix/order-watcher/1550 branch from d37a4ab to f57f29e Compare March 14, 2019 09:12
@coveralls
Copy link

coveralls commented Mar 14, 2019

Coverage Status

Coverage increased (+0.005%) to 85.18% when pulling e28c6d6 on fix/order-watcher/1550 into af04c29 on development.

@dekz dekz requested a review from fabioberger March 14, 2019 10:04
@dekz dekz merged commit b378a06 into development Mar 14, 2019
@dekz dekz deleted the fix/order-watcher/1550 branch March 14, 2019 10:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERC721 order watcher type error
3 participants