Skip to content

Conversation

@PooyaRaki
Copy link
Contributor

Summary

This PR enables the circuit breaker for additional transaction service endpoints.

Changes

  • Enabled the circuit breaker for additional transaction service endpoints.

@PooyaRaki PooyaRaki force-pushed the feat/enableCircuitBreakerForEndpoints branch from 66275a3 to 7390ebe Compare February 4, 2026 16:30
@PooyaRaki PooyaRaki self-assigned this Feb 4, 2026
@PooyaRaki PooyaRaki marked this pull request as ready for review February 6, 2026 15:32
@PooyaRaki PooyaRaki requested a review from a team as a code owner February 6, 2026 15:32
Comment on lines +2414 to +2416
circuitBreaker: {
key: CircuitBreakerKeys.getTransactionServiceKey(chainId),
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpic: i just realized, that as we are using the same objects across these tests and most values are static, we could also create const with them and reuse instead of passing to each test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then you’d need to pass the chainId. How would you handle that?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for tests there is one chainId = 1 created at the top, no? so nothing changes from test to test

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im fine with keeping it explicit as we do with other params, just with all that refactoring i have been doing i cant unsee the duplication haha :) it is good to go from my side

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, for most of them yeah it's 1 except for one test that uses hoodiChainId.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants