Skip to content

Commit

Permalink
feat: apply the wasm module of lbm-sdk (#1)
Browse files Browse the repository at this point in the history
* feat: apply the wasm module of lbm-sdk from 3bdcb6ffe01c81615bedb777ca0e039cc46ef00c

* ci: add github action and change default md files.

* fix: lint errors

* chore: update changelog

* fix: codeql-analizer warning

* feat: copy `lbm.wasm.v1` proto files from lbm-sdk. And add ostracon proto files in third_party

* chore: remove comment

* chore: apply review feedback and remove replacement of lbm-sdk

* fix: fix wrong Metrics provide initiation.

* chore: apply feedback. - add new line
  • Loading branch information
zemyblue committed Jan 10, 2023
1 parent d63bea4 commit cae21ec
Show file tree
Hide file tree
Showing 224 changed files with 12,136 additions and 5,948 deletions.
220 changes: 0 additions & 220 deletions .circleci/config.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/CODEOWNERS

This file was deleted.

26 changes: 26 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->
closes: #XXXX

## Motivation and context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How has this been tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If any of the checklist items are not applicable, leave it `[ ]` and write a little note why. --->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] I followed the [contributing guidelines](https://github.com/line/lbm-sdk/blob/main/CONTRIBUTING.md) and [code of conduct](https://github.com/line/lbm-sdk/blob/main/CODE_OF_CONDUCT.md).
- [ ] I have added a relevant changelog to `CHANGELOG.md`
- [ ] I have added tests to cover my changes.
- [ ] I have updated the documentation accordingly.
- [ ] I have updated API documentation `client/docs/swagger-ui/swagger.yaml`
24 changes: 6 additions & 18 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,15 @@ updates:
interval: daily
open-pull-requests-limit: 10
ignore:
- dependency-name: github.com/CosmWasm/wasmvm
- dependency-name: github.com/line/wasmvm
versions:
- 0.14.0-beta2
- 0.14.0-beta3
- 0.14.0-beta4
- 0.14.0-beta5
- 0.14.0-rc1
- dependency-name: github.com/tendermint/tendermint
- 1.0.0-0.10.0
- dependency-name: github.com/line/ostracon
versions:
- 0.34.10
- 0.34.4
- 0.34.7
- 0.34.8
- 0.34.9
- dependency-name: github.com/cosmos/cosmos-sdk
- 1.0.7
- dependency-name: github.com/line/lbm-sdk
versions:
- 0.41.4
- 0.42.0
- 0.42.1
- 0.42.2
- 0.42.4
- 0.46.0
- dependency-name: google.golang.org/grpc
versions:
- 1.36.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: 'go'
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

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

on:
pull_request:
push:
branches:
- main

jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/setup-go@v3.5.0
with:
go-version: 1.18
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.1.2
id: git_diff
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@master
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.50.1
args: --timeout 10m
github-token: ${{ secrets.GITHUB_TOKEN }}
if: env.GIT_DIFF
34 changes: 0 additions & 34 deletions .github/workflows/proto-buf-publisher.yml

This file was deleted.

Loading

0 comments on commit cae21ec

Please sign in to comment.