From 1954862f9c1059d89cea6cae1b87ed68e5158f8c Mon Sep 17 00:00:00 2001 From: Federico Kunze <31522760+fedekunze@users.noreply.github.com> Date: Fri, 15 May 2020 16:36:47 -0400 Subject: [PATCH] x/ibc-transfer: move ICS20 out from x/ibc (#6222) * x/transfer: move ICS20 out from x/ibc * rename to ibc-transfer --- app.go | 16 ++++++++-------- sim_test.go | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) 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"