Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sesheffield committed Jul 25, 2024
1 parent ca2764c commit b19f97e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
- name: Load Version
id: load-version
run: |
echo "GOLANGCI_VERSION=v$(cat .golangci-version)"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand All @@ -28,6 +32,19 @@ jobs:
working-directory: ${{ github.workspace }}
if: |
contains(steps.changed-files.outputs.all_changed_files, '.go')
golang-sec:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Run Gosec Security Scanner
uses: cosmos/gosec@master
with:
args: ./...
golang-test:
name: go test
runs-on: ubuntu-latest
Expand Down Expand Up @@ -55,8 +72,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup_go
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
cache: true
- name: Go Test
run: |
mkdir -p ${{ env.COVERAGE_DIR }}
Expand Down
1 change: 1 addition & 0 deletions app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ func newCosmosAnteHandler(options cosmosHandlerOptions) sdk.AnteHandler {

var sigVerification sdk.AnteDecorator = authante.NewSigVerificationDecorator(options.AccountKeeper, options.SignModeHandler)
if options.isEIP712 {

sigVerification = evmante.NewLegacyEip712SigVerificationDecorator(options.AccountKeeper, options.SignModeHandler, options.EvmKeeper)
}

Expand Down

0 comments on commit b19f97e

Please sign in to comment.