PrepareProposal
always passes v0 to GovSquareSizeUpperBound
#3066
Labels
bug
Something isn't working
PrepareProposal
always passes v0 to GovSquareSizeUpperBound
#3066
Unlike
ProcessProposal
, whenPreparePropsoal
creates a sdk context it's not setting the version in the header. This becomes an issue when callingGovMaxSquareSize
, which uses the app version found in the header.celestia-app/app/square_size.go
Line 22 in ef3c0d5
When the version changes, v0 will still be used for
GovMaxSquareSize
. To fix this,GovSquareSizeUpperBound
should always use the paramstore/baseapp app version.The text was updated successfully, but these errors were encountered: