Skip to content

Commit 670a524

Browse files
authored
Merge pull request #35 from piplabs/hans/port-private-to-public
feat(release): port private fork changes
2 parents 7ce4a34 + 1485537 commit 670a524

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2242
-1876
lines changed

.github/workflows/changelog-reminder.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,22 @@ on:
44
pull_request:
55
types: [opened, synchronize, reopened, ready_for_review]
66
paths: ["**/*.go"]
7+
78
permissions:
89
pull-requests: write
10+
911
jobs:
1012
remind:
1113
name: Changelog Reminder
1214
runs-on: ubuntu-latest
1315
# Skip draft PRs and PRs starting with: revert, test, chore, ci, docs, style, build, refactor
1416
if: "!github.event.pull_request.draft && !contains(github.event.pull_request.title, 'revert') && !contains(github.event.pull_request.title, 'test') && !contains(github.event.pull_request.title, 'chore') && !contains(github.event.pull_request.title, 'ci') && !contains(github.event.pull_request.title, 'docs') && !contains(github.event.pull_request.title, 'style') && !contains(github.event.pull_request.title, 'build') && !contains(github.event.pull_request.title, 'refactor')"
1517
steps:
16-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
19+
with:
20+
ref: ${{ github.event.pull_request.head.sha }}
21+
fetch-depth: 1
22+
1723
- uses: mskelton/changelog-reminder-action@v3
1824
with:
1925
message: "@${{ github.actor }} your pull request is missing a changelog!"

README.md

Lines changed: 53 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<h1> Cosmos SDK </h1>
33
</div>
44

