mariuspod / yearn-exporter

Realtime and historical Yearn metrics
https://yearn.vision
MIT License
0 stars 0 forks source link

ValueError: from node: 0.803557478532218 from db: 0.803557478532219 diff: -9.992007221626409e-16 #6

Open ysentryapp[bot] opened 1 year ago

ysentryapp[bot] commented 1 year ago

Sentry Issue: YEARN-EXPORTER-AVM

ValueError: from node: 0.803557478532218 from db: 0.803557478532219 diff: -9.992007221626409e-16
  File "yearn/treasury/accountant/classes.py", line 58, in sort
    if hasattr(self, 'check') and self.check(tx):
  File "yearn/treasury/accountant/ignore/swaps/buying_yfi.py", line 50, in is_buying_with_buyer
    raise ValueError(f'from node: {amount_from_chain} from db: {amount_from_db} diff: {amount_from_chain - amount_from_db}')
mariuspod commented 1 year ago

fixes YEARN-EXPORTER-AVM