-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update to onomy-sdk v0.44.8-onomy * add missing module names * Changed upgrade version * Fixed errors with upgrade * Remove onomyd * Fix linting error in comment * Add back v1.0.1 upgrade * Set upgrade version name to v1.0.3 * Add undelegation logic to DAO * Add VoteAbstain and err handling * Add in v1.0.3.1 upgrade * Add InflateDao function to EndBlocker * Add upgrade v1.0.3.2 * Change nom to anom and comment out tests * Update comments * Fixing linter * Fix lint issues * Add nolint * Change nestif lint rule to 5 * Dao treasury tests now pass * Add v1.0.3.4 upgrade * Add v1.0.3.5 upgrade and update Onomy-SDK import * Address redirect * Add error handling * Add comments for CI * register BeginBlocker * Update export.go * gofumpt --------- Co-authored-by: Aaron Kutch <[email protected]>
- Loading branch information
1 parent
71a6190
commit d0cb6f2
Showing
19 changed files
with
364 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Package v1_0_3_4 is contains chain upgrade of the corresponding version. | ||
package v1_0_3_4 //nolint:revive,stylecheck // app version | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/cosmos/cosmos-sdk/types/module" | ||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" | ||
) | ||
|
||
// Name is migration name. | ||
const Name = "v1.0.3.4" | ||
|
||
// UpgradeHandler is an x/upgrade handler. | ||
func UpgradeHandler(_ sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { | ||
return vm, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Package v1_0_3_5 is contains chain upgrade of the corresponding version. | ||
package v1_0_3_5 //nolint:revive,stylecheck // app version | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/cosmos/cosmos-sdk/types/module" | ||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" | ||
) | ||
|
||
// Name is migration name. | ||
const Name = "v1.0.3.5" | ||
|
||
// UpgradeHandler is an x/upgrade handler. | ||
func UpgradeHandler(_ sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { | ||
return vm, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Package v1_0_3 is contains chain upgrade of the corresponding version. | ||
package v1_0_3 //nolint:revive,stylecheck // app version | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/cosmos/cosmos-sdk/types/module" | ||
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" | ||
) | ||
|
||
// Name is migration name. | ||
const Name = "v1.0.3" | ||
|
||
// UpgradeHandler is an x/upgrade handler. | ||
func UpgradeHandler(_ sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) { | ||
return vm, nil | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.