-
Notifications
You must be signed in to change notification settings - Fork 931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: adds support for gRPC streaming and removes dependency on RPC #3915
Open
rach-id
wants to merge
55
commits into
celestiaorg:main
Choose a base branch
from
rach-id:support-grpc-endpoints
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+488
−321
Open
Changes from 13 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
e831ee3
feat!: use blocks streaming API instead of RPC in fetcher
rach-id ea9a2d7
test: node builder test using the new grpc endpoints
rach-id 5cd2e94
chore: import
rach-id c30fdbc
chore: add stop function for fetcher
rach-id 9a194b2
feat!: remove rpc port
rach-id 8360531
chore: remove core rpc tests
rach-id 2b71210
chore: remove core rpc tests
rach-id 13bddc3
fix: test fill blocks failing after node stop
rach-id a568598
chore: use commits for deps
rach-id 291952b
chore: fmt
rach-id 3087a3a
chore: fix tests
rach-id cc81362
chore: fmt
rach-id 7d89608
chore: fmt
rach-id 51096af
chore: memory optimisation
rach-id fe54137
chore: rename to first part
rach-id 62c1dc7
feat!: use a local signed block
rach-id 184391b
chore: remove unnecessary select
rach-id e11d333
chore: fmt
rach-id b37c4b2
Merge branch 'main' into support-grpc-endpoints
rach-id b14cb16
chore: go mod tidy
rach-id e51f237
chore: remove unnecessary =nil
rach-id 221253f
chore: fix test
rach-id fe20093
chore: rename grpc port to port
rach-id 4a90605
fix(header)!: tendermint compatible json marshall (#3928)
zvolin f371c33
chore: use net.JoinHostPort as suggested by @cristaloleg
rach-id 92c4f94
chore: context timeout as suggested by @walldiss
rach-id af7f2be
chore: remove unnecessary comment
rach-id 7a62570
feat!: remove pointers in requests
rach-id 1b41b56
Merge branch 'feature/api-breaks' into support-grpc-endpoints
rach-id a863f6b
chore: bump version
rach-id b5a545f
chore: fix remaining implementation to support removing pointers
rach-id a10ac73
chore: lint
rach-id d4243fa
chore: check if fetcher is listening for new blocks
rach-id 511068a
fix: correctly set the is listening for blocks to false
rach-id a033feb
feat: support stopping the gRPC connection + subscription retry
rach-id c1970f0
Merge branch 'main' into support-grpc-endpoints
rach-id b640490
chore: remove unnecessary import
rach-id f59ca34
Merge branch 'main' into support-grpc-endpoints
rach-id 4becb70
fix: testing bridge node initialisation
rach-id 79089f9
fix: creating the client
rach-id 3ca0dd1
Merge remote-tracking branch 'origin/support-grpc-endpoints' into sup…
rach-id 8eecac0
fix: setting the right gRPC address when starting swamp
rach-id 3329474
fix: initialising the bridge node correctly in swamp
rach-id 258b02e
Merge branch 'main' into support-grpc-endpoints
rach-id 5045918
chore: use atomic bool
rach-id 58e7944
Merge remote-tracking branch 'origin/support-grpc-endpoints' into sup…
rach-id 5634a4d
chore: use client not running error
rach-id c5a9abd
chore: remove unnecessary checks
rach-id 45cb70f
chore: remove block meta and use SignedBlock as return
rach-id cd8092a
chore: update error message
rach-id 130ee10
chore: revert unnecessary change
rach-id 33677e3
Revert "fix(header)!: tendermint compatible json marshall (#3928)"
rach-id d7ff1d3
chore: use reference to data
rach-id 3afda30
Merge branch 'main' into support-grpc-endpoints
rach-id 77bb292
chore: merge conflicts
rach-id File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Can we reuse the client across
state
andcore
modules?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.
Yes. I'm planning to do it in a subsequent PR