Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
247 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
65aa5bd
Add Holo Protocol demo package and sync workflow
Pray4Love1 Sep 26, 2025
63a3afa
Add Kin pulse and handoff verifier contracts
Pray4Love1 Sep 26, 2025
361b6f9
Add Kin vault scanner and royalty paymaster contracts
Pray4Love1 Sep 26, 2025
de552b4
Add Kin router and guardian proof relay modules
Pray4Love1 Sep 26, 2025
6068f7a
feat(contracts): add kin vault royalty router and decoder
Pray4Love1 Sep 26, 2025
75273b2
Add Kin ledger oracle and signature scanner contracts
Pray4Love1 Sep 26, 2025
e443304
Update forge-test.yml
Pray4Love1 Sep 26, 2025
9913448
Add kin ledger oracle and signature vault scanner
Pray4Love1 Sep 26, 2025
98df2f1
Align SeiKinSettlement contract with protocol drop
Pray4Love1 Sep 26, 2025
390b0cf
Use Tendermint ABCI types for seinet module
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
23c749d
Merge pull request #7 from Pray4Love1/codexadd-holo-protocol-integrat…
Pray4Love1 Sep 29, 2025
54fa7cf
Merge pull request #6 from Pray4Love1/codexprepare-seikinsettlement-f…
Pray4Love1 Sep 29, 2025
8de98ad
Merge pull request #8 from Pray4Love1/codexfix-withdrawwithsigil-func…
Pray4Love1 Sep 29, 2025
294d953
Merge pull request #9 from Pray4Love1/codexdrop-kinvaultroyaltyrouter…
Pray4Love1 Sep 29, 2025
89a274e
Merge pull request #10 from Pray4Love1/codexcomplete-modules-9-and-10…
Pray4Love1 Sep 29, 2025
ad1ff54
Merge pull request #11 from Pray4Love1/codeximplement-core-components…
Pray4Love1 Sep 29, 2025
2df7f03
Merge pull request #12 from Pray4Love1/codexfinalize-guardian-royalty…
Pray4Love1 Sep 29, 2025
946a5cd
Merge pull request #15 from Pray4Love1/codexfinalize-guardian-royalty…
Pray4Love1 Sep 29, 2025
06500dc
Merge branch 'codex/create-cctp-module-and-cli-flags' into codexprepa…
Pray4Love1 Sep 29, 2025
ea4e3f9
Update seinet.yml
Pray4Love1 Sep 29, 2025
2367a59
Improve Codex output extraction
Pray4Love1 Sep 29, 2025
594914d
Merge pull request #24 from Pray4Love1/codexadd-codex-pr-review-email…
Pray4Love1 Sep 29, 2025
62c2019
Align workflows with Go 1.22
Pray4Love1 Sep 29, 2025
7550047
Update ci.yml
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/buf-setup-action@v1.26.1
- uses: bufbuild/buf-push-action@v1
with:
input: "proto"
buf_token: ${{ secrets.BUF_TOKEN }}
39 changes: 39 additions & 0 deletions .github/workflows/ci-go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI
on:
push:
pull_request:
permissions:
contents: read
checks: write
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
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
final-check:
name: ✅ Keeper CI Verdict
needs: [tests]
if: always()
runs-on: ubuntu-latest
steps:
- name: Install GitHub CLI
run: |
sudo apt-get update -y
sudo apt-get install -y gh jq

- name: Confirm All Test Shards Passed
run: |
failed=$(gh run view ${{ github.run_id }} \
--json jobs \
--jq '.jobs[] | select(.conclusion == "failure") | .name' | wc -l)

if [[ "$failed" -gt 0 ]]; then
echo "❌ $failed job(s) failed."
exit 1
else
echo "✅ All test shards passed."
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.24
go-version: 1.22.x
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
123 changes: 123 additions & 0 deletions .github/workflows/codex-pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
name: Codex PR Review (Email Output)

