Closed PaddyMc closed 1 month ago
The pull request introduces updates to the CHANGELOG.md
file, enhancing its structure and adding entries for various releases of the Osmosis project, including a bug fix for the governance module. Additionally, it modifies the app/upgrades/v27/upgrades.go
file to improve the upgrade handler functionality by adding a new function for initializing a constitution collection. A new test suite is also introduced in upgrades_test.go
to validate the upgrade logic and governance module behavior for version 27.
File | Change Summary |
---|---|
CHANGELOG.md |
Updated format and added entries under "Unreleased" for state breaking, config, and bug fixes. |
Updated entries for versions v26.0.1 and v26.0.0 detailing features, improvements, and bug fixes. | |
app/upgrades/v27/upgrades.go |
Added import for govkeeper , updated CreateUpgradeHandler to initialize constitution collection, and defined InitializeConstitutionCollection function. |
app/upgrades/v27/upgrades_test.go |
Introduced a test suite with methods to validate upgrade logic and governance module behavior. |
x/gauges
module, which is relevant to the updates made in the main PR regarding the changelog.cosmwasm-optimizer
, which is also documented in the main PR's changelog updates.cometbft/cosmos-sdk
versions, which aligns with the systematic approach to documenting changes in the main PR's updates to the changelog.
What is the purpose of the change
Currently the export of Osmosis to genesis state isn't working as expected because of the export of gov is missing a gov collection key.
see: https://github.com/cosmos/cosmos-sdk/issues/21887
Testing and Verifying
Unit test:
cd ./app/upgrades/v27
go test ./...
in-place-testnet:
osmosisd export --modules-to-export "gov"
Query:
osmosisd q gov constitution
BUG:
Documentation and Release Note
Unreleased
section ofCHANGELOG.md
?Where is the change documented?
x/{module}/README.md
)