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

sdk v0.46.x, ibc v6, wasmd v0.30.0 #1126

Closed
wants to merge 133 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
a0648ee
457
faddat Aug 10, 2022
1eea90f
upgrade ci
faddat Aug 10, 2022
8fa0d2a
go get -> go install
faddat Aug 10, 2022
e637cf5
change denom to new format
faddat Aug 10, 2022
ac326d6
Update config.yml
faddat Aug 10, 2022
2ef630d
Revert "change denom to new format"
faddat Aug 10, 2022
3a778d0
bump ibc-go to v3.2.x
faddat Aug 10, 2022
7d34510
Update config.yml
faddat Aug 10, 2022
6478e53
but not done
faddat Aug 13, 2022
271525b
TestInitGenesis fails
faddat Aug 13, 2022
b12a8e6
use gofumpt
faddat Aug 13, 2022
6c3bf4d
some minor fix
vuong177 Aug 13, 2022
6222f2b
Update config.yml
faddat Aug 13, 2022
e54fdb1
linting
faddat Aug 13, 2022
fa9eca6
Merge branch 'fifth-46' of https://github.com/notional-labs/wasmd int…
faddat Aug 13, 2022
a5b9406
Setifexists
faddat Aug 13, 2022
85d69f0
fix wasm export
vuong177 Aug 13, 2022
d6d7c8f
SetInterfaceRegistry
vuong177 Aug 15, 2022
1ef5732
fix gas limit
vuong177 Aug 15, 2022
b152460
nil srcExp
vuong177 Aug 16, 2022
e181321
govv1
vuong177 Aug 16, 2022
ac263a1
govv1 in TestQueryContractInfo
vuong177 Aug 16, 2022
212d837
snapshot test
vuong177 Aug 17, 2022
60e99a9
fix gas in test, v1beta -> v1
vuong177 Aug 17, 2022
7c4e412
govv1 in encoding test
vuong177 Aug 17, 2022
63649c2
fix wasm.go
vuong177 Aug 17, 2022
d1bf255
with valset in bench
vuong177 Aug 17, 2022
a73880a
sdk v0.46.1 and tm v0.34.21
faddat Aug 25, 2022
6aba2d2
Merge remote-tracking branch 'upstream/main' into sixth-46
faddat Aug 25, 2022
ac0422e
automatic fixes from "golangci-lint run ./... --fix"
faddat Aug 25, 2022
9fd778e
bump ica
faddat Aug 25, 2022
6bb783a
fix proposal integration test: line 178 shoud be require.Error
faddat Aug 25, 2022
fcc3045
merge main
faddat Aug 30, 2022
34c4df1
ibc 5-rc1
faddat Aug 30, 2022
91cba51
turbo 46
faddat Sep 7, 2022
f452fd1
turbo46
faddat Sep 7, 2022
bf73451
Revert "turbo 46"
faddat Sep 10, 2022
0cf56ad
Revert "turbo46"
faddat Sep 10, 2022
734956f
merge but with a few test issues
faddat Sep 10, 2022
5354d3f
fix flagproposaltype
faddat Sep 10, 2022
44c1674
update
faddat Sep 11, 2022
5df3568
use keyed fields
faddat Sep 12, 2022
e6dc930
Merge remote-tracking branch 'upstream/main' into fifth-46
faddat Sep 15, 2022
e3aad1b
bank keeper
faddat Sep 15, 2022
f6e02fd
fix test genesis with valset
vuong177 Sep 15, 2022
427e367
gov address
vuong177 Sep 16, 2022
459cefa
gas in test
vuong177 Sep 18, 2022
654fddb
comment out permission keeper
faddat Sep 23, 2022
bde6aa3
ibc-go v5.0.0
faddat Sep 28, 2022
8adfdb3
update gas per suggestion
faddat Sep 28, 2022
688b984
bring branch up to date with ibc-go v5.0.0
faddat Sep 28, 2022
f416cd0
attempt to fix remaining bug
faddat Sep 28, 2022
8c2f0a0
bump iavl & sdk
faddat Oct 11, 2022
ad22b4f
v0.46.3
faddat Oct 22, 2022
995f928
Merge remote-tracking branch 'upstream/main' into fifth-46
faddat Oct 22, 2022
bc196c1
1.18
faddat Oct 22, 2022
dbbbfaa
setup wasm app with val set
vuong177 Oct 22, 2022
b385d2d
ibc v5.0.1
faddat Oct 28, 2022
d4a563f
Merge remote-tracking branch 'upstream/main' into fifth-46
faddat Nov 7, 2022
ecddb31
Update gov_tx.go
ravaliGangasani Nov 8, 2022
e4a2bfb
Update changelog
alpe Nov 8, 2022
7cbc85c
Revert "Merge remote-tracking branch 'upstream/main' into fifth-46"
faddat Nov 8, 2022
0abadd1
Merge tag 'v0.29.2' into fifth-46
faddat Nov 8, 2022
d6e67fd
bring ibc, sdk, iavl current
faddat Nov 14, 2022
c612161
upgrade interchain accounts demo
faddat Nov 14, 2022
87ebcdb
sdk v0.46.6
faddat Nov 19, 2022
8906c68
sdk v0.46.7
faddat Dec 3, 2022
bccbce0
use sdk v0.46.7
faddat Dec 13, 2022
a792af7
Merge tag 'v0.30.0' into sixth-46
faddat Dec 13, 2022
0a4a21a
rebuild protobufs
faddat Dec 13, 2022
40ed402
sdk 46, ibc v6, wasmd v0.30.0
faddat Dec 13, 2022
3ee6a8d
app.go fixing && ibc v6 in testing
vuong177 Dec 14, 2022
bb2db24
fix MockChannelKeeper
vuong177 Dec 14, 2022
b56f085
SendPacket Api change
vuong177 Dec 14, 2022
8428ca5
fix gov
vuong177 Dec 14, 2022
4cdc407
minor
vuong177 Dec 14, 2022
c943ccb
need found senquence
vuong177 Dec 14, 2022
f7afb24
authz fix
vuong177 Dec 14, 2022
85369d5
update golangci
faddat Dec 17, 2022
220d417
fix lints
faddat Dec 17, 2022
15b97fa
bump to latest cosmos-sdk
faddat Jan 27, 2023
8335e95
OnChanOpenInit accpected version
vuong177 Jan 28, 2023
795c06e
Bump bufbuild/buf-setup-action from 1.8.0 to 1.13.1
dependabot[bot] Jan 30, 2023
f46781c
bump libs
faddat Feb 9, 2023
064bb50
Bump github.com/cosmos/interchain-accounts from 0.4.2 to 0.4.3
dependabot[bot] Feb 9, 2023
8efe5b6
Bump github.com/cosmos/cosmos-proto from 1.0.0-alpha8 to 1.0.0-beta.1
dependabot[bot] Feb 9, 2023
46a9db1
Bump github.com/cosmos/gogoproto from 1.4.2 to 1.4.4
dependabot[bot] Feb 9, 2023
9c7303f
prepare for independent maintainership
faddat Feb 9, 2023
2a2b5ca
Merge pull request #70 from notional-labs/dependabot/go_modules/githu…
faddat Feb 9, 2023
69f2b55
Merge pull request #69 from notional-labs/dependabot/github_actions/b…
faddat Feb 9, 2023
2bc9809
Merge pull request #61 from notional-labs/dependabot/go_modules/githu…
faddat Feb 9, 2023
c3dfb70
Merge pull request #58 from notional-labs/dependabot/go_modules/githu…
faddat Feb 9, 2023
9d07718
remove circleci
faddat Feb 9, 2023
f216bee
Update .golangci.yml
faddat Feb 9, 2023
8454f5e
lint tests too
faddat Feb 9, 2023
9411074
lint fixes
faddat Feb 9, 2023
bbecfe4
linting
faddat Feb 9, 2023
a7a94df
improve test coverage
faddat Feb 9, 2023
ca366dd
no more ineffectual assignments to err
faddat Feb 9, 2023
7c01b1c
more error checks
faddat Feb 9, 2023
bd6cbd9
Merge pull request #76 from notional-labs/release/v0.30.0-sdk-v0.46.x
faddat Feb 9, 2023
58fde41
use comet
faddat Mar 4, 2023
273f0fc
46.11 and cometbft
faddat Mar 4, 2023
980037d
Merge commit '273f0fc' into HEAD
faddat Mar 17, 2023
0a28a72
cleanup
faddat Mar 17, 2023
db16c33
move tests to _test
faddat Mar 17, 2023
a550f03
move tests
faddat Mar 17, 2023
9d6d5d0
check account
faddat Mar 17, 2023
dafa3ed
fix gas register tests
faddat Mar 17, 2023
b28811d
package names
faddat Mar 17, 2023
8a39163
package names
faddat Mar 17, 2023
c5648fa
rename test_common package
faddat Mar 17, 2023
13c95aa
fix compile errors
Mar 17, 2023
a86b051
Merge branch 'sixth-46' of https://github.com/notional-labs/wasmd int…
Mar 17, 2023
fd36391
pull upstream
Mar 17, 2023
eaaee64
lint fix
faddat Mar 17, 2023
3ff6b26
remove unnecessary print
Mar 17, 2023
56433c7
Merge branch 'sixth-46' of https://github.com/notional-labs/wasmd int…
Mar 17, 2023
83b1af9
golangci-lint run ./... --fix
faddat Mar 17, 2023
bec4671
lint fixes
faddat Mar 17, 2023
1f2ea21
check errors
faddat Mar 17, 2023
69ce128
use sendpacket sequence
Mar 17, 2023
4c51b6a
Merge branch 'sixth-46' of https://github.com/notional-labs/wasmd int…
Mar 17, 2023
9ab3eb1
add missing errorsmod import
Mar 17, 2023
7cdc50d
use forked ibc-go to fix nil destination channel id
Mar 20, 2023
9307c9e
Fix test data generator
alpe Mar 15, 2023
6c9f046
fix test
Mar 20, 2023
beaacea
fix tests
faddat Mar 20, 2023
83753c6
Merge branch 'sixth-46' of https://github.com/notional-labs/wasmd int…
faddat Mar 20, 2023
eff8b83
fix dependency review CI
pysel Mar 20, 2023
3860d41
some lints
pysel Mar 20, 2023
f51b25e
go fmt ./...
pysel Mar 20, 2023
151d615
Merge pull request #104 from notional-labs/ruslan/sixth-46
pysel Mar 20, 2023
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
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
on: [push, pull_request]
name: Build

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.20.0
- run: go build ./...

