Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
226 commits
Select commit Hold shift + click to select a range
260f23d
Potential fix for code scanning alert no. 422: Potentially unsafe quo…
Pray4Lovee Aug 8, 2025
2253e37
Update enforce-labels.yml
Pray4Lovee Aug 8, 2025
0e07a58
Add CI workflow with Codecov token
Pray4Lovee Aug 14, 2025
a07b35c
CI: Go tests + Codecov upload (skip forks)
Pray4Lovee Aug 14, 2025
57e4ff7
ci: trigger
Pray4Lovee Aug 14, 2025
fd8b425
Add x402 settlement check workflow
Pray4Lovee Aug 23, 2025
8c031d1
Merge pull request #2 from Pray4Lovee/codex/add-github-actions-for-in…
Pray4Lovee Aug 23, 2025
1dd8567
Merge pull request #1 from Pray4Lovee/alert-autofix-422
Pray4Lovee Aug 23, 2025
482115f
Update x402.yml
Pray4Lovee Aug 23, 2025
35e6e9b
Update ci.yml
Pray4Lovee Aug 23, 2025
7a25566
Update ci.yml
Pray4Lovee Aug 23, 2025
7db53a4
Merge branch 'sei-protocol:main' into main
Pray4Lovee Aug 23, 2025
d68299b
Create receipts.json
Pray4Lovee Aug 25, 2025
1165e31
Create x402.sh
Pray4Lovee Aug 25, 2025
737264a
Update integration-test.yml
Pray4Lovee Aug 26, 2025
f17fdfd
Update x402.yml
Pray4Lovee Aug 26, 2025
a811a0d
Update .golangci.yml
Pray4Lovee Aug 27, 2025
e7d4215
Update integration-test.yml
Pray4Lovee Aug 27, 2025
6be9012
Update receipts.json
Pray4Lovee Aug 27, 2025
4a936eb
Update x402.sh
Pray4Lovee Aug 27, 2025
57822b9
Update integration-test.yml
Pray4Lovee Aug 27, 2025
603f6af
refactor ci workflow
Pray4Lovee Aug 27, 2025
4b2af7f
Update ci.yml
Pray4Lovee Aug 27, 2025
4a3b662
Update pr-to-slack-codex.yml
Pray4Lovee Aug 27, 2025
4db2829
Merge branch 'main' into codex/update-golangci.yml-for-caching
Pray4Lovee Aug 27, 2025
b6a90dc
Merge pull request #27 from Pray4Lovee/codex/update-golangci.yml-for-…
Pray4Lovee Aug 27, 2025
bd6b444
Update x402.yml
Pray4Lovee Aug 27, 2025
d6d7e94
Update x402.yml
Pray4Lovee Aug 27, 2025
bf60563
Update x402.yml
Pray4Lovee Aug 27, 2025
fb1c50b
Update golangci.yml
Pray4Lovee Aug 27, 2025
f6bc818
Update integration-test.yml
Pray4Lovee Aug 27, 2025
cc993b5
Add SeiSecurityProxy contract and basic test
Pray4Lovee Aug 27, 2025
d007745
Merge pull request #29 from Pray4Lovee/codex/outline-advanced-securit…
Pray4Lovee Aug 27, 2025
5d93e3f
handle tokenfactory mint burn in balance verifier
Pray4Lovee Aug 28, 2025
346032e
feat(migration): make IAVL cache size configurable
Pray4Lovee Aug 28, 2025
05d65db
Add cross-platform tests for OpenDB
Pray4Lovee Aug 28, 2025
da5af26
Use filepath clean for DB path and add SeiBill sample
Pray4Lovee Aug 28, 2025
63dd51a
refactor OpenDB path handling
Pray4Lovee Aug 28, 2025
adb3b88
Update integration-test.yml
Pray4Lovee Aug 28, 2025
210c912
Update integration-test.yml
Pray4Lovee Aug 28, 2025
ff28d46
Update integration-test.yml
Pray4Lovee Aug 28, 2025
b05e993
Merge pull request #32 from Pray4Lovee/codex/replace-defaultcachesize…
Pray4Lovee Aug 29, 2025
dec5638
Merge pull request #31 from Pray4Lovee/codex/update-balance-handling-…
Pray4Lovee Aug 29, 2025
349b020
refactor: use atomic for parallel bloom matching
Pray4Lovee Aug 29, 2025
fb52f68
Merge pull request #34 from Pray4Lovee/codex/enhance-filter-matching-…
Pray4Lovee Aug 29, 2025
922141a
Respect GOMAXPROCS for concurrent bloom filtering
Pray4Lovee Aug 29, 2025
535b036
Merge branch 'main' into codex/enhance-filter-matching-with-concurren…
Pray4Lovee Aug 29, 2025
a51bc42
Update golangci.yml
Pray4Lovee Aug 29, 2025
738da9c
Add LumenCardKit v2.0 toolkit and workflow
Pray4Lovee Aug 29, 2025
ad42df4
Merge pull request #36 from Pray4Lovee/codex/review-lumencardkit-v2.0…
Pray4Lovee Aug 29, 2025
edc30a6
Merge pull request #35 from Pray4Lovee/codex/enhance-filter-matching-…
Pray4Lovee Aug 29, 2025
a0cdd6b
Update enforce-labels.yml
Pray4Lovee Aug 29, 2025
42b8a8e
Update x402.yml
Pray4Love1 Aug 29, 2025
b2acf14
Update integration-test.yml
Pray4Lovee Aug 29, 2025
fa67ccf
Update ci.yml
Pray4Lovee Aug 29, 2025
226ffd0
Create launch.complete
Pray4Lovee Aug 29, 2025
b04db85
Update integration-test.yml
Pray4Lovee Aug 29, 2025
8e5a0f3
Update integration-test.yml
Pray4Lovee Aug 29, 2025
60a8ea3
Update x402.yml
Pray4Lovee Aug 29, 2025
c188770
Update golangci.yml
Pray4Lovee Aug 29, 2025
6ae4ec1
Update x402.yml
Pray4Lovee Aug 29, 2025
6e3339a
Merge branch 'main' into main
Pray4Lovee Aug 29, 2025
1d4b548
Merge branch 'main' into patch-2
Pray4Love1 Aug 29, 2025
71c4612
Update integration-test.yml
Pray4Lovee Aug 29, 2025
720b27d
Update integration-test.yml
Pray4Lovee Aug 29, 2025
dc90ad6
Add Codex security review workflow
Pray4Lovee Aug 31, 2025
18233f1
Run Codex review on synchronize events
Pray4Lovee Aug 31, 2025
f2d76db
Update enforce-labels.yml
Pray4Lovee Aug 31, 2025
078cfbb
Update enforce-labels.yml
Pray4Lovee Aug 31, 2025
4e680ca
Update golangci.yml
Pray4Lovee Aug 31, 2025
30f8d88
Update integration-test.yml
Pray4Lovee Aug 31, 2025
a2846e6
Update integration-test.yml
Pray4Lovee Aug 31, 2025
a74e65b
Update golangci.yml
Pray4Lovee Aug 31, 2025
09c70fc
Update integration-test.yml
Pray4Lovee Aug 31, 2025
8e38790
Update integration-test.yml
Pray4Lovee Aug 31, 2025
9772e04
Update integration-test.yml
Pray4Lovee Aug 31, 2025
ec8e016
Update integration-test.yml
Pray4Lovee Aug 31, 2025
de91c28
Update golangci.yml
Pray4Lovee Aug 31, 2025
bde4870
Update eth_blocktests.yml
Pray4Lovee Aug 31, 2025
31b11cb
Update eth_blocktests.yml
Pray4Lovee Aug 31, 2025
a535767
Update golangci.yml
Pray4Lovee Aug 31, 2025
58a65e3
Update eth_blocktests.yml
Pray4Lovee Aug 31, 2025
b45f36b
Update eth_blocktests.yml
Pray4Lovee Aug 31, 2025
9f2d57a
Update integration-test.yml
Pray4Lovee Aug 31, 2025
1b3b08c
Update integration-test.yml
Pray4Lovee Aug 31, 2025
f3cbf4f
Update eth_blocktests.yml
Pray4Lovee Aug 31, 2025
ed65370
Merge branch 'main' into codex/refactor-string-slicing-in-debug.go
Pray4Lovee Aug 31, 2025
ce847c7
Update integration-test.yml
Pray4Lovee Aug 31, 2025
073710c
Merge pull request #33 from Pray4Lovee/codex/refactor-string-slicing-…
Pray4Lovee Aug 31, 2025
eb124bd
chore: add codex security review workflow
Pray4Lovee Aug 31, 2025
ed6c1fd
chore: enforce PR labels
Pray4Lovee Aug 31, 2025
f0b008b
Merge pull request #39 from Pray4Lovee/codex/add-codex-review-workflo…
Pray4Lovee Aug 31, 2025
5f3e1d4
Update golangci.yml
Pray4Lovee Aug 31, 2025
b6c4caf
chore: apply leveldb safe shutdown patch in CI
Pray4Lovee Aug 31, 2025
e98f0b6
chore: email codex review and apply shutdown patch
Pray4Lovee Aug 31, 2025
6da9796
ci: add Go test workflow with coverage
Pray4Lovee Aug 31, 2025
5fa1586
ci: replace go test workflow with matrix runner
Pray4Lovee Sep 1, 2025
e24b571
Merge pull request #42 from Pray4Lovee/codex/add-leveldb-safe-shutdow…
Pray4Lovee Sep 1, 2025
2211a4f
chore: update codex workflow email
Pray4Lovee Sep 1, 2025
8321b3b
Merge branch 'main' into codex/add-leveldb-safe-shutdown-handler-oe4yrc
Pray4Lovee Sep 1, 2025
978aa7e
docs: add changelog entry for docker image workflow
Pray4Lovee Sep 1, 2025
b899bce
Merge pull request #44 from Pray4Lovee/codex/add-changelog-for-docker…
Pray4Lovee Sep 1, 2025
35086b5
ci: unquote node version
Pray4Lovee Sep 1, 2025
df5dff8
ci: install golangci-lint
Pray4Lovee Sep 1, 2025
c826d36
Update pr-to-slack-codex.yml
Pray4Lovee Sep 1, 2025
9ef7022
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
12fc388
Merge pull request #47 from Pray4Lovee/codex/add-golangci-lint-report…
Pray4Lovee Sep 1, 2025
d7f9a3b
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
8436507
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
ce32b24
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
c1dd5bf
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
fa9d25d
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
1dbff5a
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
df93c3c
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
5d04fa7
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
6efe3ac
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
f6f568c
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
5ac5e28
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
d8e41a6
fix: deduplicated `check-and-settle` job & resolved YAML validation e…
Pray4Lovee Sep 1, 2025
915082a
fix: deduplicated `check-and-settle` job & resolved YAML validation e…
Pray4Lovee Sep 1, 2025
7a4ebb9
Update eth_blocktests.yml
Pray4Lovee Sep 1, 2025
ed48f24
Merge branch 'sei-protocol:main' into main
Pray4Lovee Sep 1, 2025
7d49cf2
Create silent_coverage.yml
Pray4Lovee Sep 1, 2025
0ad2885
Update silent_coverage.yml
Pray4Lovee Sep 1, 2025
1800d95
Update silent_coverage.yml
Pray4Lovee Sep 1, 2025
a5376ab
feat: add hardware key unlock command
Pray4Lovee Sep 2, 2025
9c8b937
Create x402_auto_payout.py
Pray4Lovee Sep 2, 2025
13b2bc7
Update golangci.yml
Pray4Lovee Sep 2, 2025
c6ddfc9
Update integration-test.yml
Pray4Lovee Sep 2, 2025
9fd96d6
Update integration-test.yml
Pray4Lovee Sep 2, 2025
8ac97f6
Update integration-test.yml
Pray4Lovee Sep 2, 2025
1ac5d28
Update integration-test.yml
Pray4Lovee Sep 3, 2025
dde4e9b
Update integration-test.yml
Pray4Lovee Sep 3, 2025
ed1417a
Merge branch 'sei-protocol:main' into main
Pray4Lovee Sep 3, 2025
6b62df9
Add integration test for debug_traceBlockByHash
Pray4Lovee Sep 3, 2025
44a5163
Add x402 settlement check workflow
Pray4Lovee Sep 3, 2025
e61e717
Add launch.sh for integration tests with launch.complete marker
Pray4Lovee Sep 4, 2025
8ed1614
Update keys.go
Pray4Lovee Sep 4, 2025
79174b4
Update app.go
Pray4Lovee Sep 4, 2025
e062f83
Update keys.go
Pray4Lovee Sep 4, 2025
005f112
Handle covenant commit errors and remove nondeterminism
Pray4Lovee Sep 4, 2025
865d538
Merge pull request #49 from Pray4Lovee/codex/fix-comments
Pray4Lovee Sep 4, 2025
cead691
Merge pull request #48 from Pray4Lovee/codex/implement-full-x/qacis-m…
Pray4Lovee Sep 4, 2025
4e41d9c
Create selfhosted-test.yml
Pray4Lovee Sep 4, 2025
29a7044
Update x402.yml
Pray4Lovee Sep 4, 2025
c4bb799
Update selfhosted-test.yml
Pray4Lovee Sep 4, 2025
88b646b
Update ci.yml
Pray4Lovee Sep 4, 2025
d4968b7
fail if local seid node doesn't start
Pray4Lovee Sep 4, 2025
cb17ba0
fix: clean up wasm module script list
Pray4Lovee Sep 5, 2025
217e4fb
Merge pull request #51 from Pray4Lovee/codex/add-docker-integration-t…
Pray4Lovee Sep 5, 2025
00b9d88
add codex pr review workflow
Pray4Lovee Sep 6, 2025
5f29580
Add Buf push workflow
Pray4Lovee Sep 6, 2025
1ac941c
Merge pull request #52 from Pray4Lovee/codex/add-codex-pr-review-work…
Pray4Lovee Sep 6, 2025
e4c17dd
Merge pull request #50 from Pray4Lovee/codex/add-local-seid-node-setu…
Pray4Lovee Sep 6, 2025
f914c10
Add Docker integration test workflow
Pray4Lovee Sep 7, 2025
6890962
Merge pull request #53 from Pray4Lovee/codex/add-codex-pr-review-work…
Pray4Lovee Sep 7, 2025
a8b563a
Refine docker integration workflow
Pray4Lovee Sep 7, 2025
f5ede85
Merge branch 'main' into codex/add-codex-pr-review-workflow
Pray4Lovee Sep 7, 2025
efcbdf3
Merge pull request #54 from Pray4Lovee/codex/add-codex-pr-review-work…
Pray4Lovee Sep 7, 2025
962f751
fix: inject matrix env vars correctly
Pray4Lovee Sep 7, 2025
720875d
Merge branch 'main' into codex/add-codex-pr-review-workflow
Pray4Lovee Sep 7, 2025
b40f141
Merge pull request #55 from Pray4Lovee/codex/add-codex-pr-review-work…
Pray4Lovee Sep 7, 2025
db0dbb2
Bump the npm_and_yarn group across 3 directories with 15 updates
dependabot[bot] Sep 7, 2025
4771e9e
Potential fix for code scanning alert no. 423: Disabled TLS certifica…
Pray4Lovee Sep 7, 2025
3d370b1
Create auto-merge-dependabot.yml
Pray4Lovee Sep 7, 2025
b3d2d1a
Update integration-test.yml
Pray4Lovee Sep 7, 2025
a91ed60
chore: expand docker integration tests
Pray4Lovee Sep 7, 2025
9132df5
Merge pull request #57 from Pray4Lovee/codex/add-docker-integration-t…
Pray4Lovee Sep 7, 2025
6541bf2
Merge pull request #56 from Pray4Lovee/dependabot/npm_and_yarn/oracle…
Pray4Lovee Sep 7, 2025
a88ff69
chore: update docker integration workflow actions
Pray4Lovee Sep 7, 2025
b76f579
Merge branch 'main' into codex/add-docker-integration-test-workflow
Pray4Lovee Sep 7, 2025
f55c1eb
Merge pull request #58 from Pray4Lovee/codex/add-docker-integration-t…
Pray4Lovee Sep 7, 2025
b8d07d7
refactor sentinel threat report
Pray4Lovee Sep 7, 2025
0320cc6
Merge branch 'main' into codex/implement-full-x/qacis-module-with-ome…
Pray4Lovee Sep 7, 2025
892f0bc
Merge pull request #59 from Pray4Lovee/codex/implement-full-x/qacis-m…
Pray4Lovee Sep 7, 2025
c34bf55
Update silent_coverage.yml
Pray4Lovee Sep 8, 2025
e97fad9
chore: use golangci-lint action
Pray4Lovee Sep 8, 2025
ffb8639
Update integration-test.yml
Pray4Lovee Sep 8, 2025
0b3b5b6
Merge branch 'main' into main
Pray4Lovee Sep 9, 2025
8541e9f
feat(cw20-send): add contract association helpers
Pray4Lovee Sep 10, 2025
f5cb900
add-cw20-send-pointer-resolution-fix
Pray4Lovee Sep 10, 2025
d7d31b6
fix: run CW20 pointer test via jest
Pray4Lovee Sep 10, 2025
59cadc5
Merge pull request #62 from Pray4Lovee/codex/fix-ci-failure
Pray4Lovee Sep 10, 2025
4e54ecc
Merge branch 'main' into codex/add-codex-review-integration-with-slack
Pray4Lovee Sep 10, 2025
c78e3ee
Merge pull request #38 from Pray4Lovee/codex/add-codex-review-integra…
Pray4Lovee Sep 10, 2025
e1b15a3
Merge pull request #37 from Pray4Love1/patch-2
Pray4Lovee Sep 10, 2025
a86a225
Merge pull request #41 from Pray4Lovee/codex/add-leveldb-safe-shutdow…
Pray4Lovee Sep 10, 2025
b299198
Merge pull request #43 from Pray4Lovee/codex/add-leveldb-safe-shutdow…
Pray4Lovee Sep 10, 2025
16bd14c
Merge branch 'main' into codex/add-leveldb-safe-shutdown-handler-hd2y0i
Pray4Lovee Sep 10, 2025
611c541
Merge pull request #45 from Pray4Lovee/codex/add-leveldb-safe-shutdow…
Pray4Lovee Sep 10, 2025
08c9793
Merge branch 'main' into codex/add-golangci-lint-workflow
Pray4Lovee Sep 10, 2025
5b04380
Merge pull request #60 from Pray4Lovee/codex/add-golangci-lint-workflow
Pray4Lovee Sep 10, 2025
faa3912
refactor: simplify golangci-lint workflow
Pray4Lovee Sep 10, 2025
48c60f3
Merge pull request #64 from Pray4Lovee/codex/fix-duplicate-golangci-l…
Pray4Lovee Sep 10, 2025
d7ff787
chore: enhance codex slack review workflow
Pray4Lovee Sep 10, 2025
4fa3aa4
Merge pull request #65 from Pray4Lovee/codex/add-codex-review-integra…
Pray4Lovee Sep 10, 2025
0f71121
chore: use node 20 in codex review workflow
Pray4Lovee Sep 10, 2025
6de8938
Merge branch 'main' into codex/add-codex-review-integration-with-slack
Pray4Lovee Sep 10, 2025
c32c589
fix: correct codex email recipient and html link
Pray4Lovee Sep 10, 2025
a770e0e
Merge branch 'main' into codex/add-codex-review-integration-with-slac…
Pray4Lovee Sep 10, 2025
78b8f4a
Merge pull request #67 from Pray4Lovee/codex/add-codex-review-integra…
Pray4Lovee Sep 10, 2025
a408ea1
Merge pull request #66 from Pray4Lovee/codex/add-codex-review-integra…
Pray4Lovee Sep 10, 2025
28c70f9
chore: run codex workflows on node 22
Pray4Lovee Sep 10, 2025
eb1ee59
Merge pull request #68 from Pray4Lovee/codex/add-codex-review-integra…
Pray4Lovee Sep 10, 2025
a9525e4
log estimate gas errors
Pray4Lovee Sep 12, 2025
d9a0219
Merge pull request #69 from Pray4Lovee/codex/fix-gas-estimation-loggi…
Pray4Lovee Sep 12, 2025
42e7e00
Merge branch 'sei-protocol:main' into main
Pray4Lovee Sep 12, 2025
1460e4e
chore: switch seibill to Apache 2
Pray4Lovee Sep 13, 2025
60dba49
Add SeiKin settlement and CCIP routing contracts
Pray4Love1 Sep 24, 2025
d35c11f
Harden SeiKin settlement configuration flows
Pray4Love1 Sep 24, 2025
82202df
Add keeper Chainlink Circle Sei CI workflow
Pray4Love1 Sep 24, 2025
7abe79c
Update ci.yml
Pray4Love1 Sep 24, 2025
7d3774d
Add Keeper workflow and guard SeiKin settlement flows
Pray4Love1 Sep 24, 2025
036a932
Merge pull request #5 from Pray4Love1/codexdeploy-seikinsettlement-an…
Pray4Love1 Sep 24, 2025
562b267
Add SeiKinSettlement protocol contract
Pray4Love1 Sep 24, 2025
8748f17
Merge branch 'main' into codex/create-cctp-module-and-cli-flags
Pray4Love1 Sep 24, 2025
1283a35
Refine SeiKinSettlement implementation
Pray4Love1 Sep 24, 2025
98df2f1
Align SeiKinSettlement contract with protocol drop
Pray4Love1 Sep 26, 2025
008d67f
Merge branch 'codex/create-cctp-module-and-cli-flags' into codexdeplo…
Pray4Love1 Sep 28, 2025
0bea02f
Merge pull request #4 from Pray4Love1/codexdeploy-seikinsettlement-an…
Pray4Love1 Sep 28, 2025
f68ab64
Merge branch 'codex/create-cctp-module-and-cli-flags' into codexprepa…
Pray4Love1 Sep 29, 2025
697c81a
Update test.yml
Pray4Love1 Sep 29, 2025
6600b72
Update x402-settlement-check.yml
Pray4Love1 Sep 29, 2025
6dd5d42
Update golangci.yml
Pray4Love1 Sep 29, 2025
200c56c
Update ci-go.yml
Pray4Love1 Sep 30, 2025
86ce248
Merge branch 'main' into codexprepare-seikinsettlement-for-deployment
Pray4Love1 Sep 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
37 changes: 37 additions & 0 deletions .github/workflows/auto-merge-dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Auto-Merge Dependabot Updates

