Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal v0.44 app, without deleting unupgraded packages #1029

Merged
merged 56 commits into from
Oct 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
bdabd2c
remove migrations
rhuairahrighairidh Oct 19, 2021
038d711
remove incentive module
rhuairahrighairidh Oct 19, 2021
e92cc43
remove swap module
rhuairahrighairidh Oct 19, 2021
1450f06
remove committee module
rhuairahrighairidh Oct 19, 2021
63c9326
remove hard module
rhuairahrighairidh Oct 19, 2021
deb4e1e
remove bep3 module
rhuairahrighairidh Oct 19, 2021
03aa355
remove kavadist module
rhuairahrighairidh Oct 19, 2021
45b3833
remove cdp module
rhuairahrighairidh Oct 19, 2021
a797d65
remove issuance module
rhuairahrighairidh Oct 19, 2021
3fc21ac
remove auction module
rhuairahrighairidh Oct 19, 2021
65dce3a
remove pricefeed module
rhuairahrighairidh Oct 19, 2021
fb02168
remove validator-vesting module
rhuairahrighairidh Oct 19, 2021
b47c320
remove unused rest test spike
rhuairahrighairidh Oct 19, 2021
e742d84
remove missed module imports from antehandler
rhuairahrighairidh Oct 19, 2021
deaf002
app - remove alias from imports
rhuairahrighairidh Oct 19, 2021
e7f61bf
update cosmos-sdk version in go.mod
rhuairahrighairidh Oct 19, 2021
d01d1c1
app - replace supply module
rhuairahrighairidh Oct 19, 2021
a6d34dd
app - add vesting modulea
rhuairahrighairidh Oct 19, 2021
0a8b4d1
app - replace codec
rhuairahrighairidh Oct 19, 2021
94a9707
app - remove upgrade, remove antehandler
rhuairahrighairidh Oct 19, 2021
b7eba95
app - remove features until NewApp runs
rhuairahrighairidh Oct 20, 2021
09722ea
delete cmd, cli_test, migration cmd
rhuairahrighairidh Oct 20, 2021
e3c72ca
add new app binary
rhuairahrighairidh Oct 20, 2021
36e22f9
add rough copy of gaia cmds
rhuairahrighairidh Oct 20, 2021
5986f07
read from flags/config and create new app
rhuairahrighairidh Oct 20, 2021
e04a790
remove out of date contrib files
rhuairahrighairidh Oct 20, 2021
7ab71e9
add sdk config and other tweaks to get app running
rhuairahrighairidh Oct 20, 2021
49f2727
code tidying and checks against old kava and gaia
rhuairahrighairidh Oct 20, 2021
c829030
add modules packages back in
rhuairahrighairidh Oct 21, 2021
0cc924f
set go mod to ignore modules
rhuairahrighairidh Oct 21, 2021
8aea9c4
add ante package back in
rhuairahrighairidh Oct 21, 2021
e7119b9
set go mod to ignore ante
rhuairahrighairidh Oct 21, 2021
e5724e3
add cmd packages back in
rhuairahrighairidh Oct 21, 2021
6594432
set go mod to ignore cmd
rhuairahrighairidh Oct 21, 2021
6d66008
add migrate package back in
rhuairahrighairidh Oct 21, 2021
73a3d4c
set go mod to ignore migrate
rhuairahrighairidh Oct 21, 2021
a5df7f5
add app files back in, but ignored
rhuairahrighairidh Oct 21, 2021
1a1e978
revert commented out params file
rhuairahrighairidh Oct 21, 2021
567b7e9
add cli_test package back in
rhuairahrighairidh Oct 21, 2021
17d2107
set go mod to ignore cli_test
rhuairahrighairidh Oct 21, 2021
453ed88
remove unused makefile entry
rhuairahrighairidh Oct 21, 2021
b2635a9
add upgrade todo to go.mod
rhuairahrighairidh Oct 21, 2021
c05e705
update to go 1.16
rhuairahrighairidh Oct 21, 2021
e5494b8
fix CI
rhuairahrighairidh Oct 21, 2021
ad913f2
update replace directive for v0.44.x and run go mod tidy; removes
nddeluca Oct 21, 2021
4aa5df1
add ldflag for tendermint version, as tendermint now sets the version at
nddeluca Oct 22, 2021
313ee8c
add todo for settings version map in upgrade keeper
nddeluca Oct 22, 2021
9d938fc
upgrade antehandler package
rhuairahrighairidh Oct 25, 2021
94e8877
upgrade TestApp, add antehandler to app
rhuairahrighairidh Oct 25, 2021
0d6d145
register rest and grpc gateway routes
rhuairahrighairidh Oct 26, 2021
8898199
resolve TODO about funding community pool
rhuairahrighairidh Oct 26, 2021
8645874
move test methods to TestApp
rhuairahrighairidh Oct 26, 2021
dd6a95b
decouple default data dir configuration from app
rhuairahrighairidh Oct 26, 2021
b777597
refactor NewTestApp
rhuairahrighairidh Oct 26, 2021
b2e3fcb
remove ineffective cmd formatting
rhuairahrighairidh Oct 26, 2021
18a2266
move test helper for more accesibility
rhuairahrighairidh Oct 27, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
app - remove upgrade, remove antehandler
  • Loading branch information
