Skip to content

Commit

Permalink
fix: EventLookupError
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Sep 11, 2023
1 parent a23956b commit 0e09416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yearn/v2/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def load_registry(self):
if hasattr(r, 'releaseRegistry') and "ReleaseRegistryUpdated" in r.topics:
logs = get_logs_asap(str(r), [r.topics["ReleaseRegistryUpdated"]])
# Add all past and present Release Registries
for rr in {event['NewRegistry'] for event in decode_logs(logs)}:
for rr in {list(event.values())[0] for event in decode_logs(logs)}:
registries.append(contract(rr))
logger.debug("release registry %s found for registry %s", rr, r)
return registries
Expand Down

0 comments on commit 0e09416

Please sign in to comment.