on:
pull_request_target:
types:
- opened
- labeled
- synchronize

permissions:
pull-requests: write
contents: read

jobs:
automerge:
if: github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, 'safe-to-merge')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Enable auto-merge for patch/minor updates
uses: "peter-evans/enable-pull-request-automerge@v3"
with:
token: ${{ secrets.GITHUB_TOKEN }}
merge-method: squash

- name: Auto-approve safe updates
uses: hmarr/auto-approve-action@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Label as safe
run: gh pr edit "$PR_URL" --add-label "safe-to-merge"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22 changes: 22 additions & 0 deletions .github/workflows/buf-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Buf-Push
# Protobuf runs buf (https://buf.build/) push updated proto files to https://buf.build/sei-protocol/sei-chain
# This workflow is only run when a .proto file has been changed
on:
workflow_dispatch:
push:
branches:
- main
- seiv2
paths:
- "proto/**"

jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/[email protected]
- uses: bufbuild/buf-push-action@v1
with:
input: "proto"
buf_token: ${{ secrets.BUF_TOKEN }}
83 changes: 83 additions & 0 deletions .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: CI
on:
push:
pull_request:
permissions:
contents: read
checks: writename: CI

on:
push:
pull_request:

permissions:
contents: read
checks: write
statuses: write
id-token: write

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

- name: Ensure dependencies
run: |
go mod tidy
# Fix missing cometbft dep if not present
grep -q "github.com/cometbft/cometbft" go.mod || \
go get github.com/cometbft/[email protected]
go mod vendor || true

- name: Run tests with coverage
run: go test ./... -race -covermode=atomic -coverprofile=coverage.out

- name: Upload coverage to Codecov
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.out
flags: unittests
fail_ci_if_error: true
verbose: true

statuses: write
id-token: write # harmless if unused; fine to keep
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true

# If your repo depends on vendored modules, uncomment:
# - name: Ensure modules
# run: |
# go mod download

- name: Run tests with coverage
run: |
go test ./... -race -covermode=atomic -coverprofile=coverage.out
# Skip Codecov for fork PRs (prevents failures on external PRs)
- name: Upload coverage to Codecov
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }} # you'll add this next
files: ./coverage.out
flags: unittests
fail_ci_if_error: true
verbose: true
181 changes: 181 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
name: Keeper Chainlink-Circle-Sei Protocol

on:
push:
paths:
- '**.go'
- go.mod
- go.sum
branches:
- main
- release/**
- seiv2
- evm
pull_request:

jobs:
tests:
name: 🧪 Sharded Go Test (${{ matrix.part }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
part: [ "00", "01", "02", "03", "04", "05", "06", "07", "08", "09",
"10", "11", "12", "13", "14", "15", "16", "17", "18", "19" ]

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: "1.22"

- name: Cache Go Modules & Build
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

- name: Run Sharded Tests
run: |
NUM_SPLIT=20
make test-group-${{ matrix.part }} NUM_SPLIT=$NUM_SPLIT

- name: Upload Coverage Profile
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.part }}
path: ./${{ matrix.part }}.profile.out

merge-coverage:
name: 📊 Merge Coverage Report
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: "1.22"

- uses: actions/download-artifact@v4

- name: Install gocovmerge
run: |
go install github.com/wadey/gocovmerge@latest
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH

- name: Merge to `coverage.txt`
run: |
gocovmerge $(find . -name '*profile.out') > coverage.txt

- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

- name: Save coverage.txt as artifact
uses: actions/upload-artifact@v4
with:
name: final-coverage
path: coverage.txt

gosec:
name: 🔐 Gosec AI-Fingerprint Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: "1.22"

- name: Install gosec
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH

- name: Run gosec with JSON and SARIF
run: |
mkdir -p security
gosec -fmt=json -out=security/gosec.json ./...
gosec -fmt=sarif -out=security/gosec.sarif ./...

- name: Extract G115 Risk Print
run: |
jq '.Issues[] | select(.RuleID=="G115") | {file: .File, line: .Line, code: .Code}' \
security/gosec.json > security/g115-risks.json

- name: Upload Gosec Outputs
uses: actions/upload-artifact@v4
with:
name: gosec-results
path: |
security/gosec.json
security/gosec.sarif
security/g115-risks.json

notarize:
name: 🔏 Proof of Test + SoulSigil
needs: [merge-coverage, gosec]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4

- name: Generate SoulSigil and GuardianVault
run: |
mkdir -p guardian
SHA=$(sha512sum final-coverage/coverage.txt | cut -d' ' -f1)
DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")

jq -n --arg sha "$SHA" \
--arg date "$DATE" \
--arg commit "${{ github.sha }}" \
--arg repo "${{ github.repository }}" \
'{
proof_type: "keeper-ci-proof",
commit: $commit,
repository: $repo,
sha512: $sha,
timestamp: $date,
tests_passed: true
}' > guardian/proof.json

jq -s 'reduce .[] as $item ({}; . * $item)' \
guardian/proof.json \
gosec-results/g115-risks.json \
> guardian/guardian_vault.json

cat guardian/guardian_vault.json | base64 > guardian/guardian_vault.b64

- name: Upload SoulSigil & Vault
uses: actions/upload-artifact@v4
with:
name: soul-keeper-vault
path: |
guardian/proof.json
guardian/guardian_vault.json
guardian/guardian_vault.b64

final-check:
name: ✅ Keeper CI Verdict
needs: [tests]
if: always()
runs-on: ubuntu-latest
steps:
- name: Confirm All Test Shards Passed
run: |
jobs=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs)
failed=$(echo "$jobs" | jq '[.jobs[] | select(.conclusion == "failure")] | length')
if [[ "$failed" -gt 0 ]]; then
echo "❌ $failed job(s) failed."
exit 1
else
echo "✅ All test shards passed."
fi
Loading