on:
pull_request:
types: [opened, edited, labeled, synchronize]

permissions:
contents: read
pull-requests: write

jobs:
codex-review:
runs-on: ubuntu-latest

steps:
# 1. Checkout PR with full history for merge-base comparison
- name: Checkout PR HEAD (full history)
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

# 2. Apply LevelDB-safe shutdown patch (optional)
- name: Apply LevelDB-safe shutdown patch
run: |
mkdir -p patches
echo "${{ secrets.LEVELDB_PATCH }}" > patches/leveldb_safe_shutdown.patch
git apply patches/leveldb_safe_shutdown.patch || echo "::warning::Patch failed or not needed"

# 3. Set up Node (Codex CLI is a Node package)
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '22'

# 4. Try to install Codex CLI
- name: Install Codex CLI (best-effort)
run: |
npm install -g @openai/codex || echo "::warning::Codex CLI not available; fallback will be used"

# 5. Compute merge-base diff and stats
- name: Compute merge-base diff
run: |
set -euo pipefail
BASE_REF="${{ github.event.pull_request.base.ref }}"
git fetch origin "$BASE_REF":"refs/remotes/origin/$BASE_REF"
MB=$(git merge-base "origin/$BASE_REF" HEAD)
git diff --unified=0 "$MB"..HEAD > pr.diff
git --no-pager diff --stat "$MB"..HEAD > pr.stat

# 6. Check if Codex CLI is available
- name: Check Codex availability
id: codex_check
run: |
if command -v codex >/dev/null; then
echo "available=true" >> $GITHUB_OUTPUT
else
echo "available=false" >> $GITHUB_OUTPUT
fi

# 7a. Run Codex CLI if available
- name: Run Codex CLI
if: steps.codex_check.outputs.available == 'true'
env:
PR_URL: ${{ github.event.pull_request.html_url }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
MAX=${MAX_TOKENS:-6000}
codex pr \
--diff pr.diff \
--stat pr.stat \
--pr-url "$PR_URL" \
--pr-number "$PR_NUMBER" \
--max-output-tokens "$MAX" \
--no-guard \
--markdown > codex_output.md

# 7b. Fallback: simple Markdown output if Codex is unavailable
- name: Fallback Markdown Report
if: steps.codex_check.outputs.available == 'false'
run: |
{
echo "# Codex Fallback Review"
echo "PR: [#${{ github.event.pull_request.number }}](${{ github.event.pull_request.html_url }})"
echo
echo "## Diff Stat"
echo '```'
cat pr.stat
echo '```'
echo
echo "## Unified Diff (first 500 lines)"
echo '```diff'
head -n 500 pr.diff
echo '```'
} > codex_output.md

# 8. Extract the markdown for email output
- name: Extract Markdown Output
id: extract_output
run: |
{
printf 'markdown<<EOF\n'
cat codex_output.md
printf 'EOF\n'
} >> "$GITHUB_OUTPUT"

# 9. Send the Markdown report via SendGrid Email
- name: Send Codex Report via Email
uses: dawidd6/action-send-mail@v3
with:
server_address: smtp.sendgrid.net
server_port: 465
username: apikey
password: ${{ secrets.SMTP_TOKEN }}
subject: "[Codex Review] PR #${{ github.event.pull_request.number }}"
to: totalwine2338@gmail.com
from: CodexBot <noreply@kinmesh.org>
content_type: text/html
body: |
<p>Codex Review for <a href="${{ github.event.pull_request.html_url }}">PR #${{ github.event.pull_request.number }}</a></p>
<pre style="white-space:pre-wrap;font-family:ui-monospace,Menlo,Consolas,monospace">
${{ steps.extract_output.outputs.markdown }}
</pre>
123 changes: 123 additions & 0 deletions .github/workflows/codex-security-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
name: PR → Codex review → Slack

on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]

jobs:
codex_review:
runs-on: ubuntu-latest

steps:
- name: Checkout PR HEAD
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install Codex CLI
run: npm i -g @openai/codex

