imp: add updateClientCheckTx to redunant relayer ante decorator#6279
imp: add updateClientCheckTx to redunant relayer ante decorator#6279damiannolan merged 6 commits intomainfrom
Conversation
WalkthroughThe update enhances IBC client update handling in the Changes
Possibly related issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review Details
Configuration used: .coderabbit.yml
Review profile: CHILL
Files selected for processing (1)
- modules/core/ante/ante.go (3 hunks)
Additional Context Used
Path-based Instructions (1)
modules/core/ante/ante.go (1)
Pattern
**/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.
Additional comments not posted (2)
modules/core/ante/ante.go (2)
76-76: Integration ofcheckTxUpdateClientinAnteHandlelooks correct and aligns with the PR's objectives.
96-125: The new functioncheckTxUpdateClientis well-implemented and adheres to the PR's objectives by focusing on verification and state updates without performing misbehavior checks.
There was a problem hiding this comment.
Actionable comments posted: 1
Review Details
Configuration used: .coderabbit.yml
Review profile: CHILL
Files selected for processing (1)
- modules/core/ante/ante_test.go (2 hunks)
Additional Context Used
Path-based Instructions (1)
modules/core/ante/ante_test.go (2)
Pattern
**/*.go: Review the Golang code for conformity with the Uber Golang style guide, highlighting any deviations.
Pattern
**/*_test.go: "Assess the unit test code assessing sufficient code coverage for the changes associated in the pull request"
colin-axner
left a comment
There was a problem hiding this comment.
Thanks for adding the tests!
There was a problem hiding this comment.
Actionable comments posted: 0
Review Details
Configuration used: .coderabbit.yml
Review profile: CHILL
Files selected for processing (1)
- modules/core/ante/ante.go (3 hunks)
Files skipped from review as they are similar to previous changes (1)
- modules/core/ante/ante.go
|
* imp: add checkTxUpdateClient to redunant relayer ante decorator * chore: update godoc and duplicate imports * test: add coverage for checkTxUpdateClient func * chore: rename ante func to updateClientCheckTx (cherry picked from commit 3da4830) # Conflicts: # modules/core/ante/ante.go # modules/core/ante/ante_test.go
* imp: add checkTxUpdateClient to redunant relayer ante decorator * chore: update godoc and duplicate imports * test: add coverage for checkTxUpdateClient func * chore: rename ante func to updateClientCheckTx (cherry picked from commit 3da4830)
* imp: add checkTxUpdateClient to redunant relayer ante decorator * chore: update godoc and duplicate imports * test: add coverage for checkTxUpdateClient func * chore: rename ante func to updateClientCheckTx
…6306) * imp: add updateClientCheckTx to redunant relayer ante decorator (#6279) * imp: add checkTxUpdateClient to redunant relayer ante decorator * chore: update godoc and duplicate imports * test: add coverage for checkTxUpdateClient func * chore: rename ante func to updateClientCheckTx * refactor: ignore misbehaviour types for UpdateState in ante handler * chore: make lint-fix * test: add misbehaviour testcases to ante handler * lint * chore: add changelog entry --------- Co-authored-by: Colin Axnér <25233464+colin-axner@users.noreply.github.com>
…port #6279) (#6304) * imp: add updateClientCheckTx to redunant relayer ante decorator (#6279) * imp: add checkTxUpdateClient to redunant relayer ante decorator * chore: update godoc and duplicate imports * test: add coverage for checkTxUpdateClient func * chore: rename ante func to updateClientCheckTx (cherry picked from commit 3da4830) # Conflicts: # modules/core/ante/ante.go # modules/core/ante/ante_test.go * resolve conflicts and add changelog * rm wasm dir * chore: mv changelog * Update modules/core/ante/ante.go Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> --------- Co-authored-by: Damian Nolan <damiannolan@gmail.com> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
…port #6279) (#6305) * imp: add updateClientCheckTx to redunant relayer ante decorator (#6279) * imp: add checkTxUpdateClient to redunant relayer ante decorator * chore: update godoc and duplicate imports * test: add coverage for checkTxUpdateClient func * chore: rename ante func to updateClientCheckTx (cherry picked from commit 3da4830) * Update modules/core/ante/ante.go Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> --------- Co-authored-by: Damian Nolan <damiannolan@gmail.com> Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>




Description
Adds
checkTxUpdateClientto ante decorator.ref: #6232
Can be released as patch on v7.5.x and v8.3.x but requires additional changes for patching on earlier releases
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/).godoccomments.Files changedin the GitHub PR explorer.SonarCloud Reportin the comment section below once CI passes.Summary by CodeRabbit
New Features
Refactor