Skip to content

Commit 9c86c9d

Browse files
committed
imp: refactor simapp to more closely resemble the style used in cosmos-sdk (cosmos#3874)
1 parent c2bc0bc commit 9c86c9d

10 files changed

Lines changed: 110 additions & 226 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,18 @@ Ref: https://keepachangelog.com/en/1.0.0/
5252

5353
### Bug Fixes
5454

55-
## [v7.1.0](https://github.com/cosmos/ibc-go/releases/tag/v7.1.0) - 2023-06-09
55+
## [v7.2.0](https://github.com/cosmos/ibc-go/releases/tag/v7.2.0) - 2023-06-22
56+
57+
### Dependencies
58+
59+
* [\#3810](https://github.com/cosmos/ibc-go/pull/3810) Update Cosmos SDK to v0.47.3.
60+
* [\#3862](https://github.com/cosmos/ibc-go/pull/3862) Update CometBFT to v0.37.2.
61+
62+
### State Machine Breaking
63+
64+
* [\#3907](https://github.com/cosmos/ibc-go/pull/3907) Re-implemented missing functions of `LegacyMsg` interface to fix transaction signing with ledger.
65+
66+
## [v7.1.0](https://github.com/cosmos/ibc-go/releases/tag/v7.1.0) - 2023-06-09
5667

5768
### Dependencies
5869

@@ -73,10 +84,10 @@ Ref: https://keepachangelog.com/en/1.0.0/
7384
* (core/04-channel) [\#3346](https://github.com/cosmos/ibc-go/pull/3346) Properly handle ordered channels in `UnreceivedPackets` query.
7485
* (core/04-channel) [\#3593](https://github.com/cosmos/ibc-go/pull/3593) `SendPacket` now correctly returns `ErrClientNotFound` in favour of `ErrConsensusStateNotFound`.
7586

76-
## [v7.0.1](https://github.com/cosmos/ibc-go/releases/tag/v7.0.1) - 2023-05-25
87+
## [v7.0.1](https://github.com/cosmos/ibc-go/releases/tag/v7.0.1) - 2023-05-25
7788

7889
### Bug Fixes
79-
90+
8091
* [\#3346](https://github.com/cosmos/ibc-go/pull/3346) Properly handle ordered channels in `UnreceivedPackets` query.
8192

8293
## [v7.0.0](https://github.com/cosmos/ibc-go/releases/tag/v7.0.0) - 2023-03-17
@@ -109,7 +120,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
109120
* (apps) [\#3149](https://github.com/cosmos/ibc-go/pull/3149) Remove legacy interface function `RandomizedParams`, which is no longer used.
110121
* (light-clients/06-solomachine) [\#2941](https://github.com/cosmos/ibc-go/pull/2941) Remove solomachine header sequence.
111122
* (core) [\#2982](https://github.com/cosmos/ibc-go/pull/2982) Moved the ibc module name into the exported package.
112-
123+
113124
### State Machine Breaking
114125

115126
* (06-solomachine) [\#2744](https://github.com/cosmos/ibc-go/pull/2744) `Misbehaviour.ValidateBasic()` now only enforces that signature data does not match when the signature paths are different.
@@ -139,27 +150,27 @@ Ref: https://keepachangelog.com/en/1.0.0/
139150
* (modules/core/02-client) [\#1741](https://github.com/cosmos/ibc-go/pull/1741) Emitting a new `upgrade_chain` event upon setting upgrade consensus state.
140151
* (client) [\#724](https://github.com/cosmos/ibc-go/pull/724) `IsRevisionFormat` and `IsClientIDFormat` have been updated to disallow newlines before the dash used to separate the chainID and revision number, and the client type and client sequence.
141152
* (02-client/cli) [\#897](https://github.com/cosmos/ibc-go/pull/897) Remove `GetClientID()` from `Misbehaviour` interface. Submit client misbehaviour cli command requires an explicit client id now.
142-
* (06-solomachine) [\#1972](https://github.com/cosmos/ibc-go/pull/1972) Solo machine implementation of `ZeroCustomFields` fn now panics as the fn is only used for upgrades which solo machine does not support.
153+
* (06-solomachine) [\#1972](https://github.com/cosmos/ibc-go/pull/1972) Solo machine implementation of `ZeroCustomFields` fn now panics as the fn is only used for upgrades which solo machine does not support.
143154
* (light-clients/06-solomachine) Moving `verifyMisbehaviour` function from update.go to misbehaviour_handle.go.
144155
* [\#2434](https://github.com/cosmos/ibc-go/pull/2478) Removed all `TypeMsg` constants
145-
* (modules/core/exported) [\#2539] (https://github.com/cosmos/ibc-go/pull/2539) Removing `GetVersions` from `ConnectionI` interface.
156+
* (modules/core/exported) [\#2539](https://github.com/cosmos/ibc-go/pull/2539) Removing `GetVersions` from `ConnectionI` interface.
146157
* (core/02-connection) [\#2419](https://github.com/cosmos/ibc-go/pull/2419) Add optional proof data to proto definitions of `MsgConnectionOpenTry` and `MsgConnectionOpenAck` for host state machines that are unable to introspect their own consensus state.
147158
* (light-clients/07-tendermint) [\#3046](https://github.com/cosmos/ibc-go/pull/3046) Moved non-verification misbehaviour checks to `CheckForMisbehaviour`.
148159
* (apps/29-fee) [\#2975](https://github.com/cosmos/ibc-go/pull/2975) Adding distribute fee events to ics29.
149160
* (light-clients/07-tendermint) [\#2965](https://github.com/cosmos/ibc-go/pull/2965) Prune expired `07-tendermint` consensus states on duplicate header updates.
150161
* (light-clients) [\#2736](https://github.com/cosmos/ibc-go/pull/2736) Updating `VerifyMembership` and `VerifyNonMembership` methods to use `Path` interface.
151-
* (light-clients) [\#3113](https://github.com/cosmos/ibc-go/pull/3113) Align light client module names.
162+
* (light-clients) [\#3113](https://github.com/cosmos/ibc-go/pull/3113) Align light client module names.
152163

153164
### Features
154165

155166
* (apps/transfer) [\#3079](https://github.com/cosmos/ibc-go/pull/3079) Added authz support for ics20.
156167
* (core/02-client) [\#2824](https://github.com/cosmos/ibc-go/pull/2824) Add genesis migrations for v6 to v7. The migration migrates the solo machine client state definition, removes all solo machine consensus states and removes the localhost client.
157168
* (core/24-host) [\#2856](https://github.com/cosmos/ibc-go/pull/2856) Add `PrefixedClientStorePath` and `PrefixedClientStoreKey` functions to 24-host
158169
* (core/02-client) [\#2819](https://github.com/cosmos/ibc-go/pull/2819) Add automatic in-place store migrations to remove the localhost client and migrate existing solo machine definitions.
159-
* (light-clients/06-solomachine) [\#2826](https://github.com/cosmos/ibc-go/pull/2826) Add `AppModuleBasic` for the 06-solomachine client and remove solo machine type registration from core IBC. Chains must register the `AppModuleBasic` of light clients.
160-
* (light-clients/07-tendermint) [\#2825](https://github.com/cosmos/ibc-go/pull/2825) Add `AppModuleBasic` for the 07-tendermint client and remove tendermint type registration from core IBC. Chains must register the `AppModuleBasic` of light clients.
170+
* (light-clients/06-solomachine) [\#2826](https://github.com/cosmos/ibc-go/pull/2826) Add `AppModuleBasic` for the 06-solomachine client and remove solo machine type registration from core IBC. Chains must register the `AppModuleBasic` of light clients.
171+
* (light-clients/07-tendermint) [\#2825](https://github.com/cosmos/ibc-go/pull/2825) Add `AppModuleBasic` for the 07-tendermint client and remove tendermint type registration from core IBC. Chains must register the `AppModuleBasic` of light clients.
161172
* (light-clients/07-tendermint) [\#2800](https://github.com/cosmos/ibc-go/pull/2800) Add optional in-place store migration function to prune all expired tendermint consensus states.
162-
* (core/24-host) [\#2820](https://github.com/cosmos/ibc-go/pull/2820) Add `MustParseClientStatePath` which parses the clientID from a client state key path.
173+
* (core/24-host) [\#2820](https://github.com/cosmos/ibc-go/pull/2820) Add `MustParseClientStatePath` which parses the clientID from a client state key path.
163174
* (testing/simapp) [\#2842](https://github.com/cosmos/ibc-go/pull/2842) Adding the new upgrade handler for v6 -> v7 to simapp which prunes expired Tendermint consensus states.
164175
* (testing) [\#2829](https://github.com/cosmos/ibc-go/pull/2829) Add `AssertEvents` which asserts events against expected event map.
165176

@@ -295,7 +306,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
295306

296307
### Dependencies
297308

298-
* [\#2868](https://github.com/cosmos/ibc-go/pull/2868) Bump ICS 23 to v0.9.0.
309+
* [\#2868](https://github.com/cosmos/ibc-go/pull/2868) Bump ICS 23 to v0.9.0.
299310
* [\#2944](https://github.com/cosmos/ibc-go/pull/2944) Bump Cosmos SDK to v0.46.7 and Tendermint to v0.34.24.
300311

301312
### State Machine Breaking
@@ -372,7 +383,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
372383

373384
### Bug Fixes
374385

375-
* [\#3662](https://github.com/cosmos/ibc-go/pull/3662) Retract v4.1.2 and v4.2.1.
386+
* [\#3662](https://github.com/cosmos/ibc-go/pull/3662) Retract v4.1.2 and v4.2.1.
376387

377388
## [v4.4.1](https://github.com/cosmos/ibc-go/releases/tag/v4.4.1) - 2023-05-25
378389

@@ -429,7 +440,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
429440

430441
### Dependencies
431442

432-
* [\#2868](https://github.com/cosmos/ibc-go/pull/2868) Bump ICS 23 to v0.9.0.
443+
* [\#2868](https://github.com/cosmos/ibc-go/pull/2868) Bump ICS 23 to v0.9.0.
433444

434445
### Improvements
435446

@@ -469,7 +480,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
469480

470481
### Dependencies
471482

472-
* [\#2868](https://github.com/cosmos/ibc-go/pull/2868) Bump ICS 23 to v0.9.0.
483+
* [\#2868](https://github.com/cosmos/ibc-go/pull/2868) Bump ICS 23 to v0.9.0.
473484

474485
### Improvements
475486

e2e/go.mod

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ require (
1010
github.com/cosmos/gogoproto v1.4.10
1111
github.com/cosmos/ibc-go/v7 v7.1.0
1212
github.com/cosmos/interchain-accounts v0.5.1
13-
github.com/docker/docker v20.10.19+incompatible
14-
github.com/strangelove-ventures/interchaintest/v7 v7.0.0-20230503171723-5e55f37618b7
13+
github.com/docker/docker v24.0.1+incompatible
14+
github.com/strangelove-ventures/interchaintest/v7 v7.0.0-20230622193330-220ce33823c0
1515
github.com/stretchr/testify v1.8.4
1616
go.uber.org/zap v1.24.0
1717
golang.org/x/mod v0.11.0
@@ -33,7 +33,7 @@ require (
3333
filippo.io/edwards25519 v1.0.0 // indirect
3434
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
3535
github.com/99designs/keyring v1.2.2 // indirect
36-
github.com/BurntSushi/toml v1.2.1 // indirect
36+
github.com/BurntSushi/toml v1.3.2 // indirect
3737
github.com/ChainSafe/go-schnorrkel v1.0.0 // indirect
3838
github.com/ChainSafe/go-schnorrkel/1 v0.0.0-00010101000000-000000000000 // indirect
3939
github.com/ComposableFi/go-subkey/v2 v2.0.0-tm03420 // indirect
@@ -72,13 +72,13 @@ require (
7272
github.com/deckarep/golang-set v1.8.0 // indirect
7373
github.com/decred/base58 v1.0.4 // indirect
7474
github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
75-
github.com/decred/dcrd/dcrec/secp256k1/v2 v2.0.0 // indirect
75+
github.com/decred/dcrd/dcrec/secp256k1/v2 v2.0.1 // indirect
7676
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
7777
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
7878
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect
7979
github.com/dgraph-io/ristretto v0.1.1 // indirect
8080
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
81-
github.com/docker/distribution v2.8.1+incompatible // indirect
81+
github.com/docker/distribution v2.8.2+incompatible // indirect
8282
github.com/docker/go-connections v0.4.0 // indirect
8383
github.com/docker/go-units v0.5.0 // indirect
8484
github.com/dustin/go-humanize v1.0.1 // indirect
@@ -165,7 +165,7 @@ require (
165165
github.com/pierrec/xxHash v0.1.5 // indirect
166166
github.com/pkg/errors v0.9.1 // indirect
167167
github.com/pmezard/go-difflib v1.0.0 // indirect
168-
github.com/prometheus/client_golang v1.14.0 // indirect
168+
github.com/prometheus/client_golang v1.15.0 // indirect
169169
github.com/prometheus/client_model v0.3.0 // indirect
170170
github.com/prometheus/common v0.42.0 // indirect
171171
github.com/prometheus/procfs v0.9.0 // indirect
@@ -175,7 +175,6 @@ require (
175175
github.com/rs/cors v1.8.3 // indirect
176176
github.com/rs/zerolog v1.29.1 // indirect
177177
github.com/sasha-s/go-deadlock v0.3.1 // indirect
178-
github.com/sirupsen/logrus v1.9.0 // indirect
179178
github.com/spaolacci/murmur3 v1.1.0 // indirect
180179
github.com/spf13/afero v1.9.5 // indirect
181180
github.com/spf13/cast v1.5.1 // indirect
@@ -195,16 +194,16 @@ require (
195194
go.etcd.io/bbolt v1.3.7 // indirect
196195
go.opencensus.io v0.24.0 // indirect
197196
go.uber.org/atomic v1.10.0 // indirect
198-
go.uber.org/multierr v1.9.0 // indirect
199-
golang.org/x/crypto v0.9.0 // indirect
197+
go.uber.org/multierr v1.11.0 // indirect
198+
golang.org/x/crypto v0.10.0 // indirect
200199
golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
201-
golang.org/x/net v0.10.0 // indirect
200+
golang.org/x/net v0.11.0 // indirect
202201
golang.org/x/oauth2 v0.7.0 // indirect
203-
golang.org/x/sync v0.1.0 // indirect
204-
golang.org/x/sys v0.8.0 // indirect
205-
golang.org/x/term v0.8.0 // indirect
206-
golang.org/x/text v0.9.0 // indirect
207-
golang.org/x/tools v0.8.0 // indirect
202+
golang.org/x/sync v0.3.0 // indirect
203+
golang.org/x/sys v0.9.0 // indirect
204+
golang.org/x/term v0.9.0 // indirect
205+
golang.org/x/text v0.10.0 // indirect
206+
golang.org/x/tools v0.10.0 // indirect
208207
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
209208
google.golang.org/api v0.122.0 // indirect
210209
google.golang.org/appengine v1.6.7 // indirect
@@ -221,7 +220,7 @@ require (
221220
modernc.org/mathutil v1.5.0 // indirect
222221
modernc.org/memory v1.5.0 // indirect
223222
modernc.org/opt v0.1.3 // indirect
224-
modernc.org/sqlite v1.22.1 // indirect
223+
modernc.org/sqlite v1.23.1 // indirect
225224
modernc.org/strutil v1.1.3 // indirect
226225
modernc.org/token v1.1.0 // indirect
227226
nhooyr.io/websocket v1.8.7 // indirect

0 commit comments

Comments
 (0)