Skip to content

Commit 4f87d4d

Browse files
authored
Merge pull request #144 from PeggyJV/bolten/4.0.0-rc4
Updates for v4 release
2 parents e9efe6c + 932c40d commit 4f87d4d

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

app/app.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,7 @@ var (
169169
}
170170

171171
// module accounts that are allowed to receive tokens
172-
allowedReceivingModAcc = map[string]bool{
173-
distrtypes.ModuleName: true,
174-
cellarfeestypes.ModuleName: true,
175-
}
172+
allowedReceivingModAcc = map[string]bool{}
176173

177174
_ simapp.App = (*SommelierApp)(nil)
178175
_ servertypes.Application = (*SommelierApp)(nil)

app/upgrades/v4/upgrades.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package v4
22

33
import (
4-
"fmt"
5-
64
sdk "github.com/cosmos/cosmos-sdk/types"
75
"github.com/cosmos/cosmos-sdk/types/module"
86
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
@@ -19,8 +17,9 @@ func CreateUpgradeHandler(
1917
accountKeeper authkeeper.AccountKeeper,
2018
bankKeeper bankkeeper.Keeper,
2119
) upgradetypes.UpgradeHandler {
22-
fmt.Println("v4 upgrade: entering handler")
2320
return func(ctx sdk.Context, plan upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
21+
ctx.Logger().Info("v4 upgrade: entering handler")
22+
2423
// Since this is the first in-place upgrade and InitChainer was not set up for this at genesis
2524
// time, we must initialize the VM map ourselves.
2625
fromVM := make(map[string]uint64)

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ require (
77
github.com/cosmos/cosmos-sdk v0.44.5
88
github.com/cosmos/go-bip39 v1.0.0
99
github.com/cosmos/ibc-go/v2 v2.0.0
10-
github.com/deckarep/golang-set v0.0.0-20180603214616-504e848d77ea
1110
github.com/ethereum/go-ethereum v1.10.11
1211
github.com/gogo/protobuf v1.3.3
1312
github.com/golang/protobuf v1.5.2
@@ -18,7 +17,7 @@ require (
1817
github.com/miguelmota/go-ethereum-hdwallet v0.1.1
1918
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
2019
github.com/ory/dockertest/v3 v3.8.1
21-
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0-20220420162017-838c0d25e974 // indirect
20+
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0
2221
github.com/rakyll/statik v0.1.7
2322
github.com/regen-network/cosmos-proto v0.3.1
2423
github.com/spf13/cast v1.4.1

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -801,10 +801,8 @@ github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144T
801801
github.com/paulbellamy/ratecounter v0.2.0/go.mod h1:Hfx1hDpSGoqxkVVpBi/IlYD7kChlfo5C6hzIHwPqfFE=
802802
github.com/pborman/uuid v0.0.0-20170112150404-1b00554d8222/go.mod h1:VyrYX9gd7irzKovcSS6BIIEwPRkP2Wm2m9ufcdFSJ34=
803803
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
804-
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0-20220414233948-fb045a1867b7 h1:VtMZq6qdukLwdx5K+OG36WaMu19RJBBFzLgPlfCqyi8=
805-
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0-20220414233948-fb045a1867b7/go.mod h1:XUHyaIYlqo2TgCSY0R4N/geZot6Vks/EZmhJ7Jz4wvQ=
806-
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0-20220420162017-838c0d25e974 h1:6rGtwj8oqkuGLQOuzbYgaNPumr5Trl3032jtJHhaUS8=
807-
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0-20220420162017-838c0d25e974/go.mod h1:XUHyaIYlqo2TgCSY0R4N/geZot6Vks/EZmhJ7Jz4wvQ=
804+
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0 h1:q7Qm0Fbgn71QS9gdlpIqASX2JpLQNpGhCJOzOHlKF/4=
805+
github.com/peggyjv/gravity-bridge/module/v2 v2.0.0/go.mod h1:XUHyaIYlqo2TgCSY0R4N/geZot6Vks/EZmhJ7Jz4wvQ=
808806
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
809807
github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
810808
github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM=

0 commit comments

Comments
 (0)