rhuairahrighairidh committed Oct 19, 2021
commit 94a9707231b7e652cb20713024b8f8c0ec4a3437
170 changes: 91 additions & 79 deletions app/app.go
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
package app

import (
"fmt"
"io"
"os"

dbm "github.com/tendermint/tm-db"

abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
tmos "github.com/tendermint/tendermint/libs/os"

"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/client"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/codec/types"
"github.com/cosmos/cosmos-sdk/simapp"
"github.com/cosmos/cosmos-sdk/server/api"
"github.com/cosmos/cosmos-sdk/server/config"
servertypes "github.com/cosmos/cosmos-sdk/server/types"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/version"
"github.com/cosmos/cosmos-sdk/x/auth"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
"github.com/cosmos/cosmos-sdk/x/auth/vesting"
vestingtypes "github.com/cosmos/cosmos-sdk/x/auth/vesting/types"
"github.com/cosmos/cosmos-sdk/x/bank"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/cosmos/cosmos-sdk/x/crisis"
crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper"
crisistypes "github.com/cosmos/cosmos-sdk/x/crisis/types"
distr "github.com/cosmos/cosmos-sdk/x/distribution"
distrclient "github.com/cosmos/cosmos-sdk/x/distribution/client"
distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"
distrtypes "github.com/cosmos/cosmos-sdk/x/distribution/types"
"github.com/cosmos/cosmos-sdk/x/evidence"
evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper"
evidencetypes "github.com/cosmos/cosmos-sdk/x/evidence/types"
"github.com/cosmos/cosmos-sdk/x/genutil"
genutiltypes "github.com/cosmos/cosmos-sdk/x/genutil/types"
"github.com/cosmos/cosmos-sdk/x/gov"
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"
Expand All @@ -44,18 +44,21 @@ import (
paramsclient "github.com/cosmos/cosmos-sdk/x/params/client"
paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
paramproposal "github.com/cosmos/cosmos-sdk/x/params/types/proposal"
"github.com/cosmos/cosmos-sdk/x/slashing"
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
slashingtypes "github.com/cosmos/cosmos-sdk/x/slashing/types"
"github.com/cosmos/cosmos-sdk/x/staking"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/cosmos/cosmos-sdk/x/upgrade"
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
abci "github.com/tendermint/tendermint/abci/types"
tmjson "github.com/tendermint/tendermint/libs/json"
"github.com/tendermint/tendermint/libs/log"
tmos "github.com/tendermint/tendermint/libs/os"
dbm "github.com/tendermint/tm-db"

"github.com/kava-labs/kava/app/ante"
kavaappparams "github.com/kava-labs/kava/app/params"
)

const (
Expand All @@ -79,8 +82,7 @@ var (
distr.AppModuleBasic{},
gov.NewAppModuleBasic(
paramsclient.ProposalHandler,
distr.ProposalHandler,
upgradeclient.ProposalHandler, // TODO remove upgrade
distrclient.ProposalHandler,
),
params.AppModuleBasic{},
crisis.AppModuleBasic{},
Expand Down Expand Up @@ -109,7 +111,8 @@ var (
)

// Verify app interface at compile time
var _ simapp.App = (*App)(nil)
// var _ simapp.App = (*App)(nil) // TODO
var _ servertypes.Application = (*App)(nil)

// AppOptions bundles several configuration params for an App.
// The zero value can be used as a sensible default.
Expand All @@ -135,23 +138,23 @@ type App struct {
tkeys map[string]*sdk.TransientStoreKey

// keepers from all the modules
accountKeeper auth.AccountKeeper
accountKeeper authkeeper.AccountKeeper
bankKeeper bankkeeper.Keeper
stakingKeeper stakingkeeper.Keeper
slashingKeeper slashingkeeper.Keeper
mintKeeper mintkeeper.Keeper
distrKeeper distrkeeper.Keeper
govKeeper govkeeper.Keeper
crisisKeeper crisiskeeper.Keeper
upgradeKeeper upgradekeeper.Keeper
paramsKeeper paramskeeper.Keeper
evidenceKeeper evidencekeeper.Keeper

// the module manager
mm *module.Manager

// simulation manager
sm *module.SimulationManager
sm *module.SimulationManager
configurator module.Configurator // TODO what is this?
}

// NewApp returns a reference to an initialized App.
Expand All @@ -163,13 +166,13 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio

bApp := baseapp.NewBaseApp(appName, logger, db, encodingConfig.TxConfig.TxDecoder(), baseAppOptions...)
bApp.SetCommitMultiStoreTracer(traceStore)
bApp.SetAppVersion(version.Version)
bApp.SetVersion(version.Version)
bApp.SetInterfaceRegistry(interfaceRegistry)

keys := sdk.NewKVStoreKeys( // TODO
baseapp.MainStoreKey, authtypes.StoreKey, stakingtypes.StoreKey,
authtypes.StoreKey, banktypes.StoreKey, stakingtypes.StoreKey,
minttypes.StoreKey, distrtypes.StoreKey, slashingtypes.StoreKey,
govtypes.StoreKey, paramstypes.StoreKey, upgradetypes.StoreKey, evidencetypes.StoreKey,
govtypes.StoreKey, paramstypes.StoreKey, evidencetypes.StoreKey,
)
tkeys := sdk.NewTransientStoreKeys(paramstypes.TStoreKey)

Expand All @@ -184,46 +187,44 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio
}

// init params keeper and subspaces
app.paramsKeeper = params.NewKeeper(
app.paramsKeeper = paramskeeper.NewKeeper(
appCodec,
legacyAmino,
keys[paramstypes.StoreKey],
tkeys[paramstypes.TStoreKey],
)
// TODO
// authSubspace := app.paramsKeeper.Subspace(authtypes.DefaultParamspace)
// bankSubspace := app.paramsKeeper.Subspace(banktypes.DefaultParamspace)
// stakingSubspace := app.paramsKeeper.Subspace(stakingtypes.DefaultParamspace)
// mintSubspace := app.paramsKeeper.Subspace(minttypes.DefaultParamspace)
// distrSubspace := app.paramsKeeper.Subspace(distrtypes.DefaultParamspace)
// slashingSubspace := app.paramsKeeper.Subspace(slashingtypes.DefaultParamspace)
// govSubspace := app.paramsKeeper.Subspace(govtypes.DefaultParamspace).WithKeyTable(gov.ParamKeyTable())
// evidenceSubspace := app.paramsKeeper.Subspace(evidencetypes.DefaultParamspace)
// crisisSubspace := app.paramsKeeper.Subspace(crisistypes.DefaultParamspace)
authSubspace := app.paramsKeeper.Subspace(authtypes.ModuleName)
bankSubspace := app.paramsKeeper.Subspace(banktypes.ModuleName)
stakingSubspace := app.paramsKeeper.Subspace(stakingtypes.ModuleName)
mintSubspace := app.paramsKeeper.Subspace(minttypes.ModuleName)
distrSubspace := app.paramsKeeper.Subspace(distrtypes.ModuleName)
slashingSubspace := app.paramsKeeper.Subspace(slashingtypes.ModuleName)
govSubspace := app.paramsKeeper.Subspace(govtypes.ModuleName).WithKeyTable(govtypes.ParamKeyTable())
crisisSubspace := app.paramsKeeper.Subspace(crisistypes.ModuleName)

// add keepers
app.accountKeeper = auth.NewAccountKeeper(
appCdc,
app.accountKeeper = authkeeper.NewAccountKeeper(
appCodec,
keys[authtypes.StoreKey],
authSubspace,
authtypes.ProtoBaseAccount,
maccPerms,
mAccPerms,
)
app.bankKeeper = bank.NewBaseKeeper(
app.bankKeeper = bankkeeper.NewBaseKeeper(
appCodec,
keys[banktypes.StoreKey],
app.accountKeeper,
bankSubspace,
app.ModuleAccountAddrs(), // TODO this was black listed addresses previously, are they still the same?
)
stakingKeeper := staking.NewKeeper(
stakingKeeper := stakingkeeper.NewKeeper(
appCodec,
keys[stakingtypes.StoreKey],
app.accountKeeper,
app.bankKeeper,
stakingSubspace,
)
app.mintKeeper = mint.NewKeeper(
app.mintKeeper = mintkeeper.NewKeeper(
appCodec,
keys[minttypes.StoreKey],
mintSubspace,
Expand All @@ -232,36 +233,31 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio
app.bankKeeper,
authtypes.FeeCollectorName,
)
app.distrKeeper = distr.NewKeeper(
app.distrKeeper = distrkeeper.NewKeeper(
appCodec,
keys[distrtypes.StoreKey],
distrSubspace,
&stakingKeeper,
app.accountKeeper,
app.bankKeeper,
&stakingKeeper,
authtypes.FeeCollectorName,
app.ModuleAccountAddrs(),
)
app.slashingKeeper = slashing.NewKeeper(
app.slashingKeeper = slashingkeeper.NewKeeper(
appCodec,
keys[slashingtypes.StoreKey],
&stakingKeeper,
slashingSubspace,
)
app.crisisKeeper = crisis.NewKeeper(
app.crisisKeeper = crisiskeeper.NewKeeper(
crisisSubspace,
app.invCheckPeriod, // TODO is this field still on the app?
app.bankKeeper,
authtypes.FeeCollectorName,
)
app.upgradeKeeper = upgrade.NewKeeper(
appOpts.SkipUpgradeHeights,
keys[upgradetypes.StoreKey],
appCodec,
)

// create evidence keeper with router
app.evidenceKeeper = evidence.NewKeeper(
app.evidenceKeeper = *evidencekeeper.NewKeeper(
appCodec,
keys[evidencetypes.StoreKey],
&app.stakingKeeper,
Expand All @@ -276,10 +272,9 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio
govRouter := govtypes.NewRouter()
govRouter.
AddRoute(govtypes.RouterKey, govtypes.ProposalHandler).
AddRoute(paramstypes.RouterKey, params.NewParamChangeProposalHandler(app.paramsKeeper)).
AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.distrKeeper)).
AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.upgradeKeeper))
app.govKeeper = gov.NewKeeper(
AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(app.paramsKeeper)).
AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.distrKeeper))
app.govKeeper = govkeeper.NewKeeper(
appCodec,
keys[govtypes.StoreKey],
govSubspace,
Expand All @@ -292,22 +287,21 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio
// register the staking hooks
// NOTE: These keepers are passed by reference above, so they will contain these hooks.
app.stakingKeeper = *stakingKeeper.SetHooks(
staking.NewMultiStakingHooks(app.distrKeeper.Hooks(), app.slashingKeeper.Hooks()))
stakingtypes.NewMultiStakingHooks(app.distrKeeper.Hooks(), app.slashingKeeper.Hooks()))

// create the module manager (Note: Any module instantiated in the module manager that is later modified
// must be passed by reference here.)
app.mm = module.NewManager(
genutil.NewAppModule(app.accountKeeper, app.stakingKeeper, app.BaseApp.DeliverTx encodingConfig.TxConfig,),
auth.NewAppModule(app.accountKeeper),
genutil.NewAppModule(app.accountKeeper, app.stakingKeeper, app.BaseApp.DeliverTx, encodingConfig.TxConfig),
auth.NewAppModule(appCodec, app.accountKeeper, nil), // TODO what's the nil for?
vesting.NewAppModule(app.accountKeeper, app.bankKeeper),
bank.NewAppModule(app.bankKeeper, app.accountKeeper),
crisis.NewAppModule(&app.crisisKeeper),
gov.NewAppModule(app.govKeeper, app.accountKeeper, app.accountKeeper, app.bankKeeper),
mint.NewAppModule(app.mintKeeper),
slashing.NewAppModule(app.slashingKeeper, app.accountKeeper, app.stakingKeeper),
distr.NewAppModule(app.distrKeeper, app.accountKeeper, app.accountKeeper, app.bankKeeper, app.stakingKeeper),
staking.NewAppModule(app.stakingKeeper, app.accountKeeper, app.accountKeeper, app.bankKeeper),
upgrade.NewAppModule(app.upgradeKeeper),
bank.NewAppModule(appCodec, app.bankKeeper, app.accountKeeper),
crisis.NewAppModule(&app.crisisKeeper, false), // TODO read skip gen invarients arg from somewhere
gov.NewAppModule(appCodec, app.govKeeper, app.accountKeeper, app.bankKeeper),
mint.NewAppModule(appCodec, app.mintKeeper, app.accountKeeper),
slashing.NewAppModule(appCodec, app.slashingKeeper, app.accountKeeper, app.bankKeeper, app.stakingKeeper),
distr.NewAppModule(appCodec, app.distrKeeper, app.accountKeeper, app.bankKeeper, app.stakingKeeper),
staking.NewAppModule(appCodec, app.stakingKeeper, app.accountKeeper, app.bankKeeper),
evidence.NewAppModule(app.evidenceKeeper),
)

Expand All @@ -316,8 +310,8 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio
// CanWithdrawInvariant invariant.
// Auction.BeginBlocker will close out expired auctions and pay debt back to cdp.
// So it should be run before cdp.BeginBlocker which cancels out debt with stable and starts more auctions.
app.mm.SetOrderBeginBlockers(
upgradetypes.ModuleName, minttypes.ModuleName, distrtypes.ModuleName, slashingtypes.ModuleName,
app.mm.SetOrderBeginBlockers( // TODO
minttypes.ModuleName, distrtypes.ModuleName, slashingtypes.ModuleName,
)

app.mm.SetOrderEndBlockers(crisistypes.ModuleName, govtypes.ModuleName, stakingtypes.ModuleName)
Expand Down Expand Up @@ -379,18 +373,19 @@ func NewApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts AppOptio
return app
}

// custom tx codec
func MakeCodec() *codec.Codec {
var cdc = codec.New()
// TODO
// // custom tx codec
// func MakeCodec() *codec.Codec {
// var cdc = codec.New()

ModuleBasics.RegisterCodec(cdc)
vestingtypes.RegisterCodec(cdc)
sdk.RegisterCodec(cdc)
codec.RegisterCrypto(cdc)
codec.RegisterEvidences(cdc)
// ModuleBasics.RegisterCodec(cdc)
// vestingtypes.RegisterCodec(cdc)
// sdk.RegisterCodec(cdc)
// codec.RegisterCrypto(cdc)
// codec.RegisterEvidences(cdc)

return cdc.Seal()
}
// return cdc.Seal()
// }

// SetBech32AddressPrefixes sets the global prefix to be used when serializing addresses to bech32 strings.
func SetBech32AddressPrefixes(config *sdk.Config) {
Expand Down Expand Up @@ -426,9 +421,10 @@ func (app *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.Res
return app.mm.InitGenesis(ctx, app.appCodec, genesisState)
}

// TODO remove?
// load a particular height
func (app *App) LoadHeight(height int64) error {
return app.LoadVersion(height, app.keys[baseapp.MainStoreKey])
return app.LoadVersion(height)
}

// ModuleAccountAddrs returns all the app's module account addresses.
Expand Down Expand Up @@ -456,20 +452,20 @@ func (app *App) ModuleAccountAddrs() map[string]bool {
//
// NOTE: This is solely to be used for testing purposes as it may be desirable
// for modules to register their own custom testing types. // TODO is this true?
func (app *GaiaApp) LegacyAmino() *codec.LegacyAmino {
func (app *App) LegacyAmino() *codec.LegacyAmino {
return app.legacyAmino
}

// AppCodec returns the app's app codec.
//
// NOTE: This is solely to be used for testing purposes as it may be desirable
// for modules to register their own custom testing types. // TODO is this true?
func (app *GaiaApp) AppCodec() codec.Codec {
func (app *App) AppCodec() codec.Codec {
return app.appCodec
}

// InterfaceRegistry returns the app's InterfaceRegistry
func (app *GaiaApp) InterfaceRegistry() types.InterfaceRegistry {
func (app *App) InterfaceRegistry() types.InterfaceRegistry {
return app.interfaceRegistry
}

Expand All @@ -478,6 +474,22 @@ func (app *App) SimulationManager() *module.SimulationManager {
return app.sm
}

// RegisterAPIRoutes registers all application module routes with the provided
// API server.
func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) {
panic("TODO")
}

// RegisterTxService implements the Application.RegisterTxService method.
func (app *App) RegisterTxService(clientCtx client.Context) {
panic("TODO")
}

// RegisterTendermintService implements the Application.RegisterTendermintService method.
func (app *App) RegisterTendermintService(clientCtx client.Context) {
panic("TODO")
}

// GetMaccPerms returns a mapping of the application's module account permissions.
func GetMaccPerms() map[string][]string {
perms := make(map[string][]string)
Expand Down
Loading