Skip to content

Commit d3a183a

Browse files
authored
Merge pull request CosmosContracts#547 from CosmosContracts/andrew/pfm_v4.0.3
Andrew/pfm v4.0.3
2 parents 2f3c24f + 2389e5c commit d3a183a

File tree

6 files changed

+55
-56
lines changed

6 files changed

+55
-56
lines changed

app/keepers/keepers.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,15 +307,14 @@ func NewAppKeepers(
307307
appKeepers.IBCKeeper.ChannelKeeper,
308308
appKeepers.DistrKeeper,
309309
appKeepers.BankKeeper,
310-
&appKeepers.IBCKeeper.PortKeeper,
311-
// The ICS4Wrapper is replaced by the HooksICS4Wrapper instead of the channel so that sending can be overridden by the middleware
312-
&appKeepers.HooksICS4Wrapper,
310+
// The ICS4Wrapper is replaced by the IBCFeeKeeper instead of the channel so that sending can be overridden by the middleware
311+
&appKeepers.IBCFeeKeeper,
313312
)
314313

315314
appKeepers.IBCFeeKeeper = ibcfeekeeper.NewKeeper(
316315
appCodec, appKeepers.keys[ibcfeetypes.StoreKey],
317316
appKeepers.GetSubspace(ibcfeetypes.ModuleName), // this isn't even used in the keeper but is required?
318-
appKeepers.PacketForwardKeeper, // replaced with IBC middleware
317+
appKeepers.HooksICS4Wrapper, // replaced with IBC middleware
319318
appKeepers.IBCKeeper.ChannelKeeper,
320319
&appKeepers.IBCKeeper.PortKeeper,
321320
appKeepers.AccountKeeper,

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ require (
1717
github.com/prometheus/client_golang v1.14.0
1818
github.com/spf13/cast v1.5.0
1919
github.com/spf13/cobra v1.6.1
20-
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.1-0.20230115230008-9d283c08227d
20+
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3
2121
github.com/stretchr/testify v1.8.1
2222
github.com/tendermint/tendermint v0.34.25
2323
github.com/tendermint/tm-db v0.6.8-0.20220506192307-f628bb5dc95b
@@ -31,6 +31,7 @@ require (
3131
require (
3232
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
3333
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
34+
github.com/iancoleman/orderedmap v0.2.0 // indirect
3435
github.com/tendermint/btcd v0.1.1 // indirect
3536
github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 // indirect
3637
)

go.sum

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpO
524524
github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
525525
github.com/huin/goupnp v1.0.3-0.20220313090229-ca81a64b4204/go.mod h1:ZxNlw5WqJj6wSsRK5+YfflQGXYfccj5VgQsMNixHM7Y=
526526
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150/go.mod h1:PpLOETDnJ0o3iZrZfqZzyLl6l7F3c6L1oWn7OICBi6o=
527+
github.com/iancoleman/orderedmap v0.2.0 h1:sq1N/TFpYH++aViPcaKjys3bDClUEU7s5B+z6jq8pNA=
528+
github.com/iancoleman/orderedmap v0.2.0/go.mod h1:N0Wam8K1arqPXNWjMo21EXnBPOPp36vB07FNRdD2geA=
527529
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
528530
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
529531
github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=
@@ -881,8 +883,8 @@ github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DM
881883
github.com/spf13/viper v1.15.0 h1:js3yy885G8xwJa6iOISGFwd+qlUo5AvyXb7CiihdtiU=
882884
github.com/spf13/viper v1.15.0/go.mod h1:fFcTBJxvhhzSJiZy8n+PeW6t8l+KeT/uTARa0jHOQLA=
883885
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
884-
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.1-0.20230115230008-9d283c08227d h1:9ZUFA1o5r/3T2vV0QwTJAo3LnuILaLsZRAPHrR11tP8=
885-
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.1-0.20230115230008-9d283c08227d/go.mod h1:zDsRdoeNhwyQ9j9984HDCZgUZneHklUCz/J9mj5ll5I=
886+
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3 h1:3E7I9C+gM7n0+OkI7JmvWH5PGD6pZOIc1+mUUooh6dI=
887+
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3/go.mod h1:AG8F5pdk3x1h7PlRvPoMem3623W+w8HJHrWYkVJ51kk=
886888
github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
887889
github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
888890
github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI=

price-feeder/go.mod

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ require (
1515
github.com/rs/cors v1.8.2
1616
github.com/rs/zerolog v1.28.0
1717
github.com/spf13/cobra v1.6.1
18-
github.com/spf13/viper v1.14.0
18+
github.com/spf13/viper v1.15.0
1919
github.com/stretchr/testify v1.8.1
2020
github.com/tendermint/tendermint v0.34.25
2121
golang.org/x/sync v0.1.0
2222
golang.org/x/term v0.3.0
23-
google.golang.org/grpc v1.51.0
23+
google.golang.org/grpc v1.52.3
2424
gopkg.in/yaml.v3 v3.0.1
2525
)
2626

@@ -64,10 +64,10 @@ require (
6464
github.com/chavacava/garif v0.0.0-20220630083739-93517212f375 // indirect
6565
github.com/coinbase/rosetta-sdk-go v0.7.9 // indirect
6666
github.com/confio/ics23/go v0.9.0 // indirect
67-
github.com/cosmos/btcutil v1.0.4 // indirect
67+
github.com/cosmos/btcutil v1.0.5 // indirect
6868
github.com/cosmos/cosmos-proto v1.0.0-beta.1 // indirect
6969
github.com/cosmos/go-bip39 v1.0.0 // indirect
70-
github.com/cosmos/gogoproto v1.4.3 // indirect
70+
github.com/cosmos/gogoproto v1.4.4 // indirect
7171
github.com/cosmos/gorocksdb v1.2.0 // indirect
7272
github.com/cosmos/iavl v0.19.4 // indirect
7373
github.com/cosmos/ibc-go/v3 v3.4.0 // indirect
@@ -152,6 +152,7 @@ require (
152152
github.com/hashicorp/hcl v1.0.0 // indirect
153153
github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3 // indirect
154154
github.com/hexops/gotextdiff v1.0.3 // indirect
155+
github.com/iancoleman/orderedmap v0.2.0 // indirect
155156
github.com/improbable-eng/grpc-web v0.15.0 // indirect
156157
github.com/inconshreveable/mousetrap v1.0.1 // indirect
157158
github.com/jgautheron/goconst v1.5.1 // indirect
@@ -173,7 +174,7 @@ require (
173174
github.com/lib/pq v1.10.6 // indirect
174175
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
175176
github.com/lufeee/execinquery v1.2.1 // indirect
176-
github.com/magiconair/properties v1.8.6 // indirect
177+
github.com/magiconair/properties v1.8.7 // indirect
177178
github.com/maratori/testableexamples v1.0.0 // indirect
178179
github.com/maratori/testpackage v1.1.0 // indirect
179180
github.com/matoous/godox v0.0.0-20210227103229-6504466cf951 // indirect
@@ -192,13 +193,12 @@ require (
192193
github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 // indirect
193194
github.com/nishanths/exhaustive v0.8.3 // indirect
194195
github.com/nishanths/predeclared v0.2.2 // indirect
196+
github.com/nxadm/tail v1.4.8 // indirect
195197
github.com/olekukonko/tablewriter v0.0.5 // indirect
196-
github.com/onsi/ginkgo v1.16.4 // indirect
197198
github.com/opencontainers/go-digest v1.0.0 // indirect
198199
github.com/osmosis-labs/osmosis/osmoutils v0.0.3-rc0 // indirect
199-
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230110104305-322e8478dbe8 // indirect
200-
github.com/pelletier/go-toml v1.9.5 // indirect
201-
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
200+
github.com/osmosis-labs/osmosis/x/ibc-hooks v0.0.0-20230201151635-ef43e092d196 // indirect
201+
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
202202
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5 // indirect
203203
github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d // indirect
204204
github.com/pkg/errors v0.9.1 // indirect
@@ -231,15 +231,15 @@ require (
231231
github.com/sivchari/tenv v1.7.0 // indirect
232232
github.com/sonatard/noctx v0.0.1 // indirect
233233
github.com/sourcegraph/go-diff v0.6.1 // indirect
234-
github.com/spf13/afero v1.9.2 // indirect
234+
github.com/spf13/afero v1.9.3 // indirect
235235
github.com/spf13/cast v1.5.0 // indirect
236236
github.com/spf13/jwalterweatherman v1.1.0 // indirect
237237
github.com/spf13/pflag v1.0.5 // indirect
238238
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
239239
github.com/stbenjam/no-sprintf-host-port v0.1.1 // indirect
240-
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.1-0.20230115230008-9d283c08227d // indirect
240+
github.com/strangelove-ventures/packet-forward-middleware/v4 v4.0.3 // indirect
241241
github.com/stretchr/objx v0.5.0 // indirect
242-
github.com/subosito/gotenv v1.4.1 // indirect
242+
github.com/subosito/gotenv v1.4.2 // indirect
243243
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 // indirect
244244
github.com/tdakkota/asciicheck v0.1.1 // indirect
245245
github.com/tendermint/btcd v0.1.1 // indirect
@@ -260,7 +260,7 @@ require (
260260
github.com/zondax/ledger-go v0.14.1 // indirect
261261
gitlab.com/bosi/decorder v0.2.3 // indirect
262262
go.etcd.io/bbolt v1.3.6 // indirect
263-
go.opencensus.io v0.23.0 // indirect
263+
go.opencensus.io v0.24.0 // indirect
264264
go.uber.org/atomic v1.10.0 // indirect
265265
go.uber.org/goleak v1.1.12 // indirect
266266
go.uber.org/multierr v1.8.0 // indirect
@@ -273,7 +273,7 @@ require (
273273
golang.org/x/sys v0.3.0 // indirect
274274
golang.org/x/text v0.5.0 // indirect
275275
golang.org/x/tools v0.4.0 // indirect
276-
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e // indirect
276+
google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef // indirect
277277
google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8 // indirect
278278
gopkg.in/ini.v1 v1.67.0 // indirect
279279
gopkg.in/yaml.v2 v2.4.0 // indirect
@@ -282,7 +282,7 @@ require (
282282
mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed // indirect
283283
mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b // indirect
284284
mvdan.cc/unparam v0.0.0-20220706161116-678bad134442 // indirect
285-
nhooyr.io/websocket v1.8.6 // indirect
285+
nhooyr.io/websocket v1.8.7 // indirect
286286
)
287287

288288
replace (

0 commit comments

Comments
 (0)