Skip to content

Commit

Permalink
Merge pull request #9 from faddat/main
Browse files Browse the repository at this point in the history
Gaia v7
  • Loading branch information
judotki authored Apr 6, 2022
2 parents 889c4a2 + edd50ef commit 9cf0f9c
Show file tree
Hide file tree
Showing 175 changed files with 12,116 additions and 660 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary repo maintainers
* @alessio @alexanderbez @jgimeno @shahankhatch @zmanian @yaruwangway
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ v Please also ensure that this is not a duplicate issue :)

## Version

<!-- git commit hash, output of `gaiacli version`, output of `gaiad version` -->
<!-- git commit hash, output of `kitoolscli version`, output of `kid version` -->

## Steps to Reproduce

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ v without deliberation

<!-- Why do we need this feature?
What problems may be addressed by introducing this feature?
What benefits does gaia stand to gain by including this feature?
What benefits does kitools stand to gain by including this feature?
Are there any disadvantages of including this feature? -->

## Proposal
Expand Down
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/module-readiness.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
name: Cosmos Hub Feature Proposal Checklist
about: Create a checklist for a feature proposal

---

## Cosmos Hub Feature Epic

# <Feature Name>

- [ ] Copy Gaia ADR for this feature

Hub Module Readiness Checklist:

Check mark each item if it has been completed and added to the readiness file. If not added yet, create an issue for each item and mark complete once it has been added to the readiness file.

- [ ] ADR/Specification
- [ ] Repository
- [ ] Readme/Documentation
- [ ] Light Paper/Blog Post
- [ ] Demo/Tutorial

Continuity
- [ ] Developer:
- [ ] Maintainer:
- [ ] Handoff requirements:
- [ ] Support and training requirements:

