Skip to content

Commit

Permalink
fix: remove yvCurve-dETH-f from TEMP_REKT_VAULTS
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Nov 12, 2023
1 parent 14a4594 commit 9f00ca2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions yearn/v2/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@

# populate rekt vaults here
TEMP_REKT_VAULTS = {
Network.Mainnet: [
"0xcd68c3fC3e94C5AcC10366556b836855D96bfa93" # yvCurve-dETH-f 0.4.6 has dETH as unverified token contract
],
Network.Optimism: [
"0x9E724b3f65b509326A4F5Ec90D4689BeE6b6C78e", # ERN-USDC, issue with pricing
]
Expand Down Expand Up @@ -151,9 +148,7 @@ def watch_events(self):
raise NodeNotSynced(f"No new blocks in the past {sleep_time/60} minutes.")

def process_events(self, events):
temp_rekt_vaults = []
if chain.id in TEMP_REKT_VAULTS:
temp_rekt_vaults = TEMP_REKT_VAULTS[chain.id]
temp_rekt_vaults = TEMP_REKT_VAULTS.get(chain.id, [])

for event in events:
if "vault" in event and event["vault"] in temp_rekt_vaults:
Expand Down

0 comments on commit 9f00ca2

Please sign in to comment.