-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
chore(consensus): add cometInfo to consensus #20615
Merged
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
35ed5bb
upstream more changes from v2
tac0turtle 5ac07f7
more changes
tac0turtle 430fa04
reduce
tac0turtle b699ece
Merge branch 'main' into marko/upstream_more_v2_4
tac0turtle f39637b
remove it
tac0turtle 51247f7
++
tac0turtle f68c482
add message
tac0turtle bfa2eff
add tests
tac0turtle fb84d72
add comments
tac0turtle 445c177
add changelog
tac0turtle 6317d6f
remove extra
tac0turtle 7d4e4b2
rename to get
tac0turtle 314c3a4
remove unneeded
tac0turtle 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Since: cosmos-sdk 0.52 | ||
syntax = "proto3"; | ||
package cosmos.consensus.v1; | ||
|
||
import "cometbft/abci/v1/types.proto"; | ||
|
||
option go_package = "cosmossdk.io/x/consensus/types"; | ||
|
||
// ConsensusMsgParamsResponse defines the response structure for executing a | ||
// ConsensusMsgParams message. | ||
message ConsensusMsgParamsResponse {} | ||
|
||
// CometInfo defines the structure of the x/consensus module's comet info. | ||
message CometInfo { | ||
repeated cometbft.abci.v1.Misbehavior evidence = 1; | ||
bytes validators_hash = 2; | ||
bytes proposer_address = 3; | ||
cometbft.abci.v1.CommitInfo last_commit = 4; | ||
} |
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.
Tip
Codebase Verification
The import path
cometbft/abci/v1/types.proto
inconsensus.proto
is incorrect or the file is missing from the repository. Please verify the correct path or ensure that the required file is added to the repository.x/consensus/proto/cosmos/consensus/v1/consensus.proto
Analysis chain
Ensure the import path is correctly specified and accessible.
Scripts executed
The following scripts were executed for the analysis:
Script:
Length of output: 52
Script:
Length of output: 221
Script:
Length of output: 42