Commit Graph

5 Commits

Author SHA1 Message Date
IvanBelyakoff bf6c0c4cc6
fix(wallet)_: fix provider down event happening too often (#5595)
* fix(wallet)_: fix provider down event happening too often

- handle context cancelled error
- do not count expected errors when calling tokenURI as providers
  errors
- use archival not for optimism (was silently added by Grove makeing the
  old URL non-archival)

Closes #5555

* test(wallet)_: add test for collectibles manager to verify that main
circuit is not tripped calling by tokenURI method
2024-07-29 18:07:43 +01:00
Ivan Belyakov 94b2017226 test(wallet)_: fix flaky circuit breaker test on window timeout
fix racing condition on init of RPC stats
2024-07-17 18:06:48 +02:00
Ivan Belyakov 4b19845592 chore(wallet)_: Added a test for Market manager FetchTokenMarketValues
Added a nil/empty command test for circuit breaker
2024-07-05 12:39:19 +01:00
Ivan Belyakov 0e10b38e4b fix(wallet)_: fix circuit breaker to use health checks for fallback
functions as well.

Add tests, fix tests failing under stress due to name clashes
2024-07-05 12:39:19 +01:00
Ivan Belyakov 7d7fa07754 feat: implemented a circuit breaker wrapper around hystrix to allow
multiple fallbacks
2024-03-18 11:49:03 +01:00