-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactored the claim module (#42)
* feat: add claim module * chore: fix the lint issue * fix: fix the proto issues 1. Change the proto generation with buf 2. Change the `proto-lint` in `Makefile` * trying to fix proto breaking ci cd * trying to fix proto breaking ci cd * trying to fix proto breaking ci cd * trying to fix proto breaking ci cd * trying to fix proto breaking ci cd * trying to fix proto breaking ci cd * trying to fix proto breaking ci cd * fix: fix the app testing * chore: add claim module account on initGenesis time * chore: address the pr comments * feat: add claim_records to claim module 1. Add claim records 2. Add claim module params 3. Add claim module keeper functions for airdrop 4. Add grpc_query and cli query for claim module of claim records * chore: removed `Actions` from proto enum 1. Removed airdrop actions enum 2. Add airdrop actions as a enum in types * chore: fix the `swagger` api doc route * chore: try to fix upload test coverage report * test: added genesis test for claim module * chore: remove burner, staking permission for claim module * test: add cli and grpc tests for claim module * fix: fix the test coverage upload * feat: add claim module actions and txns * fix: fix the build issue * test: fix the test issue * feat: add antehandler 1. skip the tx fee checking for MsgClaim transactions * fix: fix the staking hooks for airdrop * feat: add airdrop for proposal vote * fix: fix the gov hooks * fix gomod * refactor: refactored the claim module 1. add only initial_claim action to get all claim amount * chore: removed ante handlers * chore: removed ante handlers test and fee Co-authored-by: anilCSE <[email protected]>
- Loading branch information
Showing
63 changed files
with
7,937 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ jobs: | |
golangci: | ||
name: golangci-lint | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 6 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/[email protected] | ||
|
@@ -20,9 +19,10 @@ jobs: | |
**/**.go | ||
go.mod | ||
go.sum | ||
- uses: golangci/golangci-lint-action@master | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v2 | ||
with: | ||
version: v1.28 | ||
args: --timeout 10m | ||
github-token: ${{ secrets.github_token }} | ||
version: latest | ||
args: --out-format=tab | ||
skip-go-installation: true | ||
if: env.GIT_DIFF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,8 @@ jobs: | |
**/**.go | ||
go.mod | ||
go.sum | ||
- name: run tests and generate coverage | ||
run: make test-cover | ||
- name: run all tests and generate coverage | ||
run: go test -v -mod=readonly -timeout 30m -coverprofile=coverage.txt -tags='norace' -covermode=atomic `go list ./... | grep -v simapp` | ||
if: env.GIT_DIFF | ||
- name: Upload codecov report | ||
uses: codecov/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.