Skip to content

Commit a380cdd

Browse files
authored
audit: revert to fork commit (#369)
* revert to audit fork commit * revert #340
1 parent 9f8d3c2 commit a380cdd

File tree

617 files changed

+29205
-49166
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

617 files changed

+29205
-49166
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# CODEOWNERS: https://help.github.com/articles/about-codeowners/
22

33
# Primary repo maintainers
4-
* @cosmos/interchain_inc_evm_write @cosmos/interchain_inc_evm_admin
5-
4+
* @cosmos/interchain_inc_gaia_write

.github/workflows/lint.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ name: Lint
44
# running if no *.{go, mod, sum} files have been changed.
55
on:
66
pull_request:
7-
merge_group:
8-
97

108
permissions: read-all
119

@@ -15,9 +13,10 @@ jobs:
1513
runs-on: ubuntu-latest
1614
timeout-minutes: 10
1715
steps:
16+
# Required: setup-go, for all versions v3.0.0+ of golangci-lint
1817
- uses: actions/setup-go@v5
1918
with:
20-
go-version: '1.24'
19+
go-version: '1.22'
2120
check-latest: true
2221
- uses: actions/checkout@v4
2322
- uses: technote-space/[email protected]
@@ -27,11 +26,14 @@ jobs:
2726
go.mod
2827
go.sum
2928
*.toml
30-
- name: run linting
29+
- uses: golangci/[email protected]
30+
with:
31+
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
32+
version: latest
33+
args: --timeout 10m
34+
github-token: ${{ secrets.github_token }}
35+
# Check only if there are differences in the source code
3136
if: env.GIT_DIFF
32-
id: lint_long
33-
run: |
34-
make lint-go
3537
markdown-lint:
3638
name: Run markdown-lint
3739
runs-on: ubuntu-latest

.github/workflows/security.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Run Gosec
2+
on:
3+
pull_request:
4+
permissions: read-all
5+
6+
jobs:
7+
Gosec:
8+
permissions:
9+
security-events: write
10+
11+
runs-on: ubuntu-latest
12+
env:
13+
GO111MODULE: on
14+
steps:
15+
- name: Checkout Source
16+
uses: actions/checkout@v4
17+
- name: Get Diff
18+
uses: technote-space/[email protected]
19+
with:
20+
PATTERNS: |
21+
**/*.go
22+
go.mod
23+
go.sum
24+
*.toml
25+
- name: Run Gosec Security Scanner
26+
uses: cosmos/gosec@master
27+
with:
28+
# we let the report trigger content trigger a failure using the GitHub Security features.
29+
args: "-no-fail -fmt sarif -out results.sarif ./..."
30+
if: "env.GIT_DIFF_FILTERED != ''"
31+
- name: Upload SARIF file
32+
uses: github/codeql-action/upload-sarif@v3
33+
with:
34+
# Path to SARIF file relative to the root of the repository
35+
sarif_file: results.sarif
36+
if: "env.GIT_DIFF_FILTERED != ''"

.github/workflows/solidity-test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: Solidity Test
22
on:
3-
merge_group:
43
pull_request:
54
branches:
65
- main

.github/workflows/super-linter.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow executes several linters on changed files based on languages used in your code base whenever
2+
# you push a code or open a pull request.
3+
#
4+
# You can adjust the behavior by modifying this file.
5+
# For more information, see:
6+
# https://github.com/github/super-linter
7+
---
8+
name: Lint Code Base
9+
10+
on:
11+
pull_request:
12+
permissions: read-all
13+
jobs:
14+
run-lint:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v4
19+
with:
20+
# Full git history is needed to get a proper list of changed files within `super-linter`
21+
fetch-depth: 0
22+
23+
- name: Lint Code Base
24+
uses: github/super-linter@v6
25+
env:
26+
LINTER_RULES_PATH: /
27+
YAML_CONFIG_FILE: .yamllint
28+
VALIDATE_ALL_CODEBASE: false
29+
MARKDOWN_CONFIG_FILE: .markdownlint.yml
30+
PROTOBUF_CONFIG_FILE: .protolint.yml
31+
VALIDATE_NATURAL_LANGUAGE: false
32+
VALIDATE_OPENAPI: false
33+
VALIDATE_JAVASCRIPT_STANDARD: false
34+
VALIDATE_JSCPD: false
35+
VALIDATE_GO: false
36+
VALIDATE_GO_MODULES: false
37+
PYTHON_PYLINT_CONFIG_FILE: .pylintrc
38+
DEFAULT_BRANCH: "main"
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
FILTER_REGEX_EXCLUDE: .*.jsonnet

.github/workflows/system-test.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Tests
22
on:
33
pull_request:
4-
merge_group:
54
push:
65
branches:
76
- main
@@ -18,7 +17,7 @@ jobs:
1817
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'"
1918

2019
test-unit-cover:
21-
runs-on: depot-ubuntu-22.04-4
20+
runs-on: ubuntu-latest
2221
steps:
2322
- uses: actions/setup-go@v5
2423
with:
@@ -33,9 +32,6 @@ jobs:
3332
**/**.go
3433
go.mod
3534
go.sum
36-
evmd/go.mod
37-
evmd/go.sum
38-
evmd/**/**.go
3935
*.toml
4036
- name: Test and Create Coverage Report
4137
run: |
@@ -52,7 +48,7 @@ jobs:
5248
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5349

5450
test-scripts:
55-
runs-on: depot-ubuntu-22.04-4
51+
runs-on: ubuntu-latest
5652
steps:
5753
- uses: actions/checkout@v4
5854
- uses: technote-space/[email protected]
@@ -76,7 +72,7 @@ jobs:
7672
if: env.GIT_DIFF
7773

7874
test-fuzz:
79-
runs-on: depot-ubuntu-22.04-4
75+
runs-on: ubuntu-latest
8076
steps:
8177
- uses: actions/setup-go@v5
8278
with:

.github/workflows/trigger-docs-update.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ contracts/@openzeppelin/*
3333
evmd/build/
3434

3535
build/
36-
37-
tests/systemtests/binaries
38-
tests/systemtests/testnet
39-
.testnets

0 commit comments

Comments
 (0)