This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Use context with timeout for external RPC API calls #27
Merged
Stefan-Ethernal
merged 7 commits into
main
from
CDK-27-configure-context-with-timeout-for-all-external-rpc-calls
Dec 15, 2023
Merged
Use context with timeout for external RPC API calls #27
Stefan-Ethernal
merged 7 commits into
main
from
CDK-27-configure-context-with-timeout-for-all-external-rpc-calls
Dec 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stefan-Ethernal
force-pushed
the
CDK-27-configure-context-with-timeout-for-all-external-rpc-calls
branch
from
December 13, 2023 15:09
cd625b4
to
5160c3a
Compare
Stefan-Ethernal
force-pushed
the
CDK-27-configure-context-with-timeout-for-all-external-rpc-calls
branch
from
December 15, 2023 12:28
5160c3a
to
875eba7
Compare
begmaroman
reviewed
Dec 15, 2023
begmaroman
approved these changes
Dec 15, 2023
vcastellm
approved these changes
Dec 15, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
goran-ethernal
approved these changes
Dec 15, 2023
Stefan-Ethernal
deleted the
CDK-27-configure-context-with-timeout-for-all-external-rpc-calls
branch
December 15, 2023 15:26
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces
context.WithTimeout
for theInteropEndpoints
, where we are sending requests to some external RPC endpoints. It relies onReadTimeout
fromjsonrpc.Config
.It also implements unit tests for
ConvertProof
, to meet quality gate, since that code is affected by introducing theHashLength
andProofLength
constants.