Releases: strangelove-ventures/poa
v0.50.6 (coordinate release)
This release requires a coordinated upgrade via software upgrade to implement. It contains further validations and checks
What's Changed
- refactor: poa fixes, tweaks, and chores by @Reecepbcups in #237
Full Changelog: v0.50.5...v0.50.6
v0.50.5
What's Changed
Full Changelog: v0.50.4...v0.50.5
v0.50.4
What's Changed
- ci: coverage report and badges by @fmorency in #211
- feat: poa authority query by @Reecepbcups in #218
Full Changelog: v0.50.3...v0.50.4
v0.50.3
Notable changes
1) Module Authority
PoA now uses an authority instead of genesis admin params. The SDK's limit of just 1 authority per module was far to confusing to allow multiple to control the set, but only 1 admin who can upgrade the module.
Something like the following is recommended to make it easy for validators to update the PoA admin at runtime, as well as for your own testing. You can also just hardcode the address, but it does make it hard to unit & e2e test.
// GetPoAAdmin by default uses the governance address as typically expected.
// If you decide a single wallet / multisig should have control, the chain validators can set
// POA_ADMIN_ADDRESS=address1... appd start
// or you can ignore this function and just hardcode the address1... into all the NewKeeper()'s
func GetPoAAdmin() string {
if addr := os.Getenv("POA_ADMIN_ADDRESS"); addr != "" {
_, err := sdk.AccAddressFromBech32(addr)
if err != nil {
panic(fmt.Sprintf("invalid POA_ADMIN_ADDRESS: %s", addr))
}
return addr
}
return authtypes.NewModuleAddress(govtypes.ModuleName).String()
}
2) New Ante Disable for Withdrawing Rewards
You should now use poaante.NewPOADisableWithdrawDelegatorRewards(),
in your ante.go
to disable validators from attempting to withdraw rewards.
What's Changed
- fix!: use authority admin, remove params by @Reecepbcups in #184
- feat(v2): wiring v2 by @fmorency in #202
Other
- govulncheck, go vet & bumps by @fmorency in #206
- test!: nested msg tests by @fmorency in #207
- docs: update doc to reflect latest changes by @fmorency in #212
- add simulator tests to coverage by @fmorency in #204
Full Changelog: v0.50.2...v0.50.3
v0.50.2
Breaking Changes
Implement the new poaante.NewPOADisableWithdrawDelegatorRewards()
in your ante.go
.
What's Changed
- ci: remove duplicate lint title workflow by @joelsmith-2019 in #178
- test(e2e): migrate to
sdk.TxResponse
type by @Reecepbcups in #198 - feat!: simulator support by @fmorency in #186
New Contributors
- @joelsmith-2019 made their first contribution in #178
Full Changelog: v0.50.1...v0.50.2
v0.50.1
This is a consensus breaking release and requires a software upgrade to implement.
Must Implement
The following must be added to fix an off by 1 jailing issue. If you do not apply this patch, nodes will continue to try and jail a validator until they are fully unbonded (14-27 days) from a downtime
github.com/cosmos/cosmos-sdk => github.com/rollchains/cosmos-sdk v0.50.6
Highlight
- fix!: persist new vals to the base comet state by @Reecepbcups in #160
- fix!: constant jail patch by @Reecepbcups in #165
github.com/rollchains/cosmos-sdk v0.50.6
is now required to properly handle jailing of validators
What's Changed
- ci: typos + broken links by @Reecepbcups in #147
- test: make coverage by @fmorency in #148
- chore: fix typos by @omahs in #150
- docs: security file by @Reecepbcups in #164
- chore(deps): bump github.com/cometbft/cometbft from 0.38.6 to 0.38.7 by @dependabot in #173
- chore(deps): bump github.com/hashicorp/go-getter from 1.7.1 to 1.7.4 in /simapp by @dependabot in #171
- chore(deps): bump github.com/hashicorp/go-getter from 1.7.3 to 1.7.4 in /e2e by @dependabot in #172
New Contributors
Full Changelog: v0.50.0...v0.50.1
v0.50.1-alpha.1
This is a consensus breaking release and requires a software upgrade to implement.
Highlight
- fix!: persist new vals to the base comet state by @Reecepbcups in #160
- fix!: constant jail patch by @Reecepbcups in #165
github.com/rollchains/cosmos-sdk v0.50.6
is now required to properly handle jailing of validators
What's Changed
- ci: typos + broken links by @Reecepbcups in #147
- test: make coverage by @fmorency in #148
- chore: fix typos by @omahs in #150
- docs: security file by @Reecepbcups in #164
New Contributors
Full Changelog: v0.50.0...v0.50.1-alpha.1
v0.50.0
What's Changed
- feat!: migrate to collections by @Reecepbcups in #93
- chore(deps): bumps & workspace by @Reecepbcups in #118
- fix!: balance bonding/unbonding module pools by @Reecepbcups in #122
- chore: use stakingKeepers validatorCodec instead of freshly defining by @Reecepbcups in #132
- chore: Update INTEGRATION.md by @adust09 in #133
New Contributors
Full Changelog: v0.0.1-alpha.1...v0.50.0
v0.0.1-alpha.3
What's Changed
- fix!: balance bonding/unbonding module pools by @Reecepbcups in #122
Full Changelog: v0.0.1-alpha.2...v0.0.1-alpha.3
v0.0.1-alpha.2
What's Changed
- feat!: migrate to collections by @Reecepbcups in #93
- chore(deps): bumps & workspace by @Reecepbcups in #118
Full Changelog: v0.0.1-alpha.1...v0.0.1-alpha.2