5-
![banner](docs/static/img/banner.jpg)
5+
![banner](https://github.com/cosmos/cosmos-sdk-docs/blob/main/static/img/banner.jpg)
66

77
<div align="center">
88
<a href="https://github.com/cosmos/cosmos-sdk/blob/main/LICENSE">
@@ -22,25 +22,25 @@
2222
</a>
2323
</div>
2424
<div align="center">
25-
<a href="https://discord.gg/AzefAFd">
25+
<a href="https://discord.gg/interchain">
2626
<img alt="Discord" src="https://img.shields.io/discord/669268347736686612.svg" />
2727
</a>
2828
<a href="https://sourcegraph.com/github.com/cosmos/cosmos-sdk?badge">
2929
<img alt="Imported by" src="https://sourcegraph.com/github.com/cosmos/cosmos-sdk/-/badge.svg" />
3030
</a>
3131
<img alt="Sims" src="https://github.com/cosmos/cosmos-sdk/workflows/Sims/badge.svg" />
32-
<img alt="Lint Satus" src="https://github.com/cosmos/cosmos-sdk/workflows/Lint/badge.svg" />
32+
<img alt="Lint Status" src="https://github.com/cosmos/cosmos-sdk/workflows/Lint/badge.svg" />
3333
</div>
3434

3535
The Cosmos SDK is a framework for building blockchain applications. [CometBFT (BFT Consensus)](https://github.com/cometbft/cometbft) and the Cosmos SDK are written in the Go programming language. Cosmos SDK is used to build [Gaia](https://github.com/cosmos/gaia), the implementation of the Cosmos Hub.
3636

3737
**WARNING**: The Cosmos SDK has mostly stabilized, but we are still making some breaking changes.
3838

39-
**Note**: We advise to always use the latest maintained [Go](https://go.dev/dl) version for building Cosmos SDK applications.
39+
**Note**: Always use the latest maintained [Go](https://go.dev/dl) version for building Cosmos SDK applications.
4040

4141
## Quick Start
4242

43-
To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK [High-Level Intro](https://docs.cosmos.network/main/intro/overview.html).
43+
To learn how the Cosmos SDK works from a high-level perspective, see the Cosmos SDK [High-Level Intro](https://docs.cosmos.network/v0.50/learn/intro/overview).
4444

4545
If you want to get started quickly and learn how to build on top of Cosmos SDK, visit [Cosmos SDK Tutorials](https://tutorials.cosmos.network). You can also fork the tutorial's repository to get started building your own Cosmos SDK application.
4646

@@ -49,21 +49,63 @@ For more information, see the [Cosmos SDK Documentation](https://docs.cosmos.net
4949
## Contributing
5050

5151
See [CONTRIBUTING.md](./CONTRIBUTING.md) for details on how to contribute and participate in our [dev calls](./CONTRIBUTING.md#teams-dev-calls).
52-
If you want to follow the updates or learn more about the latest design then join our [Discord](https://discord.com/invite/cosmosnetwork).
52+
If you want to follow the updates or learn more about the latest design then join our [Discord](https://discord.gg/interchain).
5353

5454
## Tools and Frameworks
5555

5656
The Cosmos ecosystem is vast.
5757
[Awesome Cosmos](https://github.com/cosmos/awesome-cosmos) is a community-curated list of notable frameworks, modules and tools.
5858

59-
### Cosmos Hub Mainnet
60-
61-
The Cosmos Hub application, `gaia`, has its own [cosmos/gaia repository](https://github.com/cosmos/gaia). Go there to join the Cosmos Hub mainnet and more.
62-
6359
### Inter-Blockchain Communication (IBC)
6460

6561
The IBC module for the Cosmos SDK has its own [cosmos/ibc-go repository](https://github.com/cosmos/ibc-go). Go there to build and integrate with the IBC module.
6662

63+
### Version Matrix
64+
65+
The version matrix below shows which versions of the Cosmos SDK, modules and libraries are compatible with each other.
66+
67+
#### Core Dependencies
68+
69+
Core dependencies are the core libraries that an application may depend on.
70+
Core dependencies not mentioned here as compatible across all maintained SDK versions.
71+
72+
| Cosmos SDK | cosmossdk.io/core | cosmossdk.io/api | cosmossdk.io/x/tx |
73+
| ---------- | ----------------- | ---------------- | ----------------- |
74+
| 0.52.z | 1.y.z | 0.8.z | 0.14.z |
75+
| 0.50.z | 0.11.z | 0.7.z | 0.13.z |
76+
| 0.47.z | 0.5.z | 0.3.z | N/A |
77+
78+
#### Module Dependencies
79+
80+
Module Dependencies are the modules that an application may depend on and which version of the Cosmos SDK they are compatible with.
81+
82+
> Note: The version table only goes back to 0.50.x, as modules started to become modular with 0.50.z.
83+
> X signals that the module was not spun out into its own go.mod file.
84+
> N/A signals that the module was not available in the Cosmos SDK at that time.
85+
86+
| Cosmos SDK | 0.50.z | 0.52.z |
87+
| --------------------------- | ------ | ------ |
88+
| cosmossdk.io/x/accounts | N/A | 0.2.z |
89+
| cosmossdk.io/x/bank | X | 0.2.z |
90+
| cosmossdk.io/x/circuit | 0.1.z | 0.2.z |
91+
| cosmossdk.io/x/consensus | X | 0.2.z |
92+
| cosmossdk.io/x/distribution | X | 0.2.z |
93+
| cosmossdk.io/x/epochs | N/A | 0.2.z |
94+
| cosmossdk.io/x/evidence | 0.1.z | 0.2.z |
95+
| cosmossdk.io/x/feegrant | 0.1.z | 0.2.z |
96+
| cosmossdk.io/x/gov | X | 0.2.z |
97+
| cosmossdk.io/x/group | X | 0.2.z |
98+
| cosmossdk.io/x/mint | X | 0.2.z |
99+
| cosmossdk.io/x/nft | 0.1.z | 0.2.z |
100+
| cosmossdk.io/x/protocolpool | N/A | 0.2.z |
101+
| cosmossdk.io/x/slashing | X | 0.2.z |
102+
| cosmossdk.io/x/staking | X | 0.2.z |
103+
| cosmossdk.io/x/upgrade | 0.1.z | 0.2.z |
104+
67105
## Disambiguation
68106

69-
This Cosmos SDK project is not related to the [React-Cosmos](https://github.com/react-cosmos/react-cosmos) project (yet). Many thanks to Evan Coury and Ovidiu (@skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.
107+
This Cosmos SDK project is not related to the [React-Cosmos](https://github.com/react-cosmos/react-cosmos) project (yet). Many thanks to Evan Coury and Ovidiu [(@skidding)](https://github.com/skidding) for this Github organization name. As per our agreement, this disambiguation notice will stay here.
108+
109+
## Security
110+
111+
We welcome responsible disclosure of vulnerabilities. Please see our [security policy](SECURITY.md) for more information.

SECURITY.md

Lines changed: 30 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,37 @@
1-
# Coordinated Vulnerability Disclosure Policy
1+
# Security Policy
22

3-
The Cosmos ecosystem believes that strong security is a blend of highly
4-
technical security researchers who care about security and the forward
5-
progression of the ecosystem and the attentiveness and openness of Cosmos core
6-
contributors to help continually secure our operations.
3+
The security of Story is critical. If you discover any security vulnerabilities, we appreciate your help in responsibly disclosing them to us.
74

8-
> **IMPORTANT**: *DO NOT* open public issues on this repository for security
9-
> vulnerabilities.
5+
## Reporting a Vulnerability
106

11-
## Scope
7+
**Please do not file a public ticket** mentioning the vulnerability.
128

13-
| Scope |
14-
|-----------------------|
15-
| last release (tagged) |
16-
| main branch |
9+
We are in the process of setting up a bug bounty program. This document will be updated when ready, and the program will be announced on our channels.
1710

18-
The latest **release tag** of this repository is supported for security updates
19-
as well as the **main** branch. Security vulnerabilities should be reported if
20-
the vulnerability can be reproduced on either one of those.
11+
We recommend to wait for the program to be ready for reporting, but if you find a vulnerability that will put the network at risk, please send an email to **[email protected]**. We kindly request that you provide us with the following details:
2112

22-
## Reporting a Vulnerability
13+
- A clear description of the vulnerability and its potential impact.
14+
- Steps to reproduce the vulnerability.
15+
- Any additional information or proof of concept that can help us understand and address the issue.
16+
17+
If applicable, rewards will be provided through the bug bounty program when ready.
18+
19+
## Audit Reports, Known Issues and Ongoing Auditing Contest
20+
21+
There is a series of known issues reported by our our multiple auditors. Please [review our audit reports](./audits/) to make sure you are not reporting a duplicate.
22+
23+
Folders:
24+
25+
- geth: audits of the original geth codebase
26+
- story: Story network audits (scope includes Story Geth, Story Consensus Client and Cosmos fork, please refer to the relevant issues for this repository)
27+
28+
Story has undergone a public [audit competition by Cantina](https://cantina.xyz/competitions/0561defa-eeb2-4a74-8884-5d7a873afa58). We will publish the report as soon as the judging period is over.
29+
Please be advised that there is a high chance that your reported vulnerability can be a duplicate if you do it before we publish the report.
30+
31+
## Responsible Disclosure
32+
33+
We believe in responsible disclosure and request that you refrain from publicly disclosing any vulnerabilities until we have had sufficient time to investigate and address them. We appreciate your cooperation in helping us maintain the security and integrity of our blockchain network.
34+
35+
## Disclaimer
2336

24-
| Reporting methods |
25-
|---------------------------------------------------------------|
26-
| [GitHub Private Vulnerability Reporting][gh-private-advisory] |
27-
| [HackerOne bug bounty program][h1] |
28-
29-
All security vulnerabilities can be reported under GitHub's [Private
30-
vulnerability reporting][gh-private-advisory] system. This will open a private
31-
issue for the developers. Try to fill in as much of the questions as possible.
32-
If you are not familiar with the CVSS system for assessing vulnerabilities, just
33-
use the Low/High/Critical severity ratings. A partially filled in report for a
34-
critical vulnerability is still better than no report at all.
35-
36-
Vulnerabilities associated with the **Go, Rust or Protobuf code** of the
37-
repository may be eligible for a [bug bounty][h1]. Please see the bug bounty
38-
page for more details on submissions and rewards. If you think the vulnerability
39-
is eligible for a payout, **report on HackerOne first**.
40-
41-
Vulnerabilities in services and their source codes (JavaScript, web page, Google
42-
Workspace) are not in scope for the bug bounty program, but they are welcome to
43-
be reported in GitHub.
44-
45-
### Guidelines
46-
47-
We require that all researchers:
48-
49-
* Abide by this policy to disclose vulnerabilities, and avoid posting
50-
vulnerability information in public places, including GitHub, Discord,
51-
Telegram, and Twitter.
52-
* Make every effort to avoid privacy violations, degradation of user experience,
53-
disruption to production systems (including but not limited to the Cosmos
54-
Hub), and destruction of data.
55-
* Keep any information about vulnerabilities that you’ve discovered confidential
56-
between yourself and the Cosmos engineering team until the issue has been
57-
resolved and disclosed.
58-
* Avoid posting personally identifiable information, privately or publicly.
59-
60-
If you follow these guidelines when reporting an issue to us, we commit to:
61-
62-
* Not pursue or support any legal action related to your research on this
63-
vulnerability
64-
* Work with you to understand, resolve and ultimately disclose the issue in a
65-
timely fashion
66-
67-
### More information
68-
69-
* See [TIMELINE.md] for an example timeline of a disclosure.
70-
* See [DISCLOSURE.md] to see more into the inner workings of the disclosure
71-
process.
72-
* See [EXAMPLES.md] for some of the examples that we are interested in for the
73-
bug bounty program.
74-
75-
[gh-private-advisory]: /../../security/advisories/new
76-
[h1]: https://hackerone.com/cosmos
77-
[TIMELINE.md]: https://github.com/cosmos/security/blob/main/TIMELINE.md
78-
[DISCLOSURE.md]: https://github.com/cosmos/security/blob/main/DISCLOSURE.md
79-
[EXAMPLES.md]: https://github.com/cosmos/security/blob/main/EXAMPLES.md
37+
Please note that this document is subject to change and may be updated as our security practices evolve. We encourage you to check back regularly for any updates or changes.

api/cosmos/staking/v1beta1/genesis.pulsar.go

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)