tidy:
runs-on: ubuntu-latest
name: tidy
steps:
- uses: actions/checkout@v3
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: 1.20.0
- run: |
go mod tidy
CHANGES_IN_REPO=$(git status --porcelain)
if [[ -n "$CHANGES_IN_REPO" ]]; then
echo "Repository is dirty. Showing 'git status' and 'git --no-pager diff' for debugging now:"
git status && git --no-pager diff
exit 1
fi
61 changes: 61 additions & 0 deletions .github/workflows/codacy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# This workflow checks out code, performs a Codacy security scan
# and integrates the results with the
# GitHub Advanced Security code scanning feature. For more information on
# the Codacy security scan action usage and parameters, see
# https://github.com/codacy/codacy-analysis-cli-action.
# For more information on Codacy Analysis CLI in general, see
# https://github.com/codacy/codacy-analysis-cli.

name: Codacy Security Scan

on:
push:
branches: [ "main", "release/v*" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "release/v*" ]
schedule:
- cron: '24 14 * * 5'

permissions:
contents: read

jobs:
codacy-security-scan:
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
name: Codacy Security Scan
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout code
uses: actions/checkout@v3

# Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis
- name: Run Codacy Analysis CLI
uses: codacy/codacy-analysis-cli-action@d43127fe38d20c527dc1951ae5aea23148bab738
with:
# Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository
# You can also omit the token and run the tools that support default configurations
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
verbose: true
output: results.sarif
format: sarif
# Adjust severity of non-security issues
gh-code-scanning-compat: true
# Force 0 exit code to allow SARIF file generation
# This will handover control about PR rejection to the GitHub side
max-allowed-issues: 2147483647

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
40 changes: 40 additions & 0 deletions .github/workflows/codeql-cosmos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "CodeQL for cosmos"

