Skip to content

Commit

Permalink
Merge pull request #17 from onomyprotocol/fix-proposal
Browse files Browse the repository at this point in the history
Fix proposal
  • Loading branch information
cgdusek authored Apr 10, 2024
2 parents 41ec885 + 0f2beb1 commit 40cb53e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ import (

const (
AppName = "onex"
upgradeName = "v1.0.0"
upgradeName = "v1.0.2"
AccountAddressPrefix = "onomy"
)

Expand Down Expand Up @@ -414,7 +414,8 @@ func New(
AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.DistrKeeper)).
// TODO: remove upgrade handler from gov once admin module or decision for only signaling proposal is made.
AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)).
AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper))
AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)).
AddRoute(markettypes.RouterKey, market.NewDenomMetadataProposalHandler(app.MarketKeeper))

govKeeper := govkeeper.NewKeeper(
appCodec, keys[govtypes.StoreKey], app.GetSubspace(govtypes.ModuleName), app.AccountKeeper, app.BankKeeper,
Expand Down
12 changes: 12 additions & 0 deletions test-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Cosmos Hub Atom",
"symbol": "ATOM",
"description": "The native staking token of the Cosmos Hub.",
"denom_units": [
{"denom": "uatom", "exponent": 0, "aliases": ["microatom"]},
{"denom": "matom", "exponent": 3, "aliases": ["milliatom"]},
{"denom": "atom", "exponent": 6, "aliases": []}
],
"base": "uatom",
"display": "atom"
}

0 comments on commit 40cb53e

Please sign in to comment.