-
Notifications
You must be signed in to change notification settings - Fork 629
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'interchain-accounts' into sean/issue#279-module-test
- Loading branch information
Showing
371 changed files
with
2,827 additions
and
2,166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "(localhost)" | ||
} | ||
], | ||
"retryOn429": true, | ||
"retryCount": 3, | ||
"fallbackRetryDelay": "10s" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Releases | ||
|
||
IBC-Go follows [semantic versioning](https://semver.org), but with the following deviations: | ||
|
||
- A state-machine breaking change will result in an increase of the minor version Y (x.Y.z | x > 0). | ||
- An API breaking change will result in an increase of the major number (X.y.z | x > 0). Please note that these changes **will be backwards compatible** (as opposed to canonical semantic versioning; read [Backwards compatibility](#backwards) for a detailed explanation). | ||
|
||
This is visually explained in the following decision tree: | ||
|
||
![](releases-decision-tree.png) | ||
|
||
When bumping the dependencies of [Cosmos SDK](https://github.com/cosmos/cosmos-sdk) and [Tendermint](https://github.com/tendermint/tendermint) we will only treat patch releases as non state-machine breaking. | ||
|
||
## <a name="backwards"></a> Backwards compatibility | ||
|
||
[ibc-go](https://github.com/cosmos/ibc-go) and the [IBC protocol specification](https://github.com/cosmos/ibc) maintain different versions. Furthermore, ibc-go serves several different user groups (chains, IBC app developers, relayers, IBC light client developers). Each of these groups has different expectations of what *backwards compatible* means. It simply isn't possible to categorize a change as backwards or non backwards compatible for all user groups. We are primarily interested in when our API breaks and when changes are state machine breaking (thus requiring a coordinated upgrade). This is scoping the meaning of ibc-go to that of those interacting with the code (IBC app developers, relayers, IBC light client developers), not chains using IBC to communicate (that should be encapsulated by the IBC protocol specification versioning). | ||
|
||
To summarize: **All our ibc-go releases allow chains to communicate successfully with any chain running any version of our code**. That is to say, we are still using IBC protocol specification v1.0. | ||
|
||
We ensure all major releases are supported by relayers ([hermes](https://github.com/informalsystems/ibc-rs) and [ts-relayer](https://github.com/confio/ts-relayer) at the moment) which can relay between the new major release and older releases. We have no plans of upgrading to an IBC protocol specification v2.0, as this would be very disruptive to the ecosystem. | ||
|
||
## Graphics | ||
|
||
The decision tree above was generated with the following code: | ||
|
||
``` | ||
%%{init: | ||
{'theme': 'default', | ||
'themeVariables': | ||
{'fontFamily': 'verdana', 'fontSize': '13px'} | ||
} | ||
}%% | ||
flowchart TD | ||
A(Change):::c --> B{API breaking?} | ||
B:::c --> |Yes| C(Increase major version):::c | ||
B:::c --> |No| D{state-machine breaking?} | ||
D:::c --> |Yes| G(Increase minor version):::c | ||
D:::c --> |No| H(Increase patch version):::c | ||
classDef c fill:#eee,stroke:#aaa | ||
``` | ||
|
||
using [Mermaid](https://mermaid-js.github.io)'s [live editor](https://mermaid.live). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
# Security | ||
|
||
> **IMPORTANT**: If you find a security issue, you can contact our team directly at | ||
security@interchain.berlin, or report it to our [bug bounty program](https://hackerone.com/tendermint) on HackerOne. *DO NOT* open a public issue on the repository. | ||
security@interchain.berlin, or report it to our [bug bounty program](https://hackerone.com/cosmos) on HackerOne. *DO NOT* open a public issue on the repository. | ||
|
||
## Bug Bounty | ||
|
||
As part of our [Coordinated Vulnerability Disclosure Policy](https://tendermint.com/security), we operate a | ||
[bug bounty program](https://hackerone.com/tendermint) with Hacker One. | ||
[bug bounty program](https://hackerone.com/cosmos) with Hacker One. | ||
|
||
See the policy linked above for more details on submissions and rewards and read | ||
this [blog post](https://blog.cosmos.network/bug-bounty-program-for-tendermint-cosmos-833c67693586) for the program scope. | ||
|
||
The following is a list of examples of the kinds of bugs we're most interested | ||
in for the IBC Golang repository. Please refer to the corresponding repositories for vulnerabilities on the [Cosmos SDK]((https://github.com/cosmos/cosmos-sdk/blob/master/SECURITY.md)) and [Tendermint](https://github.com/tendermint/tendermint/blob/master/SECURITY.md) repositories. | ||
in for the IBC Golang repository. Please refer to the corresponding repositories for vulnerabilities on the [Cosmos SDK](https://github.com/cosmos/cosmos-sdk/blob/master/SECURITY.md) and [Tendermint](https://github.com/tendermint/tendermint/blob/master/SECURITY.md) repositories. | ||
|
||
### IBC Core | ||
|
||
- [`02-client`](https://github.com/cosmos/ibc-go/tree/modules/core/02-client) | ||
- [`03-connection`](https://github.com/cosmos/ibc-go/tree/modules/core/03-connection) | ||
- [`04-channel`](https://github.com/cosmos/ibc-go/tree/modules/core/04-channel) | ||
- [`05-port`](https://github.com/cosmos/ibc-go/tree/modules/core/05-port) | ||
- [`23-commitment`](https://github.com/cosmos/ibc-go/tree/modules/core/23-commitment) | ||
- [`24-host`](https://github.com/cosmos/ibc-go/tree/modules/core/24-host) | ||
- [`02-client`](https://github.com/cosmos/ibc-go/tree/main/modules/core/02-client) | ||
- [`03-connection`](https://github.com/cosmos/ibc-go/tree/main/modules/core/03-connection) | ||
- [`04-channel`](https://github.com/cosmos/ibc-go/tree/main/modules/core/04-channel) | ||
- [`05-port`](https://github.com/cosmos/ibc-go/tree/main/modules/core/05-port) | ||
- [`23-commitment`](https://github.com/cosmos/ibc-go/tree/main/modules/core/23-commitment) | ||
- [`24-host`](https://github.com/cosmos/ibc-go/tree/main/modules/core/24-host) | ||
|
||
### IBC Applications | ||
|
||
- [`transfer`](https://github.com/cosmos/ibc-go/tree/modules/apps/transfer) | ||
- [`transfer`](https://github.com/cosmos/ibc-go/tree/main/modules/apps/transfer) | ||
|
||
### Light Clients | ||
|
||
- [`07-tendermint`](https://github.com/cosmos/ibc-go/tree/modules/light-clients/07-tendermint) | ||
- [`07-tendermint`](https://github.com/cosmos/ibc-go/tree/main/modules/light-clients/07-tendermint) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.