diff --git a/app.go b/app.go index 793afdff4eb..e36d92b87a1 100644 --- a/app.go +++ b/app.go @@ -27,9 +27,9 @@ import ( "github.com/cosmos/cosmos-sdk/x/genutil" "github.com/cosmos/cosmos-sdk/x/gov" "github.com/cosmos/cosmos-sdk/x/ibc" + transfer "github.com/cosmos/cosmos-sdk/x/ibc-transfer" ibcclient "github.com/cosmos/cosmos-sdk/x/ibc/02-client" port "github.com/cosmos/cosmos-sdk/x/ibc/05-port" - transfer "github.com/cosmos/cosmos-sdk/x/ibc/20-transfer" "github.com/cosmos/cosmos-sdk/x/mint" "github.com/cosmos/cosmos-sdk/x/params" paramsclient "github.com/cosmos/cosmos-sdk/x/params/client" @@ -74,13 +74,13 @@ var ( // module account permissions maccPerms = map[string][]string{ - auth.FeeCollectorName: nil, - distr.ModuleName: nil, - mint.ModuleName: {auth.Minter}, - staking.BondedPoolName: {auth.Burner, auth.Staking}, - staking.NotBondedPoolName: {auth.Burner, auth.Staking}, - gov.ModuleName: {auth.Burner}, - transfer.GetModuleAccountName(): {auth.Minter, auth.Burner}, + auth.FeeCollectorName: nil, + distr.ModuleName: nil, + mint.ModuleName: {auth.Minter}, + staking.BondedPoolName: {auth.Burner, auth.Staking}, + staking.NotBondedPoolName: {auth.Burner, auth.Staking}, + gov.ModuleName: {auth.Burner}, + transfer.ModuleName: {auth.Minter, auth.Burner}, } // module accounts that are allowed to receive tokens diff --git a/sim_test.go b/sim_test.go index 1e75bec34a3..2de2ed3faf8 100644 --- a/sim_test.go +++ b/sim_test.go @@ -24,7 +24,7 @@ import ( "github.com/cosmos/cosmos-sdk/x/evidence" "github.com/cosmos/cosmos-sdk/x/gov" "github.com/cosmos/cosmos-sdk/x/ibc" - transfer "github.com/cosmos/cosmos-sdk/x/ibc/20-transfer" + transfer "github.com/cosmos/cosmos-sdk/x/ibc-transfer" "github.com/cosmos/cosmos-sdk/x/mint" paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" "github.com/cosmos/cosmos-sdk/x/simulation"