on:
pull_request:
paths:
- "**.go"
push:
branches:
- main
- release/v*
paths:
- "**.go"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.20.0
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Build
run: make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
40 changes: 40 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "CodeQL"

on:
pull_request:
paths:
- "**.go"
push:
branches:
- main
- release/v*
paths:
- "**.go"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Build
run: make build

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
20 changes: 20 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
23 changes: 23 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Build Docker Image on PR

on:
pull_request:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build without push
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64
push: false
build-args: arch=x86_64
34 changes: 34 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: golangci-lint
on:
push:
tags:
- v*
branches:
- release/v*
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.20.0
- uses: actions/checkout@v3

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout 10m
8 changes: 4 additions & 4 deletions .github/workflows/proto-buf-publisher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
branches:
- main
paths:
- 'proto/**'
- "proto/**"

# Sequence of patterns matched against refs/tags
tags:
Expand All @@ -22,7 +22,7 @@ jobs:
# lint checks
- uses: bufbuild/buf-lint-action@v1
with:
input: 'proto'
input: "proto"

# TODO: Add this when project is more stable.
# backward compatibility breaking checks
Expand All @@ -34,5 +34,5 @@ jobs:
# publish proto files
- uses: bufbuild/buf-push-action@v1
with:
input: 'proto'
buf_token: ${{ secrets.BUF_TOKEN }}
input: "proto"
buf_token: ${{ secrets.BUF_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
on: [push, pull_request]
name: Test

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
name: test
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.20.0
- name: Checkout code
uses: actions/checkout@v3
- name: Test
run: go test ./...
9 changes: 9 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
# and commit this file to your remote git repository to share the goodness with others.

tasks:
- init: go get && go build ./... && go test ./... && make
command: go run


Loading