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

Merge branch 'main' into main-v0.50 #1899

Merged
merged 69 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
64ad258
Updates to spec docs (#1773)
webbushka Dec 1, 2023
a5de58f
Remove rust upgrades (#1774)
SpicyLemon Dec 7, 2023
47925e5
Bump actions/setup-java from 3 to 4 (#1770)
dependabot[bot] Dec 7, 2023
74762db
Bump github.com/spf13/cast from 1.5.1 to 1.6.0 (#1769)
dependabot[bot] Dec 20, 2023
41cf022
Bump actions/setup-go from 4 to 5 (#1776)
dependabot[bot] Jan 4, 2024
2c04aed
Bump github.com/spf13/viper from 1.17.0 to 1.18.0 (#1777)
dependabot[bot] Jan 4, 2024
e9c025b
Bump github.com/google/uuid from 1.4.0 to 1.5.0 (#1781)
dependabot[bot] Jan 4, 2024
3ad0297
Bump github/codeql-action from 2 to 3 (#1784)
dependabot[bot] Jan 4, 2024
7957172
Bump google.golang.org/protobuf from 1.31.0 to 1.32.0 (#1790)
dependabot[bot] Jan 4, 2024
a2948a6
Bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 (#1793)
dependabot[bot] Jan 4, 2024
31014e8
Bump google.golang.org/grpc from 1.59.0 to 1.60.1 (#1794)
dependabot[bot] Jan 5, 2024
98083ba
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#1788)
dependabot[bot] Jan 5, 2024
5d1d692
Bump actions/download-artifact from 3 to 4 (#1785)
dependabot[bot] Jan 5, 2024
a6b4436
Bump github.com/spf13/viper from 1.18.0 to 1.18.2 (#1795)
dependabot[bot] Jan 8, 2024
2df3542
Adds validation checks related to the missed blocks (#1792)
Taztingo Jan 9, 2024
604269a
Remove all marker entries from send deny store when deleted (#1796)
Taztingo Jan 9, 2024
0964f0f
Bump wasmvm to v1.2.6 (from v1.2.4). (#1800)
SpicyLemon Jan 10, 2024
0c19cc8
Deprecate marker proposal transaction (#1798)
Taztingo Jan 10, 2024
8823024
Change default iavl-disable-fastnode and indexer values. (#1807)
SpicyLemon Jan 11, 2024
4d2e4d7
Bump cosmossdk.io/errors from 1.0.0 to 1.0.1 (#1806)
dependabot[bot] Jan 11, 2024
aa179d2
Mark v1.17.1 in the changelog (#1809)
SpicyLemon Jan 11, 2024
ec697ce
Allow bypassing the new warning wait period through PIO_ACKWARN env v…
SpicyLemon Jan 12, 2024
f464053
Update protos, documentation, and naming for NAVs (#1814)
Taztingo Jan 17, 2024
2d32ca6
Bump actions/cache from 3 to 4 (#1817)
dependabot[bot] Jan 24, 2024
fb5d84d
Bump github.com/google/uuid from 1.5.0 to 1.6.0 (#1819)
dependabot[bot] Jan 24, 2024
eb95a08
Add nav unit conversion to upgrade handler. (#1816)
Taztingo Jan 24, 2024
e715918
Bump google.golang.org/grpc from 1.60.1 to 1.61.0 (#1820)
dependabot[bot] Jan 24, 2024
e7615d6
Add filtering of nil events from begin blocker (#1823)
nullpointer0x00 Jan 25, 2024
c843436
Allow groups to force transfer. (#1821)
Taztingo Jan 26, 2024
1342662
Support setting a nav attribute on metadata scopes (#1791)
nullpointer0x00 Jan 26, 2024
a70ac0c
Exchange Commitments (#1812)
SpicyLemon Jan 30, 2024
a85e8b0
Mark v1.18.0-rc1 in the changelog. (#1826)
SpicyLemon Jan 30, 2024
f49879f
Bump codecov/codecov-action from 3 to 4 (#1828)
dependabot[bot] Feb 2, 2024
6353b11
Bump peter-evans/create-pull-request from 5.0.2 to 6.0.0 (#1827)
dependabot[bot] Feb 2, 2024
ee8132d
Bump bufbuild/buf-setup-action from 1.28.1 to 1.29.0 (#1825)
dependabot[bot] Feb 2, 2024
1b0e933
Require new force_transfer access to do forced transfers. (#1831)
SpicyLemon Feb 9, 2024
017bc7b
Add exchange commitments to CLI. (#1830)
SpicyLemon Feb 9, 2024
f51ef6e
Update msg-fees param nhash per mil to 40,000,000 ($0.025/hash). (#1833)
SpicyLemon Feb 9, 2024
c656b85
Allow bid order prices to not be evenly divisible by buyer settlement…
SpicyLemon Feb 15, 2024
63d05f5
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#1842)
dependabot[bot] Feb 15, 2024
21b0ebf
Bump golangci/golangci-lint-action from 3 to 4 (#1840)
dependabot[bot] Feb 15, 2024
470e415
Bump serde-json-wasm from 0.5.1 to 0.5.2 in /testutil/contracts/echo …
dependabot[bot] Feb 15, 2024
35d2aab
Bump serde-json-wasm from 0.5.1 to 0.5.2 in /testutil/contracts/count…
dependabot[bot] Feb 15, 2024
78bb8ed
Bump serde-json-wasm from 1.0.0 to 1.0.1 in /testutil/contracts/rate-…
dependabot[bot] Feb 15, 2024
3581551
Bump github.com/rs/zerolog from 1.31.0 to 1.32.0 (#1832)
dependabot[bot] Feb 15, 2024
bf77a2e
Allow transfer agents to do exchange settlements with restricted coin…
SpicyLemon Feb 16, 2024
16fb638
Prevent restricted coins from ending up in the fee collector account.…
SpicyLemon Feb 21, 2024
e8d71f6
Bump cosmos-sdk to v0.46.13-pio-3 (from v0.46.13-pio-2). (#1848)
SpicyLemon Feb 21, 2024
c3b00b6
Use the default store loader when an upgrade doesn't need a custom on…
SpicyLemon Feb 22, 2024
887ed40
Mark v1.18.0-rc2 in the changelog. (#1854)
SpicyLemon Feb 22, 2024
1391c70
Allow force transfers from marker and market accounts. (#1855)
SpicyLemon Feb 23, 2024
bd4728d
Bump cosmossdk.io/math from 1.2.0 to 1.3.0 (#1857)
dependabot[bot] Feb 28, 2024
78f0442
Bump peter-evans/create-pull-request from 6.0.0 to 6.0.1 (#1858)
dependabot[bot] Feb 28, 2024
8bd98ae
Bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#1850)
dependabot[bot] Feb 28, 2024
abd2da1
Fix MarkerTransferAuthorization validation. (#1856)
SpicyLemon Mar 1, 2024
fad9ea0
Bump github.com/golang/protobuf from 1.5.3 to 1.5.4 (#1863)
dependabot[bot] Mar 6, 2024
b6a4398
Bump google.golang.org/grpc from 1.62.0 to 1.62.1 (#1864)
dependabot[bot] Mar 7, 2024
6af836b
Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#1860)
dependabot[bot] Mar 7, 2024
754919c
Add Payments to the Exchange module (#1868)
SpicyLemon Mar 10, 2024
ccc474b
Bump bufbuild/buf-setup-action from 1.29.0 to 1.30.0 (#1871)
dependabot[bot] Mar 10, 2024
94b1b13
Add missing dependabot changelog entries 1864, 1863, 1858, 1857, 1850…
SpicyLemon Mar 11, 2024
9303f49
Bump peter-evans/create-pull-request from 6.0.1 to 6.0.2 (#1872)
dependabot[bot] Mar 13, 2024
f14cb35
Bump IAVL to v0.20.1 (from v0.19.6) (and the sdk to v0.46.13-pio-4 fr…
SpicyLemon Mar 18, 2024
2d21a84
Add upgrade handler to add default navs for testnet markers (#1881)
nullpointer0x00 Mar 19, 2024
46c3431
Allow NAVs to have a greater volume than the marker's supply. (#1883)
SpicyLemon Mar 19, 2024
7ce0517
Mark v1.18.0-rc3 in the changelog. (#1886)
SpicyLemon Mar 19, 2024
82aa04e
v1.18.0 mainnet upgrade handler for net asset values and block height…
nullpointer0x00 Mar 22, 2024
97e71a0
Mark v1.18.0 in the changelog. (#1892)
SpicyLemon Mar 25, 2024
a46d227
Merge branch 'main' into dwedul/v50-merge-main-1
SpicyLemon Apr 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- uses: dangoslen/dependabot-changelog-helper@v3
with:
version: ${{ needs.setup.outputs.version }}
activationLabel: 'dependencies'
activationLabels: 'dependencies'
changelogPath: './CHANGELOG.md'

# This step is required for committing the changes to your branch.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -60,7 +60,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -74,4 +74,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0

- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
go.sum
.github/workflows/lint.yml
scripts/no-now-lint.sh
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: env.GIT_DIFF
with:
go-version: '1.21'
- uses: golangci/golangci-lint-action@v3
- uses: golangci/golangci-lint-action@v4
if: env.GIT_DIFF
with:
# If you change this version, be sure to also change it in contrib/devtools/Makefile.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Buf setup action
uses: bufbuild/buf-setup-action@v1.28.1
uses: bufbuild/buf-setup-action@v1.30.0
- name: Buf push 'third_party/proto'
uses: bufbuild/buf-push-action@v1
with:
Expand All @@ -54,7 +54,7 @@ jobs:
git commit -S -m "Update buf.lock to latest commit hash"
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5.0.2
uses: peter-evans/create-pull-request@v6.0.2
with:
base: main
branch: provenanceio-bot/patch-buf-lock
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Setup Job
Expand All @@ -40,7 +40,7 @@ jobs:
fi
echo "Setting output: base-branch=$branch"
echo "base-branch=$branch" >> "$GITHUB_OUTPUT"
- uses: bufbuild/buf-setup-action@v1.28.1
- uses: bufbuild/buf-setup-action@v1.30.0
- uses: bufbuild/[email protected]
if: always()
with:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ needs.build_init.outputs.go_version }}
- name: Build osx binary
Expand All @@ -77,7 +77,7 @@ jobs:
# TODO[1760]: github: Re-enable the build_osx provenanced version step.
if: false
run: build/provenanced version --long
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: osx-zip
path: build/*.zip
Expand All @@ -93,7 +93,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ needs.build_init.outputs.go_version }}
- name: Install deps
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Compile Tests
# TODO[1760]: github: Delete this build_linux Compile Tests step.
run: go test -mod=readonly -timeout 30m -tags='norace ledger test_ledger_mock' -run='ZYX_NOT_A_REAL_TEST_XZY' ./...
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: linux-zip
path: build/provenance*.zip
Expand All @@ -126,7 +126,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Buf setup action
uses: bufbuild/buf-setup-action@v1.28.1
uses: bufbuild/buf-setup-action@v1.30.0
- name: Buf push 'proto/'
uses: bufbuild/buf-push-action@v1
with:
Expand Down Expand Up @@ -168,11 +168,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ needs.build_init.outputs.go_version }}
- name: Download linux zip artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-zip
path: build/
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:
uses: actions/checkout@v4

- name: Java Setup
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rosetta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
go.sum
client/rosetta/**
.github/workflows/rosetta.yml
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: ${{ env.GIT_DIFF }}
with:
go-version: '1.21'
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
echo " file-prefix: [${{ needs.setup.outputs.file-prefix }}]"
echo "go-cache-key-suffix: [${{ needs.setup.outputs.go-cache-key-suffix }}]"
echo " go-cache-path: [${{ needs.setup.outputs.go-cache-path }}]"
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Load go cache
id: go-cache-setup
with:
Expand All @@ -83,7 +83,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev wget curl build-essential cmake gcc sqlite3
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ needs.setup.outputs.go-version }}
- name: Display go version
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Load go cache
with:
key: ${{ runner.os }}-${{ needs.setup.outputs.go-cache-key-suffix }}
Expand All @@ -122,7 +122,7 @@ jobs:
test_logs="${{ needs.setup.outputs.file-prefix }}-${{ matrix.test }}-${{ matrix.db-backend }}-${{ matrix.os }}"
echo "Setting output: test-logs=$test_logs"
echo "test-logs=$test_logs" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ needs.setup.outputs.go-version }}
- name: Display go version
Expand All @@ -149,7 +149,7 @@ jobs:
fi
fi
exit "$ec"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: ${{ steps.test-logs.outputs.test-logs }}
Expand All @@ -170,7 +170,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Load go cache
with:
key: ${{ runner.os }}-${{ needs.setup.outputs.go-cache-key-suffix }}
Expand All @@ -181,7 +181,7 @@ jobs:
test_logs="${{ needs.setup.outputs.file-prefix }}-${{ matrix.test }}-${{ matrix.db-backend }}-${{ matrix.os }}"
echo "Setting output: test-logs=$test_logs"
echo "test-logs=$test_logs" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ needs.setup.outputs.go-version }}
- name: Display go version
Expand All @@ -194,7 +194,7 @@ jobs:
export DB_BACKEND=${{ matrix.db-backend }}
make test-sim-${{ matrix.test }} | tee "${{ steps.test-logs.outputs.test-logs }}.txt"
exit "${PIPESTATUS[0]}"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: ${{ steps.test-logs.outputs.test-logs }}
Expand All @@ -214,7 +214,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Load go cache
with:
key: ${{ runner.os }}-${{ needs.setup.outputs.go-cache-key-suffix }}
Expand All @@ -225,7 +225,7 @@ jobs:
test_logs="${{ needs.setup.outputs.file-prefix }}-${{ matrix.test }}-${{ matrix.os }}"
echo "Setting output: test-logs=$test_logs"
echo "test-logs=$test_logs" >> "$GITHUB_OUTPUT"
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ needs.setup.outputs.go-version }}
- name: Display go version
Expand All @@ -237,7 +237,7 @@ jobs:
set -x
make test-sim-${{ matrix.test }} | tee "${{ steps.test-logs.outputs.test-logs }}.txt"
exit "${PIPESTATUS[0]}"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: ${{ steps.test-logs.outputs.test-logs }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo "file-prefix=$file_prefix" >> "$GITHUB_OUTPUT"
- name: Create a file with all the pkgs
run: go list ./... > pkgs.txt
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "${{ steps.def-vars.outputs.file-prefix }}-pkgs.txt"
path: ./pkgs.txt
Expand All @@ -52,19 +52,19 @@ jobs:
grep -vF -e 'github.com/provenance-io/provenance/x/marker/simulation' pkgs.txt > pkgs.txt.tmp
split -d -n l/3 pkgs.txt.tmp pkgs.txt.part.
printf 'github.com/provenance-io/provenance/x/marker/simulation\n' > pkgs.txt.part.03
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "${{ steps.def-vars.outputs.file-prefix }}-pkgs.txt.part.00"
path: ./pkgs.txt.part.00
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "${{ steps.def-vars.outputs.file-prefix }}-pkgs.txt.part.01"
path: ./pkgs.txt.part.01
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "${{ steps.def-vars.outputs.file-prefix }}-pkgs.txt.part.02"
path: ./pkgs.txt.part.02
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: "${{ steps.def-vars.outputs.file-prefix }}-pkgs.txt.part.03"
path: ./pkgs.txt.part.03
Expand All @@ -91,19 +91,19 @@ jobs:
with:
# CodeCov requires fetch-depth > 1
fetch-depth: 2
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: needs.setup-tests.outputs.should-run
with:
go-version: ${{ needs.setup-tests.outputs.go-version }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-pkgs.txt.part.${{ matrix.part }}"
- name: test & coverage report creation
if: needs.setup-tests.outputs.should-run
run: |
cat pkgs.txt.part.${{ matrix.part }} | xargs go test -mod=readonly -timeout 30m -coverprofile=${{ matrix.part }}profile.out -covermode=atomic -tags='norace ledger test_ledger_mock'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-${{ matrix.part }}-coverage"
Expand All @@ -123,19 +123,19 @@ jobs:
with:
# CodeCov requires fetch-depth > 1
fetch-depth: 2
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-00-coverage"
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-01-coverage"
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-02-coverage"
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-03-coverage"
Expand All @@ -155,7 +155,7 @@ jobs:
echo "Excluding ${filename} from coverage report..."
sed -i.bak "/$(echo $filename | sed 's/\//\\\//g')/d" coverage.txt
done
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
if: needs.setup-tests.outputs.should-run
with:
file: ./coverage.txt
Expand All @@ -175,11 +175,11 @@ jobs:
LD_LIBRARY_PATH: /usr/local/lib:/usr/local/lib/x86_64-linux-gnu
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
if: needs.setup-tests.outputs.should-run
with:
go-version: ${{ needs.setup-tests.outputs.go-version }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-pkgs.txt.part.${{ matrix.part }}"
Expand All @@ -188,7 +188,7 @@ jobs:
run: |
xargs --arg-file=pkgs.txt.part.${{ matrix.part }} go test -mod=readonly -timeout 30m -race -tags='cgo ledger test_ledger_mock' | tee ${{ matrix.part }}-race-output.txt
exit "${PIPESTATUS[0]}"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: needs.setup-tests.outputs.should-run
with:
name: "${{ needs.setup-tests.outputs.file-prefix }}-${{ matrix.part }}-race-output"
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ linters-settings:
- github.com/stretchr/testify/assert
- github.com/stretchr/testify/suite

- github.com/cometbft/cometbft-db

- github.com/tendermint/tendermint
- github.com/tendermint/tm-db

Expand Down
Loading
Loading