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

fix: resolved conflists #1

Open
wants to merge 156 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
e7d339b
resolved conflists
swelf19 Dec 27, 2021
1000063
fixed code comment
swelf19 Dec 27, 2021
9a39d5a
Minor typo (#10851)
git-sgmoore Dec 29, 2021
bfad545
Merge branch 'master' into fix/non-consistent-keyring
Dec 29, 2021
d83bdae
improved errors processing
swelf19 Dec 30, 2021
7e3c6ae
build(deps): Bump github.com/hashicorp/go-getter from 1.5.9 to 1.5.10…
dependabot[bot] Dec 31, 2021
13776a6
build(deps): Bump github.com/hashicorp/go-getter in /cosmovisor (#10835)
dependabot[bot] Jan 2, 2022
59793e6
chore: remove proto docs (#10820)
tac0turtle Jan 3, 2022
7521bcc
docs: Add docs for group module (#10800)
likhita-809 Jan 4, 2022
f8b552b
fix: create query context with requested block height (#10827)
yun-yeo Jan 4, 2022
344be86
feat: add backup path (#10649)
yaruwangway Jan 4, 2022
bdee333
refactor: move gov types to v1beta2 (#10852)
atheeshp Jan 4, 2022
401cf2f
fix(errors): test failures (#10879)
aaronc Jan 4, 2022
074c95b
chore: link go.mod's to tagged errors/v1.0.0-beta.2 go.mod (#10878)
aaronc Jan 5, 2022
28541e7
fix: Update "Group Account" naming to "Group Policy" in group module …
likhita-809 Jan 5, 2022
e974133
fee grant 2 words (#10874)
Jan 5, 2022
651ef9e
fix: fix bug when updating allowance inside AllowedMsgAllowance (#10564)
0Tech Jan 5, 2022
75f5dd7
docs: update fee grant to 2 words (#10873)
Jan 5, 2022
da92921
feat: support in-place migration ordering (#10614)
robert-zaremba Jan 5, 2022
ce70bd8
chore: fix group events proto (#10892)
aleem1314 Jan 6, 2022
a7c09a3
build(deps): Bump technote-space/get-diff-action from 5 to 6.0.1 (#10…
dependabot[bot] Jan 6, 2022
b5477df
build(deps): Bump amannn/action-semantic-pull-request (#10888)
dependabot[bot] Jan 6, 2022
60a0935
fix(cli): reset the app data (#10882)
gsk967 Jan 6, 2022
aaa61e3
feat: Add timestamp to group, group policy and member (#10883)
likhita-809 Jan 6, 2022
fbcca26
chore: remove duplicate abci metrics (#10884)
tac0turtle Jan 6, 2022
0cb7fd0
feat: full api module building alongside gogo proto files with buf sc…
aaronc Jan 6, 2022
8a75b95
build: add scripts to update all go.mod's at once (#10901)
aaronc Jan 7, 2022
b0d3ef9
fix: use full gas on overflow (#10897)
robert-zaremba Jan 7, 2022
9d757f5
fix: fixed an incorrect PR link for #10529 (#10918)
Terra854 Jan 10, 2022
c8a5ee9
updated changelog
swelf19 Jan 10, 2022
d64253f
fix: messed up api proto-gen (#10902)
aaronc Jan 11, 2022
9aef070
feat: Add genesis import/export to group module (#10659)
likhita-809 Jan 11, 2022
17279fd
fix: should revert tx when block gas limit exceeded (#10770)
yihuang Jan 11, 2022
ddf5639
ci: move test-race to its own job (#10895)
tac0turtle Jan 11, 2022
2e30929
feat(group): add units tests for msgs (#10920)
aleem1314 Jan 11, 2022
c435f44
build(deps): Bump github.com/hashicorp/go-getter in /cosmovisor (#10930)
dependabot[bot] Jan 11, 2022
6beb079
build(deps): Bump github.com/hashicorp/go-getter from 1.5.10 to 1.5.1…
dependabot[bot] Jan 11, 2022
284affb
feat: use cosmos/rocksdb rather than replace trick (#10927)
robert-zaremba Jan 11, 2022
2f335a2
Fixed typo in block module help output (#10926)
ronaldstoner Jan 11, 2022
b019083
feat: support custom mnemonics in in-process testing network (#10922)
alexanderbez Jan 12, 2022
08db287
fix: Make MulDecTruncate() return nil DecCoins when multiplier is 0 (…
evancholmberg Jan 12, 2022
42a9032
Update accounts.md (#10954)
SierraGolf Jan 17, 2022
5631c16
chore: fix proto generation (#10894)
tac0turtle Jan 17, 2022
d507980
Merge branch 'master' into fix/non-consistent-keyring
swelf19 Jan 18, 2022
931bb6e
build(deps): Bump gotest.tools/v3 from 3.0.3 to 3.1.0 in /orm (#10959)
dependabot[bot] Jan 18, 2022
43cf8eb
fix: `--max-msgs` with `generate-only` should not throw error (#10842)
atheeshp Jan 18, 2022
285db06
chore: move server.GenerateCoinKey and server.GenerateSaveCoinKey to …
robert-zaremba Jan 18, 2022
5b69911
refactor: remove x/auth vesting dependency in x/bank (#10967)
alexanderbez Jan 18, 2022
c3b197e
chore: bump submodules cosmo-sdk dep (#10969)
robert-zaremba Jan 19, 2022
a036c53
build(deps): Bump vuepress-theme-cosmos from 1.0.182 to 1.0.183 in /d…
dependabot[bot] Jan 19, 2022
ca4360a
chore: remove group go.mod (#10971)
aleem1314 Jan 19, 2022
cff9e9a
feat: make sdk.Context implement context.Context (#10941)
aaronc Jan 19, 2022
9455474
docs: ADR-40 Migration spec (#10891)
robert-zaremba Jan 19, 2022
5bfb460
chore: update 0.45 migration and support notes (#10973)
robert-zaremba Jan 19, 2022
0beadda
docs: Fix broken link in Slashing module (#10981)
philipglazman Jan 19, 2022
ad95e3d
chore: v045 cleanups for changelog and migrations (#10974)
amaury1093 Jan 20, 2022
30de6dd
build(deps): Bump github.com/prometheus/client_golang (#10975)
dependabot[bot] Jan 20, 2022
033e5f3
fix(server/cmd)!: set environment prefix (#10950)
ryanchristo Jan 20, 2022
531bf50
feat(orm): add ORM Table and Indexes (#10670)
aaronc Jan 20, 2022
fd5b97b
chore: revert some json tags (#10958)
tac0turtle Jan 20, 2022
f52d870
feat: Add simulations to group module (#10723)
blushi Jan 21, 2022
eb5b11b
feat: implement new gov msg & query servers (#10868)
cmwaters Jan 21, 2022
628547c
fix(docs): fix the issue of docs bug (#10994)
gsk967 Jan 21, 2022
eb01537
feat: add feegrant query to see allowances from a given granter (#10947)
cmwaters Jan 21, 2022
87bb06c
docs: guidelines for ValidateBasic (#10983)
robert-zaremba Jan 21, 2022
6ea2049
feat(orm): add module db (#10991)
aaronc Jan 22, 2022
96bc6a5
perf: Deduplicate bech32 encoding in bank send events (#11005)
sunnya97 Jan 24, 2022
1581289
fix: return 404 on non-existing tx (#10992)
alexanderbez Jan 24, 2022
95e65fe
feat: Add metadata field to proposal (#10989)
amaury1093 Jan 25, 2022
5622115
feat!: add protection against accidental downgrades (#10407)
aleem1314 Jan 25, 2022
d9033e0
chore: crypto/xsalsa20symmetric: remove dependency on tendermint core…
creachadair Jan 25, 2022
8133ee8
refactor: remove deprecated vote option (#10854)
atheeshp Jan 26, 2022
9606c16
feat: remove burning of deposits in gov (#11011)
tac0turtle Jan 26, 2022
006650c
feat!: enhanced grpc interface of nft module (#10709)
Jan 27, 2022
2c3943b
build(deps): Bump google.golang.org/grpc from 1.43.0 to 1.44.0 in /ap…
dependabot[bot] Jan 27, 2022
428ae3c
fix: add db module version to main go.mod (#11031)
aaronc Jan 27, 2022
3a1027c
feat: add message option extension to signal msg signers in a languag…
fdymylja Jan 28, 2022
03dcc4f
fix: add iavl-cache-size config parsing to GetConfig (#10990)
channa-figure Jan 28, 2022
20b2605
feat(orm): codegen (#11033)
technicallyty Jan 28, 2022
627748d
fix: orm go.mod
aaronc Jan 28, 2022
2251739
fix(orm): bad error messages (#11059)
aaronc Jan 28, 2022
ea30578
feat: add msg for permanent locked vesting accounts (#11019)
clevinson Jan 29, 2022
dd0d712
docs: add guidelines for registering new sign modes (#11056)
aaronc Jan 29, 2022
7baa4f3
fix: ensure tendermint-validator-set respects output flag (#11065)
alexanderbez Jan 31, 2022
24c97d5
refactor(container)!: rename Scope -> ModuleKey (#11073)
aaronc Jan 31, 2022
62d9790
feat: Add CLI for new gov proposal (#11013)
amaury1093 Jan 31, 2022
dd99727
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha6 to…
dependabot[bot] Jan 31, 2022
85e2787
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha6 to…
dependabot[bot] Jan 31, 2022
caf9dca
feat: customtendermint config (#11049)
tac0turtle Jan 31, 2022
ee75c19
build(deps): Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha6 to…
dependabot[bot] Jan 31, 2022
02dd506
fix(orm): codegen issues (#11061)
aaronc Feb 1, 2022
781f365
Merge branch 'master' into fix/non-consistent-keyring
swelf19 Feb 1, 2022
8bfbda2
build(deps): Bump github.com/prometheus/client_golang from 1.12.0 to …
dependabot[bot] Feb 1, 2022
4e8172d
feat(orm): return newly generated ID with auto-increment tables (#11040)
aaronc Feb 1, 2022
df36a6f
feat: v1beta1 gov query server (#11029)
cmwaters Feb 1, 2022
ab95455
chore: use buf ci (#11071)
tac0turtle Feb 1, 2022
077154a
fix!: remove time.now check from authz (#10447)
robert-zaremba Feb 2, 2022
0950146
refactor: gov sims to use v1beta2 (#11069)
atheeshp Feb 2, 2022
44eca54
build(deps): Bump bufbuild/buf-setup-action from 0.6.0 to 0.7.0 (#11098)
dependabot[bot] Feb 2, 2022
0efe4c7
build(deps): Bump github.com/jhump/protoreflect from 1.10.1 to 1.10.2…
dependabot[bot] Feb 2, 2022
894969b
chore: remove & add `since:` (#11094)
tac0turtle Feb 2, 2022
5126ec3
feat(orm)!: tweak API to allow pagination in generated code (#11079)
aaronc Feb 2, 2022
63a248e
feat(orm): range/prefix deletion support (#11103)
aaronc Feb 3, 2022
dbc19b3
feat: Add x/gov v043->v046 migrations (#11036)
amaury1093 Feb 3, 2022
ea51126
refactor: Use config in gov keeper (#11093)
amaury1093 Feb 3, 2022
ee6bedc
feat: Add max metadata length as a group keeper parameter (#11034)
likhita-809 Feb 3, 2022
2aed285
Merge branch 'master' into fix/non-consistent-keyring
likhita-809 Feb 3, 2022
ab226ff
revert: "remove time.now check from authz (#10447)" (#11106)
amaury1093 Feb 3, 2022
7e112c8
build(deps): Bump amannn/action-semantic-pull-request (#11110)
dependabot[bot] Feb 3, 2022
e0543a3
build(deps): Bump github.com/cosmos/cosmos-sdk in /cosmovisor (#11111)
dependabot[bot] Feb 3, 2022
888548a
fix(orm): fix broken Table.Delete method (#11112)
aaronc Feb 3, 2022
37ae08d
feat(orm): ModuleDB JSON import/export/default/validate methods (#11101)
aaronc Feb 4, 2022
b9c7fd1
feat: add `MsgWithdrawProposal` to group module (#10893)
atheeshp Feb 4, 2022
3f7e3e8
fix: remove grpc replace directive (#11089)
fdymylja Feb 4, 2022
a7fb1a1
build(deps): Bump github.com/tendermint/tendermint from 0.35.0 to 0.3…
dependabot[bot] Feb 4, 2022
8110576
feat(orm)!: return ormerrors.NotFound for Get methods in codegen (#11…
aaronc Feb 4, 2022
c00cedb
feat: introduce cosmos.app proto files as foundation for app wiring w…
aaronc Feb 4, 2022
fe9a486
docs: fix typo (#11127)
atheeshp Feb 7, 2022
2129506
fix: remove time.now check from authz (#11129)
aleem1314 Feb 7, 2022
a0a1197
fix(gov): Fix default genesis to use v1beta2 (#11131)
amaury1093 Feb 7, 2022
1944a08
feat(orm)!: ordered variable length encoding for uint32 and uint64 ty…
aaronc Feb 7, 2022
ebddeee
fix(orm): fix edge case exporting json (#11134)
aaronc Feb 7, 2022
786afb3
feat: adds pruning for feegrant (#10830)
atheeshp Feb 8, 2022
4addb73
fix: add concurrency fence on traceContext to avoid data races (#11117)
gsora Feb 8, 2022
77ac8fa
feat(orm): add mock hooks (#11135)
aaronc Feb 8, 2022
870c6e7
build(deps): Bump amannn/action-semantic-pull-request from 4.0.1 to 4…
dependabot[bot] Feb 8, 2022
d624a65
feat: add get all versions (#11124)
tac0turtle Feb 8, 2022
b12e4b2
add comment to guide the module order in SetOrderInitGenesis (#11146)
yaruwangway Feb 9, 2022
5285d16
CI: stick to v0.179.0 for cosmovisor goreleaser (#11138)
allthatjazzleo Feb 9, 2022
44d7edd
docs: update cosmovisor README (#11136)
robert-zaremba Feb 9, 2022
151c6e8
chore: fix warnings in comments/documentation of nft module (#11150)
devashishdxt Feb 9, 2022
05266d7
docs: proto generation scripts (#11133)
robert-zaremba Feb 9, 2022
ee42db7
build(deps): Bump amannn/action-semantic-pull-request (#11153)
dependabot[bot] Feb 10, 2022
acf7115
build(deps): Bump actions/setup-go from 2.1.5 to 2.2.0 (#11154)
dependabot[bot] Feb 10, 2022
b1f9a11
build(deps): Bump github.com/jhump/protoreflect from 1.10.2 to 1.10.3…
dependabot[bot] Feb 10, 2022
5859713
docs: Improve markdownlint configuration (#11104)
julienrbrt Feb 10, 2022
fa8099d
feat: add grants by grantee authz query (#10944)
cmwaters Feb 10, 2022
43b7e83
fix(cosmovisor): fix version when 'go install ...cosmovisor' (#10460)
robert-zaremba Feb 10, 2022
89739a5
cosmovisor v1.1 udpates (#11160)
robert-zaremba Feb 10, 2022
2c184d2
feat: Add percentage decision policy to x/group (#11072)
likhita-809 Feb 11, 2022
2e1c328
perf: add inplace decimal operations (#11004)
sunnya97 Feb 11, 2022
2d1686e
chore: add cosmovisor v1.1 release notes (#11162)
robert-zaremba Feb 11, 2022
a200bdf
docs: add mention of modes from 0.35 (#11167)
tac0turtle Feb 11, 2022
5fbd225
fix proto generation (#11169)
tac0turtle Feb 11, 2022
d98503b
feat: supply by denom as param (#11170)
tac0turtle Feb 11, 2022
94e6a37
fix(orm): ValidateJSON fails when tables are missing (#11174)
aaronc Feb 11, 2022
774e333
refactor!: remove 'keep-every' from pruning (#11152)
alexanderbez Feb 12, 2022
0a7b523
fix: Fix `raw_log` when ABCIMessageLog.MsgIndex is 0 (#11147)
assafmo Feb 12, 2022
f7c43a4
Merge branch 'master' into fix/non-consistent-keyring
tac0turtle Feb 14, 2022
9ff6d54
feat: Add debug pubkey-raw cli command (#11006)
sunnya97 Feb 14, 2022
875378b
refactor: Align on gov/group Proposals and Vote syntax (#11097)
amaury1093 Feb 14, 2022
0d4cb92
refactor(orm)!: rename table interfaces from Store -> Table in codege…
aaronc Feb 14, 2022
bcff89a
Merge branch 'master' into fix/non-consistent-keyring
mergify[bot] Feb 14, 2022
81e9d0b
fix: failing tests in x/group (#11184)
atheeshp Feb 14, 2022
e7066c4
docs: Code blocks in SDK docs are broken (#11189)
julienrbrt Feb 14, 2022
e74bd12
Merge branch 'master' into fix/non-consistent-keyring
likhita-809 Feb 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 0 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,3 @@ updates:
labels:
- automerge
- dependencies
- package-ecosystem: gomod
directory: "/x/group"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- automerge
- dependencies
6 changes: 3 additions & 3 deletions .github/workflows/atlas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
PATTERNS: |
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
PATTERNS: |
Expand All @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
PATTERNS: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: Check docs build
on:
pull_request:
types: [ labeled ]
paths:
- "docs/**"

jobs:
check-docs-build:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ name: "CodeQL"

on:
pull_request:
paths:
- "**.go"
push:
branches: [ master ]
paths:
- "**.go"

jobs:
analyze:
Expand Down Expand Up @@ -46,4 +50,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v1
5 changes: 3 additions & 2 deletions .github/workflows/cosmovisor-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
# get 'v*.*.*' part from 'cosmovisor/v*.*.*' and save to $GITHUB_ENV
Expand All @@ -26,7 +26,8 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
# stick to version v0.179.0(https://github.com/cosmos/cosmos-sdk/issues/11125)
version: v0.179.0
args: release --rm-dist --skip-validate
workdir: cosmovisor
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3.5.0
- uses: amannn/action-semantic-pull-request@v4.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
id: git_diff
with:
PATTERNS: |
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Buf-Push
# Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/cosmos/cosmos-sdk
# This workflow is only run when a .proto file has been changed
on:
push:
branches:
- master
paths:
- 'proto/**'

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-push-action@v1
with:
input: 'proto'
buf_token: ${{ secrets.BUF_TOKEN }}

35 changes: 19 additions & 16 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,31 @@ name: Protobuf
# This workflow is only run when a .proto file has been changed
on:
pull_request:
paths:
- 'proto/**'
push:
branches:
- master
paths:
- 'proto/**'

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@master
- uses: technote-space/get-diff-action@v5
with:
PATTERNS: |
**/**.proto
- name: lint
run: make proto-lint
if: env.GIT_DIFF
breakage:
- uses: actions/checkout@v2
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-lint-action@v1
with:
input: 'proto'

break-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: technote-space/get-diff-action@v5
- uses: actions/checkout@v2
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-breaking-action@v1
with:
PATTERNS: |
**/**.proto
- name: check-breakage
run: make proto-check-breaking
if: env.GIT_DIFF
input: 'proto'
against: 'https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},ref=HEAD~1,subdir=proto'
20 changes: 10 additions & 10 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Display go version
Expand All @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Display go version
Expand All @@ -41,12 +41,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
**/**.go
Expand All @@ -67,12 +67,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
with:
SUFFIX_FILTER: |
**/**.go
Expand All @@ -95,12 +95,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
with:
SUFFIX_FILTER: |
**/**.go
Expand All @@ -123,12 +123,12 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.5
- uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v5
- uses: technote-space/get-diff-action@v6.0.1
with:
SUFFIX_FILTER: |
**/**.go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2.1.5
uses: actions/setup-go@v2.2.0
with:
go-version: 1.17
- name: Unshallow
Expand Down
101 changes: 101 additions & 0 deletions .github/workflows/test-race.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: Tests Race
# Tests Race workflow runs unit tests with the race detector
# This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
push:
branches:
- master
jobs:
install-tparse:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
go-version: 1.17
- name: Display go version
run: go version
- name: install tparse
run: |
export GO111MODULE="on" && go get github.com/mfridman/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-tparse-binary

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/**.go
**/go.mod
**/go.sum
- name: Build
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make build

- name: Build cosmovisor
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make cosmovisor

split-test-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create a file with all core Cosmos SDK pkgs
run: go list ./... > pkgs.txt
- name: Split pkgs into 4 files
run: split -d -n l/4 pkgs.txt pkgs.txt.part.
# cache multiple
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-00"
path: ./pkgs.txt.part.00
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-01"
path: ./pkgs.txt.part.01
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-02"
path: ./pkgs.txt.part.02
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-03"
path: ./pkgs.txt.part.03

test-race:
runs-on: ubuntu-latest
needs: split-test-files
strategy:
fail-fast: false
matrix:
part: ["00", "01", "02", "03"]
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/download-artifact@v2
with:
name: "${{ github.sha }}-${{ matrix.part }}"
if: env.GIT_DIFF
- name: test & coverage report creation
run: |
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -timeout 30m -race -tags='cgo ledger test_ledger_mock'
if: env.GIT_DIFF
- uses: actions/upload-artifact@v2
with:
name: "${{ github.sha }}-${{ matrix.part }}-race-output"
path: ./${{ matrix.part }}-race-output.txt
Loading