Integrations
- [ ] Gaia integration
- [ ] Integration partner:
- [ ] [IBC Readiness](https://github.com/cosmos/stargate-launch/blob/master/ibc_readiness_matrix.md)
- [ ] Downstream user impact report
- [ ] Upstream partner impact report
- [ ] Inter-module dependence, e.g., pegs

Governance
- [ ] Hub governance proposal
- [ ] Core community governance
- [ ] Steering community
- [ ] Timelines and Roadmap

Research
- [ ] Working Group/Interest Group and Charter
- [ ] Questions
- [ ] Formalisms
- [ ] Experiments

Support
- [ ] Technical
- [ ] Marketing
- [ ] Education

Development
- [ ] [Integration requirements](https://github.com/regen-network/regen-ledger/issues/253)
- [ ] CLI
- [ ] Testing
- [ ] Simulations
- [ ] Testing by core dev teams
- [ ] Testing by partners
- [ ] Audits
- [ ] Internal developer review
- [ ] Third-party review
- [ ] Bug bounty
- [ ] Networks
- [ ] Testnets
- [ ] Productionnets
- [ ] Mainnets
39 changes: 39 additions & 0 deletions .github/PULL_REQUEST/general.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Pull Request
about: Create a PR.

---
<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

Closes: #XXX

## Description

<!-- Add a description of the changes that this PR introduces and the files that
are the most critical to review.
-->

______

For contributor use:

- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/kitools/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules/structure.md).
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/kitools/blob/main/CONTRIBUTING.md#testing)
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
- [ ] Re-reviewed `Files changed` in the Github PR explorer

______

For admin use:

- [ ] Added appropriate labels to PR (ex. `WIP`, `R4R`, `docs`, etc)
- [ ] Reviewers assigned
- [ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" ([coding standards](https://github.com/tendermint/coding/blob/main/README.md#merging-a-pr))
33 changes: 33 additions & 0 deletions .github/PULL_REQUEST/governance-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Governance Proposal
about: Share and receive feedback on a governance proposal!
Title: "Proposal: "
labels: governance
---

<!-- < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < ☺
v ✰ Thanks for creating a Governance Proposal PR! ✰
v Before smashing the submit button please review the checkboxes.
v If a checkbox is n/a - please still include it but + a little note why
☺ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -->

## Description

<!-- Include the short (~200 word) description of the governance proposal being considered.-->

______

For contributor use:

- [ ] Included all files in folder in `docs/governance/proposals/` using {year-month-proposal name}
- Proposal written in markdown titled `README.md`
- On-chain proposal draft titled `proposal.json`
- [ ] Used the [governance proposal template](https://github.com/cosmos/kitools/blob/main/docs/governance/proposals/proposal-template.md) and [on-chain proposal template](https://github.com/cosmos/kitools/blob/main/docs/governance/proposals/proposal-template.json).

______

For admin use:

- [ ] Added appropriate labels to PR (ex. `WIP`, `R4R`, `docs`, etc)
- [ ] Reviewers assigned
- [ ] Squashed all commits, uses message "Merge pull request #XYZ: [title]" ([coding standards](https://github.com/tendermint/coding/blob/main/README.md#merging-a-pr))
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ ______

For contributor use:

- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/gaia/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] Targeted PR against correct branch (see [CONTRIBUTING.md](https://github.com/cosmos/kitools/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Code follows the [module structure standards](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules/structure.md).
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/gaia/blob/main/CONTRIBUTING.md#testing)
- [ ] Wrote unit and integration [tests](https://github.com/cosmos/kitools/blob/main/CONTRIBUTING.md#testing)
- [ ] Updated relevant documentation (`docs/`) or specification (`x/<module>/spec/`)
- [ ] Added relevant `godoc` [comments](https://blog.golang.org/godoc-documenting-go-code).
- [ ] Added a relevant changelog entry to the `Unreleased` section in `CHANGELOG.md`
Expand Down
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: "/docs"
schedule:
interval: daily
open-pull-requests-limit: 10
reviewers:
- fadeev
- package-ecosystem: gomod
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- dependencies
12 changes: 12 additions & 0 deletions .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Check Markdown links
on:
schedule:
- cron: '* */24 * * *'
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: gaurav-nelson/[email protected]
with:
folder-path: "docs"
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Lint
# Lint runs golangci-lint over the entire Gaia repository
# This workflow is run on every pull request and push to main
# The `golangci` job will pass without running if no *.{go, mod, sum} files have been modified.
on:
pull_request:
push:
branches:
- main
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@v2
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.42.1
args: --timeout 10m
github-token: ${{ secrets.github_token }}
if: "env.GIT_DIFF != ''"
84 changes: 84 additions & 0 deletions .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Release Sims
on:
pull_request:
branches:
- "rc**"

jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/[email protected]
- run: |
make build
newbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
go-version: 1.17
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary

install-runsim:
runs-on: ubuntu-latest
needs: build
steps:
- name: install runsim
run: |
export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary

test-sim-multi-seed-long:
runs-on: ubuntu-latest
needs: [build, install-runsim]
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test-sim-multi-seed-long
run: |
make test-sim-multi-seed-long
test-sim-nondeterminism:
runs-on: ubuntu-latest
needs: newbuild
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: 1.16
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: "env.GIT_DIFF != ''"
- name: test nondeterminism
run: |
make test-sim-nondeterminism
if: "env.GIT_DIFF != ''"
43 changes: 43 additions & 0 deletions .github/workflows/sim-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: SimLabeled
on:
pull_request:
types: [ labeled ]

jobs:
cleanup-runs:
runs-on: ubuntu-latest
steps:
- uses: rokroskar/workflow-run-cleanup-action@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"

newbuild:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
go-version: 1.16
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary

test-sim-nondeterminism-labeled:
if: ${{ github.event.label.name == 'sim' }}
runs-on: ubuntu-latest
needs: newbuild
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: 1.16
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test nondeterminism
run: |
make test-sim-nondeterminism
Loading

0 comments on commit 9cf0f9c

Please sign in to comment.