Skip to content

Commit

Permalink
chore: review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aleem1314 committed Aug 2, 2022
1 parent c1b86b4 commit be2e491
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
7 changes: 0 additions & 7 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ import (
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

regentypes "github.com/regen-network/regen-ledger/types"
moduletypes "github.com/regen-network/regen-ledger/types/module"
"github.com/regen-network/regen-ledger/types/module/server"
data "github.com/regen-network/regen-ledger/x/data/module"
Expand Down Expand Up @@ -156,11 +155,6 @@ func init() {
// this changes the power reduction from 10e6 to 10e2, which will give
// every validator 10,000 times more voting power than they currently have
sdk.DefaultPowerReduction = sdk.NewIntFromBigInt(new(big.Int).Exp(big.NewInt(10), big.NewInt(2), nil))

// TODO: remove after updating to cosmos-sdk v0.46 #857
sdk.SetCoinDenomRegex(func() string {
return regentypes.CoinDenomRegex
})
}

// Extended ABCI application
Expand Down Expand Up @@ -547,7 +541,6 @@ func NewRegenApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest
}
app.SetAnteHandler(anteHandler)


if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
tmos.Exit(err.Error())
Expand Down
8 changes: 0 additions & 8 deletions types/coin.go

This file was deleted.

2 changes: 1 addition & 1 deletion x/ecocredit/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func setup(t *testing.T) (*server.FixtureFactory, paramstypes.Subspace, bankkeep
}

accountKeeper := authkeeper.NewAccountKeeper(
cdc, authKey, authSubspace, authtypes.ProtoBaseAccount, maccPerms, sdk.DefaultBondDenom,
cdc, authKey, authSubspace, authtypes.ProtoBaseAccount, maccPerms, "regen",
)

bankKeeper := bankkeeper.NewBaseKeeper(
Expand Down

0 comments on commit be2e491

Please sign in to comment.