Skip to content

Commit 2195145

Browse files
colin-axnerdependabot[bot]AdityaSripal
authored
backport changes for rc2 (#271)
* Bump github.com/cosmos/cosmos-sdk from 0.43.0-rc1 to 0.43.0-rc2 (#269) Bumps [github.com/cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk) from 0.43.0-rc1 to 0.43.0-rc2. - [Release notes](https://github.com/cosmos/cosmos-sdk/releases) - [Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.43.0-rc2/CHANGELOG.md) - [Commits](cosmos/cosmos-sdk@v0.43.0-rc1...v0.43.0-rc2) --- updated-dependencies: - dependency-name: github.com/cosmos/cosmos-sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * generate swagger files (#267) * Reject Redundant Tx Antedecorator (#235) * writeup simple antedecorator * only do antehandler on checkTx * Update modules/core/04-channel/ante.go Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * enable 2 antehandler strategies, and write tests * remove strict decorator and pass on non-packet/update type * move ante logic into its own package * changelog Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * cherry-pick and fix merge conflicts * update CHANGELOG for rc2 * move changelog entry to state machine breaking Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aditya <adityasripal@gmail.com>
1 parent 50e118e commit 2195145

18 files changed

+14876
-148
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
3434

3535
# Changelog
3636

37-
## [v1.0.0-rc1](https://github.com/cosmos/ibc-go/releases/tag/v1.0.0-rc1) - 2021-07-15
37+
## [v1.0.0-rc2](https://github.com/cosmos/ibc-go/releases/tag/v1.0.0-rc2) - 2021-07-20
3838

3939
### Bug Fixes
4040

@@ -72,6 +72,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
7272
* (modules/core/02-client) [\#8405](https://github.com/cosmos/cosmos-sdk/pull/8405) Refactor IBC client update governance proposals to use a substitute client to update a frozen or expired client.
7373
* (modules/core/02-client) [\#8673](https://github.com/cosmos/cosmos-sdk/pull/8673) IBC upgrade logic moved to 02-client and an IBC UpgradeProposal is added.
7474
* (modules/core/03-connection) [\#171](https://github.com/cosmos/ibc-go/pull/171) Introduces a new parameter `MaxExpectedTimePerBlock` to allow connections to calculate and enforce a block delay that is proportional to time delay set by connection.
75+
* (core) [\#268](https://github.com/cosmos/ibc-go/pull/268) Perform a no-op on redundant relay messages. Previous behaviour returned an error. Now no state change will occur and no error will be returned.
7576

7677
### Improvements
7778

@@ -84,6 +85,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
8485
* (core/04-channel) [\#197](https://github.com/cosmos/ibc-go/pull/197) Introduced a `packet_ack_hex` attribute to emit the hex-encoded acknowledgement in events. This allows for raw binary (proto-encoded message) to be sent over events and decoded correctly on relayer. Original `packet_ack` is DEPRECATED. All relayers and IBC event consumers are encouraged to switch to `packet_ack_hex` as soon as possible.
8586
* (modules/light-clients/07-tendermint) [\#125](https://github.com/cosmos/ibc-go/pull/125) Implement efficient iteration of consensus states and pruning of earliest expired consensus state on UpdateClient.
8687
* (modules/light-clients/07-tendermint) [\#141](https://github.com/cosmos/ibc-go/pull/141) Return early in case there's a duplicate update call to save Gas.
88+
* (modules/core/ante) [\#235](https://github.com/cosmos/ibc-go/pull/235) Introduces a new IBC Antedecorator that will reject transactions that only contain redundant packet messages (and accompany UpdateClient msgs). This will prevent relayers from wasting fees by submitting messages for packets that have already been processed by previous relayer(s). The Antedecorator is only applied on CheckTx and RecheckTx and is therefore optional for each node.
8789

8890
### Features
8991

docs/client/config.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "IBC-GO - gRPC Gateway docs",
5+
"description": "A REST interface for state queries",
6+
"version": "1.0.0"
7+
},
8+
"apis": [
9+
{
10+
"url": "./tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json",
11+
"operationIds": {
12+
"rename": {
13+
"Params": "TransferParams"
14+
}
15+
}
16+
},
17+
{
18+
"url": "./tmp-swagger-gen/ibc/core/client/v1/query.swagger.json",
19+
"operationIds": {
20+
"rename": {
21+
"Params": "ClientParams"
22+
}
23+
}
24+
},
25+
{
26+
"url": "./tmp-swagger-gen/ibc/core/connection/v1/query.swagger.json",
27+
"operationIds": {
28+
"rename": {
29+
"Params": "ConnectionParams"
30+
}
31+
}
32+
},
33+
{
34+
"url": "./tmp-swagger-gen/ibc/core/channel/v1/query.swagger.json",
35+
"operationIds": {
36+
"rename": {
37+
"Params": "ChannelParams"
38+
}
39+
}
40+
},
41+
]
42+
}

0 commit comments

Comments
 (0)