-
Notifications
You must be signed in to change notification settings - Fork 607
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
Add healthcheck endpoint to sqs #6935
Conversation
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.
Great work! Left initial comments
ingest/sqs/chain_info/repository/redis/redis_chain_info_repository.go
Outdated
Show resolved
Hide resolved
Result struct { | ||
SyncInfo struct { | ||
LatestBlockHeight string `json:"latest_block_height"` | ||
} `json:"sync_info"` | ||
} `json:"result"` |
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.
Is there some tendermint struct we can import instead of hardcoding these?
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.
I tried changing this to import and use tendermint directly, the cometbft version we have imported and the actual tendermint version we are running on seems to have diference ( maybe due to diff between comet bft version between main and mainnet), retained this for now so that we can further test this
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.
OK
@p0mvn I have addressed all your prior comments except the one for using tendermint struct! |
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.
Nice work sir
Closes: #XXX
What is the purpose of the change
Adds healthcheck endpoint that returns the following:
Testing and Verifying
WIP
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)