Skip to content
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

Question: how to configure consensus param MaxBytes on v0.46.x #17090

Closed
rootulp opened this issue Jul 22, 2023 · 2 comments
Closed

Question: how to configure consensus param MaxBytes on v0.46.x #17090

rootulp opened this issue Jul 22, 2023 · 2 comments

Comments

@rootulp
Copy link
Contributor

rootulp commented Jul 22, 2023

Question

How do I configure the consensus param MaxBytes with Cosmos SDK v0.46.x?

I see v0.47.x introduced an x/consensus module with a keeper that contains UpdateParams but I'm not sure how to set this parameter on a live v0.46.x chain. Should I issue a governance proposal? Is there a test or code you can point me to? Thanks in advance!

@github-actions github-actions bot added the needs-triage Issue that needs to be triaged label Jul 22, 2023
@julienrbrt julienrbrt added T:question and removed needs-triage Issue that needs to be triaged labels Jul 24, 2023
@julienrbrt
Copy link
Member

These parameters were stored in the x/params module (simd q params subspace baseapp EvidenceParams):

bApp.SetParamStore(app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramstypes.ConsensusParamsKeyTable()))

I believe you can update them by submitting a param change proposal in chains using <= v0.46.x

@rootulp
Copy link
Contributor Author

rootulp commented Jul 24, 2023

Awesome thanks @julienrbrt ! Will try, I think this can be closed for now.

@rootulp rootulp closed this as completed Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants