Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ICA on main + add app version negotiation stub #403

Merged
merged 36 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
cde1e0c
Bump github.com/cosmos/cosmos-sdk from 0.43.0-rc1 to 0.43.0-rc2 (#269)
dependabot[bot] Jul 19, 2021
c92e0d6
generate swagger files (#267)
colin-axner Jul 19, 2021
76ad03e
Reject Redundant Tx Antedecorator (#235)
AdityaSripal Jul 19, 2021
4a83b05
perform a no-op on redundant relay messages (#268)
colin-axner Jul 20, 2021
c623ad7
Bump codecov/codecov-action from 1.5.2 to 2.0.1 (#273)
dependabot[bot] Jul 20, 2021
0afa15a
remove ChanCloseInit function from transfer keeper (#275)
colin-axner Jul 20, 2021
6f10a68
Bump codecov/codecov-action from 2.0.1 to 2.0.2 (#296)
dependabot[bot] Jul 26, 2021
da40d55
Bump github.com/spf13/cast from 1.3.1 to 1.4.0 (#301)
dependabot[bot] Jul 27, 2021
11da3d7
Bump technote-space/get-diff-action from 4.2 to 5 (#306)
dependabot[bot] Aug 2, 2021
bf508c6
bump to SDK v0.43.0-rc3 (#308)
colin-axner Aug 5, 2021
3642983
add @seantking as codeowner to interchain accounts (#309)
colin-axner Aug 5, 2021
6c3b582
Bump google.golang.org/grpc from 1.39.0 to 1.39.1 (#320)
dependabot[bot] Aug 9, 2021
1160f56
Bump github.com/cosmos/cosmos-sdk from 0.43.0-rc3 to 0.43.0 (#325)
dependabot[bot] Aug 10, 2021
3dade92
module: improve 04-channel logging (#323)
alexanderbez Aug 10, 2021
632d71f
update changelog (#326)
colin-axner Aug 11, 2021
2c5ea11
Bump google.golang.org/grpc from 1.39.1 to 1.40.0 (#332)
dependabot[bot] Aug 12, 2021
f6eb414
Bump github.com/spf13/cast from 1.4.0 to 1.4.1 (#338)
dependabot[bot] Aug 23, 2021
f4a017e
Bump github.com/tendermint/tendermint from 0.34.11 to 0.34.12 (#341)
dependabot[bot] Aug 23, 2021
7b5a19f
fix broken links in integration.md (#340)
crodriguezvega Aug 23, 2021
e86cdbe
Created helper functions for emitting packet events (#343)
lukerhoads Aug 24, 2021
ae36ab5
Merge pull request from GHSA-qrhq-96mh-q8jv
colin-axner Aug 25, 2021
662f4dd
Bump codecov/codecov-action from 2.0.2 to 2.0.3 (#346)
dependabot[bot] Aug 26, 2021
950b92d
Bump actions/setup-go from 2.1.3 to 2.1.4 (#349)
dependabot[bot] Aug 26, 2021
358bfa5
increase port identifier limit to 128 characters (#344)
colin-axner Aug 26, 2021
9d5da17
update codeowners to include new team members and granular ownership …
colin-axner Aug 27, 2021
a6bf50d
bump SDK dependency (#367)
colin-axner Sep 2, 2021
74182d8
adding client status cli query (#372)
damiannolan Sep 3, 2021
90ce97e
adding markdown link checker to ci workflows (#377)
damiannolan Sep 6, 2021
760d15a
packet acknowledgment filtering (#375)
damiannolan Sep 7, 2021
a647546
Bump github.com/tendermint/tendermint from 0.34.12 to 0.34.13 (#386)
dependabot[bot] Sep 9, 2021
06c2d76
Change ICS 20 packet data amount to be string (#350)
colin-axner Sep 10, 2021
2fbe682
fix: ibc build docs (#361)
charleenfei Sep 13, 2021
85b4383
feat: scalable version queries (#384)
damiannolan Sep 13, 2021
7a6507b
Bump codecov/codecov-action from 2.0.3 to 2.1.0 (#399)
dependabot[bot] Sep 13, 2021
526b7e0
chore: merge main & resolve conflicts
seantking Sep 14, 2021
bddef53
feat: adding fn stub for version negotiation
seantking Sep 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

* @colin-axner @fedekunze @AdityaSripal
* @colin-axner @AdityaSripal @crodriguezvega @seantking @charleenfei @damiannolan

# Order is important; the last matching pattern takes the most
# precedence. When someone opens a pull request that only
# modifies 27-interchain-accounts files, only the interchain account owners
# and not the global owner(s) will be requested for a review.

# CODEOWNERS for the CODEOWNER file

/.github/CODEOWNERS @colin-axner @AdityaSripal @crodriguezvega

# CODEOWNERS for the core IBC module

/modules/core/ @colin-axner @fedekunze @AdityaSripal
/proto/core/ @colin-axner @fedekunze @AdityaSripal

# CODEOWNERS for the light-clients

/modules/light-clients/ @colin-axner @fedekunze @AdityaSripal
/proto/lightclients/ @colin-axner @fedekunze @AdityaSripal

# CODEOWNERS for ICS 20

/modules/apps/transfer/ @colin-axner @fedekunze @AdityaSripal
/proto/applications/transfer/ @colin-axner @fedekunze @AdityaSripal

# CODEOWNERS for interchain-accounts module

/modules/apps/27-interchain-accounts/ @seantking @colin-axner @AdityaSripal
/proto/applications/interchain_accounts/ @seantking @colin-axner @AdityaSripal
8 changes: 8 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Check Markdown links
on: [push, pull_request]
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
install-tparse:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2.1.3
- uses: actions/setup-go@v2.1.4
with:
go-version: 1.15
- name: Display go version
Expand All @@ -38,10 +38,10 @@ jobs:
go-arch: ["amd64", "arm", "arm64"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-go@v2.1.3
- uses: actions/setup-go@v2.1.4
with:
go-version: 1.15
- uses: technote-space/get-diff-action@v4.2
- uses: technote-space/get-diff-action@v5
id: git_diff
with:
PATTERNS: |
Expand Down Expand Up @@ -86,10 +86,10 @@ jobs:
part: ["00", "01", "02", "03"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-go@v2.1.3
- uses: actions/setup-go@v2.1.4
with:
go-version: 1.15
- uses: technote-space/get-diff-action@v4.2
- uses: technote-space/get-diff-action@v5
with:
PATTERNS: |
**/**.go
Expand All @@ -113,7 +113,7 @@ jobs:
needs: tests
steps:
- uses: actions/checkout@v2.3.4
- uses: technote-space/get-diff-action@v4.2
- uses: technote-space/get-diff-action@v5
with:
PATTERNS: |
**/**.go
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
if: env.GIT_DIFF
- uses: codecov/codecov-action@v1.5.2
- uses: codecov/codecov-action@v2.1.0
with:
file: ./coverage.txt
if: env.GIT_DIFF
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,23 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

### API Breaking

* (core) [\#227](https://github.com/cosmos/ibc-go/pull/227) Remove sdk.Result from application callbacks
* (transfer) [\#350](https://github.com/cosmos/ibc-go/pull/350) Change FungibleTokenPacketData to use a string for the Amount field. This enables token transfers with amounts previously restricted by uint64. Up to the maximum uint256 value is supported.

### State Machine Breaking

* (24-host) [#\344](https://github.com/cosmos/ibc-go/pull/344) Increase port identifier limit to 128 characters.

### Improvements
* [\#373](https://github.com/cosmos/ibc-go/pull/375) Added optional field `PacketCommitmentSequences` to `QueryPacketAcknowledgementsRequest` to provide filtering of packet acknowledgements

### Features
* [\#372](https://github.com/cosmos/ibc-go/pull/372) New CLI command `query ibc client status <client id>` to get the current activity status of a client
* [\#384](https://github.com/cosmos/ibc-go/pull/384) Added `NegotiateAppVersion` method to `IBCModule` interface supported by a gRPC query service in `05-port`. This provides routing of requests to the desired application module callback, which in turn performs application version negotiation.

## [v1.0.0-rc0](https://github.com/cosmos/ibc-go/releases/tag/v1.0.0-rc0) - 2021-07-07
## [v1.0.0](https://github.com/cosmos/ibc-go/releases/tag/v1.0.0) - 2021-08-10

### Bug Fixes

Expand Down Expand Up @@ -68,6 +81,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (modules/core) [\#109](https://github.com/cosmos/ibc-go/pull/109) Remove connection and channel handshake CLI commands.
* (modules) [\#107](https://github.com/cosmos/ibc-go/pull/107) Modify OnRecvPacket callback to return an acknowledgement which indicates if it is successful or not. Callback state changes are discarded for unsuccessful acknowledgements only.
* (modules) [\#108](https://github.com/cosmos/ibc-go/pull/108) All message constructors take the signer as a string to prevent upstream bugs. The `String()` function for an SDK Acc Address relies on external context.
* (transfer) [\#275](https://github.com/cosmos/ibc-go/pull/275) Remove 'ChanCloseInit' function from transfer keeper. ICS20 does not close channels.

### State Machine Breaking

Expand All @@ -77,6 +91,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (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.
* (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.
* (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.
* (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.

### Improvements

Expand All @@ -89,6 +104,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (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.
* (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.
* (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.
* (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.

### Features

Expand Down
56 changes: 53 additions & 3 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ module.exports = {
},
},
base: process.env.VUEPRESS_BASE || "/",
head: [
['link', { rel: "apple-touch-icon", sizes: "180x180", href: "/apple-touch-icon.png" }],
['link', { rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png" }],
['link', { rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png" }],
['link', { rel: "manifest", href: "/site.webmanifest" }],
['meta', { name: "msapplication-TileColor", content: "#2e3148" }],
['meta', { name: "theme-color", content: "#ffffff" }],
['link', { rel: "icon", type: "image/svg+xml", href: "/favicon-svg.svg" }],
['link', { rel: "apple-touch-icon-precomposed", href: "/apple-touch-icon-precomposed.png" }],
],
themeConfig: {
repo: "cosmos/ibc-go",
docsRepo: "cosmos/ibc-go",
docsDir: "docs",
editLinks: true,
label: "ibc",
// label: "ibc-go",
// TODO
//algolia: {
// id: "BH4D9OD16A",
Expand All @@ -24,8 +33,19 @@ module.exports = {
{
"label": "main",
"key": "main"
}
},
{
"label": "v1.1.0",
"key": "v1.1.0"
},
{
"label": "v1.2.0",
"key": "v1.2.0"
}
],
topbar: {
banner: true
},
sidebar: {
auto: false,
nav: [
Expand Down Expand Up @@ -105,11 +125,41 @@ module.exports = {
}
},
footer: {
logo: "/logo-bw.svg",
question: {
text: "Chat with IBC developers in <a href='https://discord.gg/W8trcGV' target='_blank'>Discord</a>."
},
textLink: {
text: "ibcprotocol.org",
url: "https://ibcprotocol.org"
},
services: [
{
service: "medium",
url: "https://blog.cosmos.network/"
},
{
service: "twitter",
url: "https://twitter.com/cosmos"
},
{
service: "linkedin",
url: "https://www.linkedin.com/company/interchain-gmbh"
},
{
service: "reddit",
url: "https://reddit.com/r/cosmosnetwork"
},
{
service: "telegram",
url: "https://t.me/cosmosproject"
},
{
service: "youtube",
url: "https://www.youtube.com/c/CosmosProject"
}
],
smallprint:
"The development of IBC-Go is led primarily by [Interchain GmbH](https://interchain.berlin/). Funding for this development comes primarily from the Interchain Foundation, a Swiss non-profit.",
links: [
{
title: "Documentation",
Expand Down
Binary file modified docs/.vuepress/public/android-chrome-192x192.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/android-chrome-256x256.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/apple-touch-icon-precomposed.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/apple-touch-icon.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/mstile-150x150.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/.vuepress/styles/index.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:root
--color-link #E6900A
--color-primary #E6900A
42 changes: 42 additions & 0 deletions docs/client/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"swagger": "2.0",
"info": {
"title": "IBC-GO - gRPC Gateway docs",
"description": "A REST interface for state queries",
"version": "1.0.0"
},
"apis": [
{
"url": "./tmp-swagger-gen/ibc/applications/transfer/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "TransferParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/client/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ClientParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/connection/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ConnectionParams"
}
}
},
{
"url": "./tmp-swagger-gen/ibc/core/channel/v1/query.swagger.json",
"operationIds": {
"rename": {
"Params": "ChannelParams"
}
}
},
]
}
Loading