Skip to content

Commit c20a3b1

Browse files
authored
Merge pull request #243 from celestiaorg/evan/celestia-ize-v0.46.0-release
chore: create a v0.46.0 release branch with celestia specific changes
2 parents 6035976 + 06c5688 commit c20a3b1

File tree

1,343 files changed

+34370
-486829
lines changed

Some content is hidden

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

1,343 files changed

+34370
-486829
lines changed

.github/ISSUE_TEMPLATE/module-readiness-checklist.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ This checklist is to be used for tracking the final internal audit of new Cosmos
1010

1111
### Release Candidate Checklist
1212

13-
The following checklist should be gone through once the module has been fully implemented. This audit should be performed directly on `master`, or preferably on a `alpha` or `beta` release tag that includes the module.
13+
The following checklist should be gone through once the module has been fully implemented. This audit should be performed directly on `main`, or preferably on a `alpha` or `beta` release tag that includes the module.
1414

1515
The module **should not** be included in any Release Candidate tag until it has passed this checklist.
1616

1717
- [ ] API audit (at least 1 person) (@assignee)
1818
- [ ] Are Msg and Query methods and types well-named and organized?
19-
- [ ] Is everything well documented (inline godoc as well as [`/spec/` folder](https://github.com/cosmos/cosmos-sdk/blob/master/docs/spec/SPEC-SPEC.md) in module directory)
19+
- [ ] Is everything well documented (inline godoc as well as [`/spec/` folder](https://github.com/cosmos/cosmos-sdk/blob/main/docs/spec/SPEC-SPEC.md) in module directory)
2020
- [ ] State machine audit (at least 2 people) (@assignee1, @assignee2)
2121
- [ ] Read through MsgServer code and verify correctness upon visual inspection
2222
- [ ] Ensure all state machine code which could be confusing is properly commented

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ I have...
2323

2424
- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
2525
- [ ] added `!` to the type prefix if API or client breaking change
26-
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
26+
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
2727
- [ ] provided a link to the relevant issue or specification
28-
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/master/docs/building-modules)
29-
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#testing)
28+
- [ ] followed the guidelines for [building modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/building-modules)
29+
- [ ] included the necessary unit and integration [tests](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#testing)
3030
- [ ] added a changelog entry to `CHANGELOG.md`
3131
- [ ] included comments for [documenting Go code](https://blog.golang.org/godoc)
3232
- [ ] updated the relevant documentation or specification
@@ -47,4 +47,4 @@ I have...
4747
- [ ] reviewed API design and naming
4848
- [ ] reviewed documentation is accurate
4949
- [ ] reviewed tests and test coverage
50-
- [ ] manually tested (if applicable)
50+
- [ ] manually tested (if applicable)

.github/PULL_REQUEST_TEMPLATE/docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ please add links to any relevant follow up issues.*
1515
I have...
1616

1717
- [ ] included the correct `docs:` prefix in the PR title
18-
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
18+
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
1919
- [ ] provided a link to the relevant issue or specification
20-
- [ ] followed the [documentation writing guidelines](https://github.com/cosmos/cosmos-sdk/blob/master/docs/DOC_WRITING_GUIDELINES.md)
20+
- [ ] followed the [documentation writing guidelines](https://github.com/cosmos/cosmos-sdk/blob/main/docs/DOC_WRITING_GUIDELINES.md)
2121
- [ ] reviewed "Files changed" and left comments if necessary
2222
- [ ] confirmed all CI checks have passed
2323

.github/PULL_REQUEST_TEMPLATE/other.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ please add links to any relevant follow up issues.*
1515
I have...
1616

1717
- [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
18-
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/master/CONTRIBUTING.md#pr-targeting))
18+
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/cosmos/cosmos-sdk/blob/main/CONTRIBUTING.md#pr-targeting))
1919
- [ ] provided a link to the relevant issue or specification
2020
- [ ] reviewed "Files changed" and left comments if necessary
2121
- [ ] confirmed all CI checks have passed
@@ -29,4 +29,4 @@ I have...
2929

3030
- [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
3131
- [ ] confirmed all author checklist items have been addressed
32-
- [ ] confirmed that this PR does not change production code
32+
- [ ] confirmed that this PR does not change production code

.github/workflows/codeql-analysis.yml

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ name: "CodeQL"
22

33
on:
44
pull_request:
5-
paths:
6-
- "**.go"
5+
paths:
6+
- "**.go"
7+
push:
8+
branches:
9+
- main
10+
- release/**
11+
paths:
12+
- "**.go"
713

814
jobs:
915
analyze:
@@ -15,37 +21,37 @@ jobs:
1521
security-events: write
1622

1723
steps:
18-
- name: Checkout repository
19-
uses: actions/checkout@v3
20-
- uses: actions/setup-go@v3
21-
with:
22-
go-version: 1.17
23-
# Initializes the CodeQL tools for scanning.
24-
- name: Initialize CodeQL
25-
uses: github/codeql-action/init@v1
26-
with:
27-
languages: 'go'
28-
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
29-
# If you wish to specify custom queries, you can do so here or in a config file.
30-
# By default, queries listed here will override any specified in a config file.
31-
# Prefix the list here with "+" to use these queries and those in the config file.
32-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
33-
34-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
35-
# If this step fails, then you should remove it and run the build manually (see below)
36-
- name: Autobuild
37-
uses: github/codeql-action/autobuild@v1
38-
39-
# ℹ️ Command-line programs to run using the OS shell.
40-
# 📚 https://git.io/JvXDl
41-
42-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
43-
# and modify them (or add more) to build your code if your project
44-
# uses a compiled language
45-
46-
#- run: |
47-
# make bootstrap
48-
# make release
49-
50-
- name: Perform CodeQL Analysis
51-
uses: github/codeql-action/analyze@v1
24+
- name: Checkout repository
25+
uses: actions/checkout@v3
26+
- uses: actions/setup-go@v3
27+
with:
28+
go-version: 1.18
29+
# Initializes the CodeQL tools for scanning.
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v2
32+
with:
33+
languages: "go"
34+
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
35+
# If you wish to specify custom queries, you can do so here or in a config file.
36+
# By default, queries listed here will override any specified in a config file.
37+
# Prefix the list here with "+" to use these queries and those in the config file.
38+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
39+
40+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
41+
# If this step fails, then you should remove it and run the build manually (see below)
42+
- name: Autobuild
43+
uses: github/codeql-action/autobuild@v2
44+
45+
# ℹ️ Command-line programs to run using the OS shell.
46+
# 📚 https://git.io/JvXDl
47+
48+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
49+
# and modify them (or add more) to build your code if your project
50+
# uses a compiled language
51+
52+
#- run: |
53+
# make bootstrap
54+
# make release
55+
56+
- name: Perform CodeQL Analysis
57+
uses: github/codeql-action/analyze@v2

.github/workflows/cosmovisor-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fetch-depth: 0
1414
- uses: actions/setup-go@v3
1515
with:
16-
go-version: 1.17
16+
go-version: 1.18
1717
# get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV
1818
- name: Set env
1919
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/cosmovisor/}" >> $GITHUB_ENV
@@ -24,7 +24,7 @@ jobs:
2424
git tag -d ${{ env.RELEASE_VERSION }} || echo "No such a tag exists before"
2525
git tag ${{ env.RELEASE_VERSION }} HEAD
2626
- name: Run GoReleaser
27-
uses: goreleaser/goreleaser-action@v2
27+
uses: goreleaser/goreleaser-action@v3
2828
with:
2929
# stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125)
3030
version: v0.179.0

.github/workflows/deploy-docs.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
name: Deploy docs
22
# This job builds and deploys documenation to github pages.
3-
# It runs on every push to master with a change in the docs folder.
3+
# It runs on every push to main with a change in the docs folder.
44
on:
55
push:
66
branches:
7-
- master
7+
- main
8+
- "release/**"
89
paths:
910
- "docs/**"
11+
- "x/**/*.md"
1012

1113
jobs:
1214
build-and-deploy:
15+
permissions:
16+
contents: write # for JamesIves/github-pages-deploy-action to push changes in repo
1317
runs-on: ubuntu-latest
1418
container:
1519
image: tendermintdev/docker-website-deployment
@@ -26,8 +30,8 @@ jobs:
2630
make build-docs LEDGER_ENABLED=false
2731
2832
- name: Deploy 🚀
29-
uses: JamesIves/github-pages-deploy-action@v4.3.0
33+
uses: JamesIves/github-pages-deploy-action@v4.3.3
3034
with:
3135
branch: gh-pages
32-
folder: docs/output
36+
folder: ~/output
3337
single-commit: true

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
4343
4444
- name: Set up Docker Buildx
45-
uses: docker/setup-buildx-action@v1
45+
uses: docker/setup-buildx-action@v2
4646

4747
- name: Build but do not Publish to Docker Hub
4848
uses: docker/build-push-action@v2

.github/workflows/lint-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
main:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: amannn/action-semantic-pull-request@v4.2.0
14+
- uses: amannn/action-semantic-pull-request@v4.5.0
1515
env:
1616
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Lint
22
# Lint runs golangci-lint over the entire cosmos-sdk repository
3-
# This workflow is run on every pull request and push to master
3+
# This workflow is run on every pull request and push to main
44
# The `golangci` will pass without running if no *.{go, mod, sum} files have been changed.
55
on:
66
pull_request:
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/setup-go@v3
1717
with:
18-
go-version: 1.17
18+
go-version: 1.18
1919
- uses: technote-space/get-diff-action@v6.0.1
2020
id: git_diff
2121
with:

0 commit comments

Comments
 (0)