Skip to content

Releases: strangelove-ventures/poa

v0.50.4

26 Aug 14:01
7a15132
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.50.3...v0.50.4

v0.50.3

06 Aug 20:21
8d1a5f4
Compare
Choose a tag to compare

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

Other

Full Changelog: v0.50.2...v0.50.3

v0.50.2

19 Jul 14:58
93d500b
Compare
Choose a tag to compare

Breaking Changes

Implement the new poaante.NewPOADisableWithdrawDelegatorRewards() in your ante.go.

What's Changed

New Contributors

Full Changelog: v0.50.1...v0.50.2

v0.50.1

04 May 00:03
0127743
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v0.50.0...v0.50.1

v0.50.1-alpha.1

23 Apr 00:28
cb8d77e
Compare
Choose a tag to compare
v0.50.1-alpha.1 Pre-release
Pre-release

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

New Contributors

Full Changelog: v0.50.0...v0.50.1-alpha.1

v0.50.0

08 Mar 16:32
5d25f19
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.1-alpha.1...v0.50.0

v0.0.1-alpha.3

22 Feb 15:46
1412ff8
Compare
Choose a tag to compare
v0.0.1-alpha.3 Pre-release
Pre-release

What's Changed

Full Changelog: v0.0.1-alpha.2...v0.0.1-alpha.3

v0.0.1-alpha.2

31 Jan 19:30
bd1147e
Compare
Choose a tag to compare
v0.0.1-alpha.2 Pre-release
Pre-release

What's Changed

Full Changelog: v0.0.1-alpha.1...v0.0.1-alpha.2

v0.0.1-alpha.1

07 Dec 14:27
Compare
Choose a tag to compare
v0.0.1-alpha.1 Pre-release
Pre-release

Import

require github.com/strangelove-ventures/poa v0.0.1-alpha.1

What's Changed

New Contributors

Full Changelog: https://github.com/strangelove-ventures/poa/commits/v0.0.1-alpha.1