You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ethHandlers.ts should be refactored to adhere with the following principles:
Handlers should contain no direct assignment of Entity values. State alterations must be performed through appropriate Service methods (such as PoolService.ts or LoanService.ts)
Avoid use of array iterators methods such as .map() or .foreach() in combination with async functions, as these can lead to the raising of unhandled exceptions. Use for ... of ... instead.
Refactor contract calls to be included in the appropriate Service Method
The text was updated successfully, but these errors were encountered:
ethHandlers.ts should be refactored to adhere with the following principles:
PoolService.ts
orLoanService.ts
).map()
or.foreach()
in combination withasync
functions, as these can lead to the raising of unhandled exceptions. Usefor ... of ...
instead.The text was updated successfully, but these errors were encountered: