Skip to content

chore: prepare for new Cosmos Stack Release Family#2446

Open
aljo242 wants to merge 35 commits intoCosmWasm:mainfrom
cosmos:chore/update
Open

chore: prepare for new Cosmos Stack Release Family#2446
aljo242 wants to merge 35 commits intoCosmWasm:mainfrom
cosmos:chore/update

Conversation

@aljo242
Copy link
Copy Markdown

@aljo242 aljo242 commented Mar 5, 2026

No description provided.

@DariuszDepta DariuszDepta requested a review from pinosu March 12, 2026 11:44
Copy link
Copy Markdown
Contributor

@pinosu pinosu left a comment

Choose a reason for hiding this comment

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

Nice work! LGTM 👍

I added some minor comments, and after those are fixed I will do another final review.

app/app.go Outdated
func (app *WasmApp) RegisterNodeService(clientCtx client.Context, cfg config.Config) {
nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter(), cfg)
nodeservice.RegisterNodeService(clientCtx, app.GRPCQueryRouter(), cfg, func() int64 {
return app.CommitMultiStore().LatestVersion() // todo fix
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@aljo242 can you check this // todo fix ?

appConfig.Telemetry.PrometheusRetentionTime = 60
appConfig.Telemetry.EnableHostnameLabel = false
appConfig.Telemetry.GlobalLabels = [][]string{{"chain_id", args.chainID}}
appConfig.Telemetry.Enabled = true // nolint:staticcheck // TODO update to OTEL
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good point. We can migrate to otel in another PR 👍

if spec.expAck {
// and the packet is relayed
wasmibctesting.RelayAndAckPendingPackets(path)
_ = wasmibctesting.RelayAndAckPendingPackets(path)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

in all the methods that return an error we should assert NoError instead of ignoring it. WDYT?

@vladjdk
Copy link
Copy Markdown

vladjdk commented Mar 18, 2026

Hey @pinosu, would you be able to review the newest changes? They contain the latest SDK API changes and the use of sdk.ValidateAuthority to make use of the global authority in Consensus parameters. The defaults here would be backwards compatible with an unset consensus authority field falling back to the keeper's set authority from app.go.

@pinosu
Copy link
Copy Markdown
Contributor

pinosu commented Mar 19, 2026

Hey @pinosu, would you be able to review the newest changes? They contain the latest SDK API changes and the use of sdk.ValidateAuthority to make use of the global authority in Consensus parameters. The defaults here would be backwards compatible with an unset consensus authority field falling back to the keeper's set authority from app.go.

Hey, definitely. On Monday as soon as I'm back I will review this 👍

}

func TestUpdateParamsAuthority(t *testing.T) {
wasmApp := app.Setup(t)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think these tests could be set up as table driven tests. WDYT?

@pinosu
Copy link
Copy Markdown
Contributor

pinosu commented Mar 23, 2026

Hey @vladjdk , I added just a comment to the tests, to use if possible the table driven approach.
Also make sure to run make proto-all , just to make sure everything is formatted.

@vladjdk
Copy link
Copy Markdown

vladjdk commented Mar 26, 2026

Hey @pinosu, I applied the fixes to your review, and also bumped all the dependencies to RCs before we launch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants