Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
b3a7fde
Refactor Go test workflow for clarity and efficiency
Pray4Love1 Nov 18, 2025
0fe48b6
Revise integration test workflow configuration
Pray4Love1 Nov 18, 2025
2d1f230
Enhance CI workflow with Python and Node.js setup
Pray4Love1 Nov 18, 2025
96983c1
Merge branch 'sei-protocol:main' into patch-10
Pray4Love1 Nov 18, 2025
e6571ab
Enhance workflow by cleaning outdated files
Pray4Love1 Nov 18, 2025
b948a20
Merge branch 'sei-protocol:main' into main
Pray4Love1 Nov 18, 2025
6a791cf
Refactor integration test workflow for clarity
Pray4Love1 Nov 18, 2025
745572b
Merge branch 'sei-protocol:main' into main
Pray4Love1 Nov 18, 2025
ccea291
Merge branch 'main' into patch-10
Pray4Love1 Nov 20, 2025
d6f3092
Update param_change_proposal.json
Pray4Love1 Nov 22, 2025
c6665e0
Update gov_proposal_test.yaml
Pray4Love1 Nov 22, 2025
4825055
Update param_change_proposal.json
Pray4Love1 Nov 22, 2025
56887e3
Update and rename gov_proposal_test.yaml to combined_workflow.yaml
Pray4Love1 Nov 22, 2025
cd79478
Merge branch 'sei-protocol:main' into patch-10
Pray4Love1 Nov 22, 2025
15ae3e4
Update go-test.yml
Pray4Love1 Nov 23, 2025
0b2a3b7
Update go-test.yml
Pray4Love1 Nov 23, 2025
ac21f6a
Update go-test.yml
Pray4Love1 Nov 23, 2025
188d5db
Merge branch 'sei-protocol:main' into main
Pray4Love1 Nov 23, 2025
185562b
Update app.go
Pray4Love1 Nov 23, 2025
cb68322
Update multitree.go
Pray4Love1 Nov 23, 2025
2d201c6
Create codecov.yml
Pray4Love1 Nov 23, 2025
c4ab669
Merge branch 'main' into patch-10
Pray4Love1 Nov 29, 2025
6a07c3a
Merge branch 'sei-protocol:main' into patch-10
Pray4Love1 Dec 6, 2025
6d51888
Refactor Go CI workflow for cross-architecture support
Pray4Love1 Dec 6, 2025
c873a19
Refactor GitHub Actions workflow for Go modules
Pray4Love1 Dec 9, 2025
b674c1f
Update CodeQL workflow to use Codecov
Pray4Love1 Dec 9, 2025
8fdbdaf
Simplify coverage configuration in codecov.yml
Pray4Love1 Dec 9, 2025
3b25a98
Refactor Codecov workflow for coverage upload
Pray4Love1 Dec 9, 2025
173b185
Refactor GitHub Actions workflow for Go tests
Pray4Love1 Dec 9, 2025
7c480b6
Improve comments in tcp.go for better clarity
Pray4Love1 Dec 9, 2025
eda5b4a
Add Windows-specific TCP utilities
Pray4Love1 Dec 9, 2025
6d1e736
Add Windows-specific stubs for unix functions
Pray4Love1 Dec 9, 2025
0abf056
Add SetNonblock function for non-blocking I/O
Pray4Love1 Dec 9, 2025
fabe841
Refactor error handling for Windows socket functions
Pray4Love1 Dec 9, 2025
4d7ba6a
Implement TestKeychainAccess function
Pray4Love1 Dec 9, 2025
c3a2eee
Add Go cross-platform testing workflow
Pray4Love1 Dec 9, 2025
cc3e2b9
Fix gofmt formatting
Pray4Love1 Dec 9, 2025
3a088c8
Merge branch 'main' into patch-10
Pray4Love1 Dec 13, 2025
3a69bde
Merge branch 'main' into patch-10
Pray4Love1 Dec 15, 2025
c4c869b
Refactor GitHub Actions workflow for Go testing
Pray4Love1 Dec 15, 2025
31f492c
Update cross-architecture build workflow
Pray4Love1 Dec 15, 2025
7aa425e
Add E2E testing job to GitHub Actions workflow
Pray4Love1 Dec 15, 2025
6d38034
Enhance Codecov workflow with E2E tests and coverage
Pray4Love1 Dec 15, 2025
eb9a9c2
Refactor cross-arch build workflow for clarity
Pray4Love1 Dec 15, 2025
224dd22
Add tags to modules in cross-arch build workflow
Pray4Love1 Dec 15, 2025
07fd641
Refactor cross-architecture build workflow
Pray4Love1 Dec 15, 2025
effa3be
Create index.html
Pray4Love1 Dec 15, 2025
b61c1f8
Update index.html
Pray4Love1 Dec 15, 2025
e65ee10
Update README.md
Pray4Love1 Dec 15, 2025
2205d56
Create x402-protocol.md
Pray4Love1 Dec 15, 2025
da8b8a0
Create deployment.md
Pray4Love1 Dec 15, 2025
785445f
Update .gitignore
Pray4Love1 Dec 15, 2025
5050524
Create CONTRIBUTING.md
Pray4Love1 Dec 15, 2025
e3cc659
Merge branch 'main' into patch-10
Pray4Love1 Dec 18, 2025
d08322c
Merge branch 'main' into patch-10
Pray4Love1 Dec 20, 2025
f9ed7d9
Merge main into patch-10: resolve workflow and test conflicts
Pray4Love1 Dec 20, 2025
01fc7e5
Merge branch 'main' into patch-10
Pray4Love1 Dec 30, 2025
55c2907
Delete docs/swagger-ui/index.html
Pray4Love1 Dec 30, 2025
ff49b3c
Simplify integration test workflow
Pray4Love1 Dec 30, 2025
743b5ea
Refactor Go test workflow for clarity and efficiency
Pray4Love1 Dec 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Codecov Upload

on:
push:
branches:
- main
- release/**
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true

jobs:
e2e-matrix:
name: E2E Agents
runs-on: ubuntu-latest
strategy:
matrix:
agent: [1,2,3,4,5,6,7,8,9,10] # 10 parallel agents, scalable
steps:
- uses: actions/checkout@v5

- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24'

- name: Install dependencies
run: go mod download

- name: Run full-stack E2E tests per agent
run: |
mkdir -p coverage
./run_blocktests.sh ./ethtests/BlockchainTests/ 0 5 \
-agent ${{ matrix.agent }} \
-output coverage/coverage-agent${{ matrix.agent }}.out

- name: Upload individual agent coverage artifact
uses: actions/upload-artifact@v3
with:
name: coverage-agent-${{ matrix.agent }}
path: coverage/coverage-agent${{ matrix.agent }}.out

merge-and-upload-coverage:
name: Merge Coverage & Upload
runs-on: ubuntu-latest
needs: e2e-matrix
steps:
- uses: actions/checkout@v5

- name: Download all agent coverage artifacts
uses: actions/download-artifact@v3
with:
name: coverage-agent-1
path: coverage/
- uses: actions/download-artifact@v3
with:
name: coverage-agent-2
path: coverage/
# Repeat or use a loop for agents 3-10 if desired

- name: Merge coverage profiles
run: |
go install github.com/wadey/gocovmerge@latest
gocovmerge coverage/*.out > coverage/coverage.out

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage/coverage.out
fail_ci_if_error: true
disable_search: true
verbose: true
65 changes: 21 additions & 44 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,58 +1,35 @@
name: "CodeQL"
name: Codecov Upload

on:
pull_request:
paths:
- "**.go"
push:
branches:
- main
- seiv2
- release/**
paths:
- "**.go"
pull_request:

jobs:
analyze:
name: Analyze
codecov:
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.24
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "go"
queries: crypto-com/cosmos-sdk-codeql@main,security-and-quality
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- uses: actions/checkout@v5

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.24'

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
- name: Install dependencies
run: go mod download

#- run: |
# make bootstrap
# make release
- name: Run tests with coverage
run: |
mkdir -p coverage
go test ./... -covermode=atomic -coverprofile=coverage/coverage.out

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage/coverage.out
fail_ci_if_error: true
disable_search: true
verbose: true
4 changes: 0 additions & 4 deletions .github/workflows/cross-arch-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y build-essential

- name: Verify Go installation
run: |
go version
echo "GOARCH: $(go env GOARCH)"
echo "GOOS: $(go env GOOS)"

- name: Download Go dependencies
run: go mod download

Expand Down Expand Up @@ -69,13 +67,11 @@ jobs:
- name: Install system dependencies
run: |
xcode-select --version || xcode-select --install

- name: Verify Go installation
run: |
go version
echo "GOARCH: $(go env GOARCH)"
echo "GOOS: $(go env GOOS)"

- name: Download Go dependencies
run: go mod download

Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/go-cross.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Go Cross-Platform Tests
on:
workflow_call:
pull_request:
push:
branches:
- main
- release/**

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}

jobs:
tests:
env:
GO_TEST_TIMEOUT: 30m
name: "Test ${{ matrix.modules.name }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
modules:
- name: sei-chain
path: ./
- name: sei-cosmos
path: ./sei-cosmos
tags: ledger test_ledger_mock
- name: sei-db
path: ./sei-db
- name: sei-ibc-go
path: ./sei-ibc-go
- name: sei-tendermint
path: ./sei-tendermint
- name: sei-wasmd
path: ./sei-wasmd
tags: ledger test_ledger_mock
- name: sei-wasmvm
path: ./sei-wasmvm
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version: '1.24'
- name: Remove unnecessary tooling
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
- name: Go test with race detector
working-directory: '${{ matrix.modules.path }}'
run: go test -race -tags='${{ matrix.modules.tags }}' -timeout='${{env.GO_TEST_TIMEOUT}}' -covermode=atomic -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: 'true'
disable_search: 'true'
name: '${{ matrix.modules.name }}-coverage'
files: ${{ matrix.modules.path }}/coverage.out
flags: ${{ matrix.modules.name }}
73 changes: 55 additions & 18 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,94 @@
name: Go
name: Go Cross-Platform Tests

on:
workflow_call:
pull_request:
push:
branches:
- main
- release/**
branches: [main]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}

env:
GO_VERSION: '1.24'
LEDGER_ENABLED: false

defaults:
run:
shell: bash

jobs:
tests:
env:
GO_TEST_TIMEOUT: 30m
name: "Test ${{ matrix.modules.name }}"
runs-on: ubuntu-latest
name: "Test ${{ matrix.modules.name }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
modules:
- name: sei-chain
path: ./
tags: ledger test_ledger_mock
- name: sei-cosmos
path: ./sei-cosmos
tags: ledger test_ledger_mock
- name: sei-db
path: ./sei-db
- name: sei-ibc-go
path: ./sei-ibc-go
- name: sei-tendermint
path: ./sei-tendermint
- name: sei-wasmd
path: ./sei-wasmd
tags: ledger test_ledger_mock
- name: sei-wasmvm
path: ./sei-wasmvm

steps:
- uses: actions/checkout@v5

- uses: actions/setup-go@v6
with:
go-version: '1.24'

- name: Remove unnecessary tooling
if: runner.os != 'Windows'
run: |
# Remove unrelated tooling to open up more space. Without doing
# this ~80% of the available 15GiB space is already occupied.
sudo rm -rf \
/usr/share/dotnet \
/usr/local/lib/android \
/opt/ghc /opt/hostedtoolcache/CodeQL
/opt/ghc \
/opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force

- name: Go test with race detector
working-directory: '${{ matrix.modules.path }}'
run: go test -race -tags='${{ matrix.modules.tags }}' -timeout='${{env.GO_TEST_TIMEOUT}}' -covermode=atomic -coverprofile=coverage.out ./...
working-directory: ${{ matrix.modules.path }}
run: |
TAGS=""
if [ -n "${{ matrix.modules.tags }}" ]; then
TAGS="-tags='${{ matrix.modules.tags }}'"
fi

if [ "$(uname)" = "Darwin" ]; then
export SKIP_KEYCHAIN_TESTS=1
fi

go test -race $TAGS \
-timeout='${{ env.GO_TEST_TIMEOUT }}' \
-covermode=atomic \
-coverprofile=coverage.out \
./...

- name: Upload coverage to Codecov
if: runner.os != 'windows'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: 'true'
disable_search: 'true'
name: '${{ matrix.modules.name }}-coverage'
fail_ci_if_error: true
disable_search: true
name: ${{ matrix.modules.name }}-coverage-${{ matrix.os }}
files: ${{ matrix.modules.path }}/coverage.out
flags: ${{ matrix.modules.name }}
flags: ${{ matrix.modules.name }}
Loading