This commit is contained in:
0xmuralik 2022-10-27 14:49:15 +05:30
parent e119d27ca0
commit bdb0586e01
4 changed files with 32 additions and 33 deletions

View File

@ -102,35 +102,35 @@ jobs:
make test-integration make test-integration
if: env.GIT_DIFF if: env.GIT_DIFF
integration_tests: # integration_tests:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- uses: cachix/install-nix-action@v18 # - uses: cachix/install-nix-action@v18
- uses: cachix/cachix-action@v11 # - uses: cachix/cachix-action@v11
with: # with:
name: ethermint # name: ethermint
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" # signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
- uses: technote-space/get-diff-action@v6.1.1 # - uses: technote-space/get-diff-action@v6.1.1
with: # with:
PATTERNS: | # PATTERNS: |
**/**.sol # **/**.sol
**/**.go # **/**.go
go.mod # go.mod
go.sum # go.sum
tests/integration_tests/** # tests/integration_tests/**
- name: Run integration tests # - name: Run integration tests
run: make run-integration-tests # run: make run-integration-tests
if: env.GIT_DIFF # if: env.GIT_DIFF
- name: 'Tar debug files' # - name: 'Tar debug files'
if: failure() # if: failure()
run: tar cfz debug_files.tar.gz -C /tmp/pytest-of-runner . # run: tar cfz debug_files.tar.gz -C /tmp/pytest-of-runner .
- uses: actions/upload-artifact@v3 # - uses: actions/upload-artifact@v3
if: failure() # if: failure()
with: # with:
name: debug-files # name: debug-files
path: debug_files.tar.gz # path: debug_files.tar.gz
if-no-files-found: ignore # if-no-files-found: ignore
upload-cache: upload-cache:
if: github.event_name == 'push' if: github.event_name == 'push'

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"math/rand" "math/rand" // #nosec G702
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/grpc-ecosystem/grpc-gateway/runtime"

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"math/rand" "math/rand" // #nosec G702
"github.com/cerc-io/laconicd/x/bond/client/cli" "github.com/cerc-io/laconicd/x/bond/client/cli"
"github.com/cerc-io/laconicd/x/bond/keeper" "github.com/cerc-io/laconicd/x/bond/keeper"

View File

@ -4,7 +4,7 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"fmt" "fmt"
"math/rand" "math/rand" // #nosec G702
"github.com/cerc-io/laconicd/x/nameservice/client/cli" "github.com/cerc-io/laconicd/x/nameservice/client/cli"
"github.com/cerc-io/laconicd/x/nameservice/keeper" "github.com/cerc-io/laconicd/x/nameservice/keeper"
@ -94,7 +94,6 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
func (AppModule) GenerateGenesisState(simState *module.SimulationState) { func (AppModule) GenerateGenesisState(simState *module.SimulationState) {
simulation.RandomizedGenState(simState) simulation.RandomizedGenState(simState)
} }
// WeightedOperations returns the all the fee market module operations with their respective weights. // WeightedOperations returns the all the fee market module operations with their respective weights.