- name: Compute merge-base diff
run: |
set -euo pipefail
BASE_REF='${{ github.event.pull_request.base.ref }}'
git fetch --no-tags origin "$BASE_REF":"refs/remotes/origin/$BASE_REF"
MB=$(git merge-base "origin/$BASE_REF" HEAD)
git diff --unified=0 "$MB"..HEAD > pr.diff
git --no-pager diff --stat "$MB"..HEAD > pr.stat || true

- name: Build Codex prompt and run review
env:
PR_URL: ${{ github.event.pull_request.html_url }}
PR_NUMBER: ${{ github.event.pull_request.number }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: |
set -euo pipefail
MAX=${MAX_DIFF_BYTES:-900000}
BYTES=$(wc -c < pr.diff || echo 0)

{
echo "You are a skilled AppSec reviewer. Analyze this PR for:"
echo "bugs, vulnerabilities, loss of funds issues, crypto attack vectors, signature vulnerability, replay attacks etc.."
echo "Prioritize the *changed hunks* in pr.diff, but open other files for context."
echo
echo "Return a tight executive summary, then bullets with:"
echo "- severity (high/med/low)"
echo "- file:line pointers"
echo "- concrete fixes & example patches"
echo "- if N/A, say 'No significant issues found.'"
echo
echo "PR URL: $PR_URL"
echo
echo "Formatting requirements:"
echo "- Output MUST be GitHub-flavored Markdown (GFM)."
echo "- Start with '## Executive summary'"
echo "- Then '## Findings and fixes'"
echo "- Use fenced code blocks for patches (diff, yaml, etc.)"
echo "- Use inline code for file:line and identifiers."
} > prompt.txt

if [ "$BYTES" -le "$MAX" ] && [ "$BYTES" -gt 0 ]; then
{
echo "Unified diff (merge-base vs HEAD):"
echo '```diff'
cat pr.diff
echo '```'
} >> prompt.txt

env -i OPENAI_API_KEY="$OPENAI_API_KEY" PATH="$PATH" HOME="$HOME" \
codex --model gpt-5 --ask-for-approval never exec \
--sandbox read-only \
--output-last-message review.md \
< prompt.txt > codex.log 2>&1
else
BASE_REF='${{ github.event.pull_request.base.ref }}'
git fetch --no-tags origin "$BASE_REF":"refs/remotes/origin/$BASE_REF"
MB=$(git merge-base "origin/$BASE_REF" HEAD)
HEAD_SHA=$(git rev-parse HEAD)
DIFF_URL="${PR_URL}.diff"

{
echo "The diff is too large. Fetch it here: $DIFF_URL"
echo "Commit range: $MB → $HEAD_SHA"
echo "Diffstat:"
echo '```'
cat pr.stat || true
echo '```'
echo "Follow previous review instructions above."
} >> prompt.txt

env -i OPENAI_API_KEY="$OPENAI_API_KEY" PATH="$PATH" HOME="$HOME" \
codex --ask-for-approval never exec \
--sandbox danger-full-access \
--output-last-message review.md \
< prompt.txt > codex.log 2>&1
fi

if [ ! -s review.md ]; then
echo "_Codex produced no output._" > review.md
fi

- name: Post Codex review to Slack
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
run: |
MESSAGE="Codex Security Review for PR #${{ github.event.pull_request.number }}: ${{ github.event.pull_request.title }}"
REVIEW=$(cat review.md | jq -Rs .)
curl -s -X POST https://slack.com/api/chat.postMessage \
-H "Authorization: Bearer $SLACK_BOT_TOKEN" \
-H 'Content-type: application/json; charset=utf-8' \
--data "$(jq -n \
--arg ch "$SLACK_CHANNEL_ID" \
--arg text "$MESSAGE" \
--arg review "$REVIEW" \
'{channel: $ch, text: $text, attachments: [{text: $review}]}' \
)"

Loading