Skip to content

Flatten sei-ibc-go module into sei-chain#2611

Merged
masih merged 13 commits intomainfrom
masih/flatten-ibc-go
Dec 16, 2025
Merged

Flatten sei-ibc-go module into sei-chain#2611
masih merged 13 commits intomainfrom
masih/flatten-ibc-go

Conversation

@masih
Copy link
Copy Markdown
Collaborator

@masih masih commented Dec 16, 2025

Remove another unnecessary nesting of go.mod for sei-ibc-go

Fix various bugs, lint and security issues.

Remove another unnecessary nesting of go.mod for sei-ibc-go
@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 16, 2025

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedDec 16, 2025, 7:52 PM

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 16, 2025

Codecov Report

❌ Patch coverage is 43.87755% with 55 lines in your changes missing coverage. Please review.
✅ Project coverage is 43.21%. Comparing base (ff2f9fc) to head (a16c9b7).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sei-ibc-go/modules/core/module.go 0.00% 7 Missing and 1 partial ⚠️
sei-ibc-go/modules/core/02-client/client/cli/tx.go 0.00% 7 Missing ⚠️
...-ibc-go/modules/core/23-commitment/types/merkle.go 28.57% 3 Missing and 2 partials ⚠️
sei-ibc-go/modules/core/02-client/keeper/keeper.go 50.00% 2 Missing and 2 partials ⚠️
...-go/modules/core/03-connection/client/cli/query.go 0.00% 4 Missing ⚠️
...ibc-go/modules/core/04-channel/client/cli/query.go 0.00% 4 Missing ⚠️
...o/modules/core/03-connection/client/utils/utils.go 0.00% 3 Missing ⚠️
sei-ibc-go/modules/core/client/query.go 0.00% 3 Missing ⚠️
.../27-interchain-accounts/controller/keeper/relay.go 50.00% 1 Missing and 1 partial ⚠️
sei-ibc-go/modules/apps/transfer/module.go 0.00% 2 Missing ⚠️
... and 8 more

❌ Your patch status has failed because the patch coverage (43.87%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2611      +/-   ##
==========================================
- Coverage   43.22%   43.21%   -0.02%     
==========================================
  Files        1857     1857              
  Lines      153124   153168      +44     
==========================================
- Hits        66190    66189       -1     
- Misses      81013    81046      +33     
- Partials     5921     5933      +12     
Flag Coverage Δ
sei-chain 45.12% <43.87%> (+3.16%) ⬆️
sei-cosmos 38.03% <ø> (-0.01%) ⬇️
sei-db 69.06% <ø> (ø)
sei-ibc-go ?
sei-tendermint 47.53% <ø> (+0.02%) ⬆️
sei-wasmd 42.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
app/ante.go 75.00% <ø> (ø)
app/ante/cosmos_checktx.go 0.00% <ø> (ø)
app/app.go 76.54% <ø> (ø)
app/legacyabci/begin_block.go 0.00% <ø> (ø)
app/legacyabci/check_tx.go 0.00% <ø> (ø)
precompiles/ibc/ibc.go 50.43% <ø> (ø)
precompiles/utils/expected_keepers.go 0.00% <ø> (ø)
sei-cosmos/testutil/key.go 64.44% <ø> (ø)
...ules/apps/27-interchain-accounts/client/cli/cli.go 0.00% <ø> (ø)
...interchain-accounts/controller/client/cli/query.go 0.00% <ø> (ø)
... and 132 more

... and 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

bz := k.MustMarshalConsensusState(upgradedConsState)

k.SetUpgradedConsensusState(ctx, plan.Height, bz)
if err := k.SetUpgradedConsensusState(ctx, plan.Height, bz); err != nil {

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
path flow from Begin/EndBlock to a panic call
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

already contains a panic at line 42.


k.SetUpgradedConsensusState(ctx, plan.Height, bz)
if err := k.SetUpgradedConsensusState(ctx, plan.Height, bz); err != nil {
panic(err)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

Possible panics in BeginBock- or EndBlock-related consensus methods could cause a chain halt

k.SetUpgradedConsensusState(ctx, plan.Height, bz)
if err := k.SetUpgradedConsensusState(ctx, plan.Height, bz); err != nil {
panic(err)

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

path flow from Begin/EndBlock to a panic call
return NewHeight(revision, uint64(ctx.BlockHeight()))
blockHeight := ctx.BlockHeight()
if blockHeight < 0 {
panic("block height is negative")

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

Possible panics in BeginBock- or EndBlock-related consensus methods could cause a chain halt
setConsensusMetadataWithValues(clientStore, height, clienttypes.GetSelfHeight(ctx), uint64(ctx.BlockTime().UnixNano()))
blockTimeNano := ctx.BlockTime().UnixNano()
if blockTimeNano < 0 {
panic("block time is negative")

Check warning

Code scanning / CodeQL

Panic in BeginBock or EndBlock consensus methods Warning

Possible panics in BeginBock- or EndBlock-related consensus methods could cause a chain halt
@@ -2,6 +2,7 @@

import (
"bytes"
"math"

Check notice

Code scanning / CodeQL

Sensitive package import Note

Certain system packages contain functions which may be a possible source of non-determinism
@masih masih marked this pull request as ready for review December 16, 2025 12:08
@masih masih enabled auto-merge (squash) December 16, 2025 18:07
@masih masih merged commit e296862 into main Dec 16, 2025
43 of 44 checks passed
@masih masih deleted the masih/flatten-ibc-go branch December 16, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants