Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
da0c391
modify vote type on proto
antstalepresh Oct 27, 2020
09a282d
basic migration for SubVote type
antstalepresh Oct 27, 2020
c504784
Fix build errors and tests after struct modification
antstalepresh Oct 28, 2020
0cb2c70
add subvotes parser from string
antstalepresh Oct 29, 2020
7e87b5d
add cli, grpc, keeper test for new split vote
antstalepresh Oct 29, 2020
e7d3549
fix lint issues
antstalepresh Oct 29, 2020
fe0d0a5
add comment for SubVote proto
antstalepresh Oct 29, 2020
b3d86e1
update msg vote validate basic and test
antstalepresh Oct 29, 2020
a59ac3e
fix integration and rest test
antstalepresh Oct 29, 2020
73c757d
refactor SubVote to WeightedVoteOption && add utility for NewNonSplit…
antstalepresh Oct 30, 2020
5a08258
Remove Div operation on tally() considering sum(Weight)=1
antstalepresh Oct 30, 2020
ee1988a
split MsgVote and MsgWeightedVote for backwards compatibility
antstalepresh Nov 3, 2020
350f88c
fix lint issues
antstalepresh Nov 3, 2020
eb992a4
Merge branch 'master' of https://github.com/sikkatech/cosmos-sdk into…
antstalepresh Nov 3, 2020
381d1b0
fix deprecated function use after merging cosmos master
antstalepresh Nov 3, 2020
2671482
Merge pull request #39 from antstalepresh/gov_split_vote
antstalepresh Nov 4, 2020
138ae17
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Nov 6, 2020
e239504
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Nov 16, 2020
9635a99
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Nov 26, 2020
7fc5e3e
codecs: rename MakeCodecs rename and docs update (#8245)
robert-zaremba Jan 7, 2021
51e7e91
fix GET /upgrade/current query (#8280)
aleem1314 Jan 8, 2021
2e8f5e5
[docs] x/mint - general audit and cleanup (#8267)
aleem1314 Jan 8, 2021
0df0626
Generic 02-client cli cmds, removes light client specific ones (#8259)
colin-axner Jan 8, 2021
3257618
build(deps): bump github.com/armon/go-metrics from 0.3.5 to 0.3.6 (#8…
dependabot[bot] Jan 8, 2021
5113eff
v0.40.0 Changelog backport & docs publish (#8285)
clevinson Jan 9, 2021
2c611b5
8058 fix zero time checks (#8282)
robert-zaremba Jan 9, 2021
81bc447
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Jan 10, 2021
5b0b323
remove old adr
sunnya97 Jan 10, 2021
6d2dfff
build(deps): bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 (#8291)
dependabot[bot] Jan 11, 2021
834688f
build(deps): bump gaurav-nelson/github-action-markdown-link-check (#8…
dependabot[bot] Jan 11, 2021
8ac3bd2
x/{auth, bank, distr} docs basic cleanup (#8268)
atheeshp Jan 11, 2021
a64bd8c
[docs] x/crisis - general audit and cleanup (#8269)
aleem1314 Jan 11, 2021
4fa9e98
fix reproducible builds (#8300)
Jan 11, 2021
9d67526
Fix sequence value in auth sign signature only (#8287)
sahith-narahari Jan 12, 2021
40ce5a3
fix library file path (#8301)
Jan 12, 2021
a517c6b
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Jan 12, 2021
046b1a4
deps: bump tendermint to v0.34.2 (#8316)
fedekunze Jan 12, 2021
ef35ba6
add cosmovisot to running a node (#8320)
jgimeno Jan 13, 2021
b4bc63d
Chain Upgrade Guide: new_v040_genesis.json (#8313)
Jan 13, 2021
eafd1bc
x/gov docs basic cleanup (#8279)
atheeshp Jan 13, 2021
df7f0b2
docs: deploy to github pages (#8321)
tac0turtle Jan 13, 2021
ba96bbe
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Jan 13, 2021
2a2c2ec
ADR 030: Authorization Module (#7105)
aaronc Jan 13, 2021
334b223
build(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0 (#8…
dependabot[bot] Jan 14, 2021
1b1dbf8
x/params docs general audit & cleanup (#8295)
blushi Jan 15, 2021
2521964
Update gogo proto deps with v1.3.2 security fixes (#8350)
aaronc Jan 15, 2021
df95ca8
Update ga id (#8351)
lovincyrus Jan 15, 2021
d39c42c
Robert/docs slashing (#8329)
robert-zaremba Jan 15, 2021
43840f4
Revisions to Unfreezing Clients via Governance ADR (#8343)
colin-axner Jan 16, 2021
afda621
docs: Remove deprecated "Interfaces" section (#8294)
amaury1093 Jan 18, 2021
411b04d
Fix ibc client (#8341)
SegueII Jan 18, 2021
e957fad
build(deps): bump vuepress-theme-cosmos from 1.0.179 to 1.0.180 in /d…
dependabot[bot] Jan 18, 2021
ce5db9e
fix proto generation (#8361)
tac0turtle Jan 18, 2021
d84ca99
simapp: add testnet instructions (#8342)
tessr Jan 18, 2021
e8d47bb
fix: wrappedError.Is (#8355)
robert-zaremba Jan 18, 2021
01eec66
x/bank: client denom metadata gRPC (#8317)
fedekunze Jan 18, 2021
b771eff
gRPC-web proxy (#8077)
aleem1314 Jan 18, 2021
99aaa5c
Add missing unpack interfaces functions to IBC (#8359)
colin-axner Jan 18, 2021
619f0a2
Update changelog (#8371)
colin-axner Jan 19, 2021
7539a60
proto: docker deployment (#8367)
tac0turtle Jan 19, 2021
a6c3c5d
update to tendermint v0.34.3 (#8388)
Jan 19, 2021
99c7a2c
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Jan 19, 2021
3edb714
simapp: add testnet instructions (#8342)
tessr Jan 18, 2021
21575b0
fix: wrappedError.Is (#8355)
robert-zaremba Jan 18, 2021
48006b4
x/bank: client denom metadata gRPC (#8317)
fedekunze Jan 18, 2021
0460f98
gRPC-web proxy (#8077)
aleem1314 Jan 18, 2021
116769b
Add missing unpack interfaces functions to IBC (#8359)
colin-axner Jan 18, 2021
72572ba
Update changelog (#8371)
colin-axner Jan 19, 2021
420037c
proto: docker deployment (#8367)
tac0turtle Jan 19, 2021
4279f3c
update to tendermint v0.34.3 (#8388)
Jan 19, 2021
cc15a2d
GetClientContextFromCmd -> GetClientTxContext
sunnya97 Jan 19, 2021
e94018a
fix merge bugs
sunnya97 Jan 19, 2021
be40971
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Jan 19, 2021
3d2896a
Update changelog after 0.40.1 release (#8394)
robert-zaremba Jan 20, 2021
d4e63ff
IBC Upgrade docs (#8298)
AdityaSripal Jan 20, 2021
d226254
docs: add enhanceApp.js to .vuepress for redirects (#8354)
lovincyrus Jan 21, 2021
57f5e96
Rosetta API implementation (#7695)
sahith-narahari Jan 21, 2021
78703f1
remove any.ClearCachedValue method (#8402)
robert-zaremba Jan 21, 2021
f9ee39f
Reorder IBC channel callbacks (#8404)
colin-axner Jan 21, 2021
5ed1151
[appd] fix: gRPC web address default flag value (#8399)
fdymylja Jan 22, 2021
31fdee0
build(deps): bump github.com/tendermint/cosmos-rosetta-gateway (#8408)
dependabot[bot] Jan 22, 2021
7d4f7f9
x/bank: balance and metadata validation (#8417)
fedekunze Jan 23, 2021
bdd7fa9
simapp: increase supply balance when adding genaccount (#8418)
fedekunze Jan 24, 2021
56ed27a
use @aaronc's suggested proto upgrade method
sunnya97 Jan 22, 2021
b125fcc
MsgWeightedVote -> MsgVoteWeighted
sunnya97 Jan 25, 2021
c95de9c
implement x/authz module (#7629)
aleem1314 Jan 25, 2021
50b4be9
Fix query signing infos command (#8427)
chengwenxi Jan 26, 2021
09b8f77
ibc: MsgTransfer amino JSON, commits from @fedekunze (#8437)
colin-axner Jan 26, 2021
ce11c90
avoid login when in PR (#8449)
tac0turtle Jan 27, 2021
fd04f41
ibc-transfer: fix non-deterministic attribute value (#8442)
bluele Jan 27, 2021
e2f510a
Compatibility with the ARM architecture (#8396)
RiccardoM Jan 27, 2021
580e968
types: use proper lowercase syntax for coins in benchmarks (#8435)
odeke-em Jan 28, 2021
784a9a6
all: ensure b.ReportAllocs() in all the benchmarks (#8460)
odeke-em Jan 28, 2021
034d140
Misc documentation fixes (#8452)
hjorthjort Jan 28, 2021
c252a60
fix: bind values from env variables to flags (#8337)
troian Jan 29, 2021
3b8e0f9
store/multistore: revert a height limit increase from #8396 (#8466)
Jan 29, 2021
d97e790
Add fee grant module (#8061)
atheeshp Jan 29, 2021
d6e4a2e
fix bech32 prefix in evidence (#8461)
yihuang Jan 29, 2021
1d75e0e
bank: additional client metadata validation (#8479)
fedekunze Jan 30, 2021
8128357
snapshots: fix flaky tests (#8475)
Feb 1, 2021
896eee2
docs: Update x/staking spec (#8395)
amaury1093 Feb 1, 2021
17d7e9a
Add packet_connection attribute to packet lifecycle methods (#8458)
ethanfrey Feb 1, 2021
c1b567f
Refactor store keys for variable-length addresses (#8363)
amaury1093 Feb 1, 2021
f9da95a
Fix keyring import from older versions. (#8436)
jgimeno Feb 2, 2021
15d83f5
Add changelog (#8490)
sahith-narahari Feb 2, 2021
ce161c4
fix: tendermint subcommands should not create missing files (#8481)
michaelfig Feb 2, 2021
d37c590
Limit context background (#8093)
cyberbono3 Feb 3, 2021
2e9fd04
Remove Info Importer from legacy keybase (#8500)
sahith-narahari Feb 3, 2021
d84942c
Remove useless package-lock.json (#8506)
amaury1093 Feb 3, 2021
931af43
Finalize ADR-028 (#8398)
robert-zaremba Feb 4, 2021
2e04f27
snapshots: document use of ioutil.TempDir() (#8508)
Feb 4, 2021
0ddb704
fixing typo at 'os' backend session (#8477)
victorfrancax1 Feb 4, 2021
0af248b
Add specs for feegrant (#8496)
atheeshp Feb 4, 2021
a3757e1
ADR 038: State Listening (#8012)
i-norden Feb 5, 2021
c0c0665
build(deps): bump actions/cache from v2.1.3 to v2.1.4 (#8521)
dependabot[bot] Feb 5, 2021
b55913d
fix comments and add CHANGELOG
antstalepresh Feb 5, 2021
404dc4f
Merge branch 'master' of github.com:sikkatech/cosmos-sdk into gov_spl…
antstalepresh Feb 5, 2021
c54b3c4
cosmovisor: ln -s docs/run-node/cosmovisor.md cosmovisor/README.md (#…
Feb 5, 2021
46d6fa0
fix simulation test, marshal json process
antstalepresh Feb 5, 2021
c5c049a
Persist evidence in equivocation handler (#8502)
sahith-narahari Feb 5, 2021
8001e3c
bank: don't ignore errors returned by Balance.GetAddress() (#8531)
Feb 6, 2021
bb85a69
Fix typo in context and node docs (#8533)
wonderfan Feb 8, 2021
816306b
build(deps): bump github.com/improbable-eng/grpc-web (#8536)
dependabot[bot] Feb 8, 2021
157a246
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Feb 9, 2021
011e75b
Update chain-upgrade-guide-040.md (#8326)
Feb 9, 2021
41f3c05
build(deps): bump github.com/tendermint/tm-db from 0.6.3 to 0.6.4 (#8…
dependabot[bot] Feb 10, 2021
926ef34
build(deps): bump JamesIves/github-pages-deploy-action from 3.7.1 to …
dependabot[bot] Feb 10, 2021
7baf715
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.2 (#8554)
dependabot[bot] Feb 10, 2021
9ca52f4
Update cosmovisor.md (#8552)
okwme Feb 10, 2021
065c1b3
Apply suggestions from code review
sunnya97 Feb 10, 2021
dfc8dd8
Add in-place store migrations (#8485)
amaury1093 Feb 10, 2021
bddbc13
update pagination tests (#8565)
sahith-narahari Feb 11, 2021
2154815
x/authz specs (#8499)
aleem1314 Feb 11, 2021
090411a
Removed GetValidator caching to fix concurrency error (#8546)
RiccardoM Feb 12, 2021
591e46f
build(deps): bump github.com/tendermint/tendermint from 0.34.3 to 0.3…
dependabot[bot] Feb 12, 2021
fc6c678
build(deps): bump github.com/spf13/cobra from 1.1.2 to 1.1.3 (#8566)
dependabot[bot] Feb 12, 2021
e4b2d75
ibc : replace strings.Contains to bytes.Contains (#8574)
PrathyushaLakkireddy Feb 12, 2021
ac16c90
remove legacy rest endpoints as per @anilCSE
sunnya97 Feb 12, 2021
47f7502
Merge branch 'master' into gov_split_vote_weighted_vote
sunnya97 Feb 12, 2021
8847157
Update x/gov/client/utils/utils.go
sunnya97 Feb 12, 2021
188a8a2
import hygiene
sunnya97 Feb 12, 2021
a417b51
update CHANGELOG
sunnya97 Feb 12, 2021
cb725e1
Merge pull request #7802 from sikkatech/gov_split_vote_weighted_vote
sunnya97 Feb 12, 2021
d9d078f
docs: rest_grpc updates (#8582)
tac0turtle Feb 15, 2021
e306e5b
Make gRPC requests go through tendermint Query (#8549)
amaury1093 Feb 15, 2021
d162b29
Add pagination to GetValidatorSetByHeight response (#8567)
aleem1314 Feb 15, 2021
a534a96
types: use (*math/big.Int).BitLen() == 0 to check if value is 0 (#8580)
odeke-em Feb 15, 2021
b4690d8
atlas: evidence (#8561)
tac0turtle Feb 15, 2021
adbf5a7
adr-028 address generation (#8415)
robert-zaremba Feb 15, 2021
d3e51cf
Improve create proposal code (#8586)
PrathyushaLakkireddy Feb 15, 2021
47dd07d
Modify IBC client governance unfreezing to reflect ADR changes (#8405)
colin-axner Feb 16, 2021
56fc3fc
codec/types: avoid unnecessary allocations for NewAnyWithCustomTypeUR…
odeke-em Feb 17, 2021
f970056
crypto/hd: make DerivePrivateKeyForPath error and not panic on traili…
odeke-em Feb 17, 2021
d56de85
x/gov/simulation: fix wrong NewDecodeStore Proposal decoding + proper…
odeke-em Feb 17, 2021
cc215d6
Update master CHANGELOG.md with v0.41, enable building docs for v0.41…
clevinson Feb 17, 2021
50dec2e
Add v0.41.1 section in Changelog (#8610)
amaury1093 Feb 17, 2021
0bcc402
add backport label to prs (#8609)
tac0turtle Feb 17, 2021
abb3dfe
[Bank] Remove the unsafe balance changing API (#8473)
jgimeno Feb 17, 2021
53637b6
bank: additional denom metadata test case (#8612)
fedekunze Feb 17, 2021
b4820fe
Bump tendermint to v0.34.7 (#8616)
Feb 18, 2021
73e38e4
Use service Msgs in CLI tx commands (#8512)
amaury1093 Feb 18, 2021
ef8dabc
build(deps): bump github.com/prometheus/common from 0.15.0 to 0.16.0 …
dependabot[bot] Feb 18, 2021
0135a04
add sr25519 keys sign algo
xbuidler Feb 19, 2021
af7a5d9
lint
xbuidler Feb 19, 2021
445e11d
lint
xbuidler Feb 19, 2021
532cc53
remove unused var
xbuidler Feb 19, 2021
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion build.sh → .build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set -ue
# - DEBUG

# Source builder's functions library
. /usr/local/share/cosmos-sdk/buildlib.sh
. /usr/local/share/tendermint/buildlib.sh

# These variables are now available
# - BASEDIR
Expand Down
64 changes: 0 additions & 64 deletions .circleci/config.yml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/atlas.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Atlas
# Atlas checks if a modules atlas manifest has been touched, if so it publishes the updated version
on:
push:
branches:
- master
paths:
- "x/**/atlas/*"
pull_request:
paths:
- "x/**/atlas/*"

jobs:
auth:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
PATTERNS: |
x/auth/atlas/**
- uses: marbar3778/atlas_action@main
with:
token: ${{ secrets.ATLAS_TOKEN }}
path: ./x/auth/atlas/atlas.toml
dry-run: ${{ github.event_name != 'pull_request' }}
if: env.GIT_DIFF
bank:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
PATTERNS: |
x/bank/atlas/**
- uses: marbar3778/atlas_action@main
with:
token: ${{ secrets.ATLAS_TOKEN }}
path: ./x/bank/atlas/atlas.toml
dry-run: ${{ github.event_name != 'pull_request' }}
if: env.GIT_DIFF
evidence:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
PATTERNS: |
x/evidence/atlas/**
- uses: marbar3778/atlas_action@main
with:
token: ${{ secrets.ATLAS_TOKEN }}
path: ./x/evidence/atlas/manifest.toml
dry-run: ${{ github.event_name != 'pull_request' }}
if: env.GIT_DIFF
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Documentation
# This job builds and deploys documenation to github pages.
# It runs on every push to master.
on:
push:
branches:
- master

jobs:
build-and-deploy:
runs-on: ubuntu-latest
container:
image: tendermintdev/docker-website-deployment
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
with:
persist-credentials: false
fetch-depth: 0

- name: Install and Build 🔧
run: |
apk add rsync
make build-docs LEDGER_ENABLED=false

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: ~/output
2 changes: 1 addition & 1 deletion .github/workflows/linkchecker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.11
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.12
with:
folder-path: "docs"
46 changes: 46 additions & 0 deletions .github/workflows/proto-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build & Push SDK Proto Builder
on:
pull_request:
push:
branches:
- master
paths:
- "contrib/devtools/dockerfile"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=tendermintdev/sdk-proto-gen
VERSION=noop
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
elif [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
if [ "${{ github.event.repository.default_branch }}" = "$VERSION" ]; then
VERSION=latest
fi
fi
TAGS="${DOCKER_IMAGE}:${VERSION}"
echo ::set-output name=tags::${TAGS}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
if: ${{ github.event_name != 'pull_request' }}
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUBTM_USERNAME }}
password: ${{ secrets.DOCKERHUBTM_TOKEN }}

- name: Publish to Docker Hub
uses: docker/build-push-action@v2
with:
context: ./contrib/devtools
file: ./contrib/devtools/dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
4 changes: 2 additions & 2 deletions .github/workflows/release-sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: install runsim
run: |
export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -40,7 +40,7 @@ jobs:
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: go version
- name: Install runsim
run: export GO111MODULE="on" && go get github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand All @@ -60,7 +60,7 @@ jobs:
**/**.go
go.mod
go.sum
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
Expand Down
41 changes: 39 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,31 @@ jobs:
- name: install tparse
run: |
export GO111MODULE="on" && go get github.com/mfridman/tparse@v0.8.3
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-tparse-binary

build:
runs-on: ubuntu-latest
strategy:
matrix:
go-arch: ["amd64", "arm", "arm64"]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2.1.3
with:
go-version: 1.15
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Build
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make build

test-cosmovisor:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -188,6 +208,23 @@ jobs:
name: "${{ github.sha }}-${{ matrix.part }}-race-output"
path: ./${{ matrix.part }}-race-output.txt

test-rosetta:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v4
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: test rosetta
run: |
make test-rosetta
# if: env.GIT_DIFF

race-detector-report:
runs-on: ubuntu-latest
needs: [test-race, install-tparse]
Expand Down Expand Up @@ -217,7 +254,7 @@ jobs:
with:
name: "${{ github.sha }}-03-race-output"
if: env.GIT_DIFF
- uses: actions/cache@v2.1.3
- uses: actions/cache@v2.1.4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-tparse-binary
Expand Down
8 changes: 8 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ pull_request_rules:
merge:
method: squash
strict: true
- name: backport patches to v0.41.x branch
conditions:
- base=master
- label=backport/0.41.x (Stargate)
actions:
backport:
branches:
- release/v0.41.x
Loading