Fix AgentKeys live ABI audit paths#43
Merged
Merged
Conversation
7 tasks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
Delivery Evidence SummaryChange:
Objective Evidence:
Visual Evidence:
Reviewer:
Risks / Not Covered:
Generated at: 2026-05-26T13:51:19.849Z |
cd39c0a to
cb6a3f4
Compare
Contributor
Author
Delivery Evidence SummaryChange:
Objective Evidence:
Visual Evidence:
Reviewer:
Risks / Not Covered:
Generated at: 2026-05-27T05:52:16.116Z |
YoshiyukiSakura
added a commit
that referenced
this pull request
May 27, 2026
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
AuditAppended(...)op_kindSQL filtering to match receiptdatastored with or without a0xprefix.AuditRootAppended(bytes32,bytes32,uint256,uint64), alongside the stale V2 root topic.op_kind=0filtering, cursor-style pagination, worker-404 rows, and current root rows.Verification
go test ./internal/agentkeys -run 'TestDecodeAuditRootRowsCurrent|TestDecodeAuditEventLogs|TestDecodeLiveHeimaCurrentAuditFixtureFilteringAndPagination' -count=1go test ./internal/agentkeys -run 'TestCurrentAuditOpKindDataPrefix|TestDecodeTypedAuditRowsBestEffortKeepsLiveChainRowsWhenWorkerMissing|TestDecodeLiveHeimaCurrentAuditFixture' -count=1go test ./internal/agentkeys -count=1gh pr checks 43 --repo litentry/subscan-essentials --watch --interval 10curl --http1.1 --tlsv1.2 -sS 'https://explorer-api.heima.network/agentkeys/audit/0x941cb1c3260518bbf40eac7d02663517fc7cff304d9b03e80d2cc54126c6bef2?limit=5&op_kind=0'returnedevents: [].0x01eedbc2950386768c2fafec0f405e6f3857dd274023e1593d7cdb381918bdd1, which matchesAuditRootAppended(bytes32,bytes32,uint256,uint64), with data words0x1cand2at tx0xf70fdefb211bebdfc19850f0bd071a109e8a1a3916f43a643c81c6861e732706.Delivery Evidence Summary
Change:
AuditAppended(...)op_kind=0filtering now matches indexed receipt data stored without0xwhile keeping prefixed compatibility./agentkeys/audit/root/<merkle_root>now recognizes the deployed current root topic and fetches associated current-ABI leaf rows best-effort.envelope_available=false,hash_verified=false, raw chain identity, op kind/name, sequence/index key, and block/log/tx fields.Objective Evidence:
go test ./internal/agentkeys -run 'TestDecodeAuditRootRowsCurrent|TestDecodeAuditEventLogs|TestDecodeLiveHeimaCurrentAuditFixtureFilteringAndPagination' -count=1passed.go test ./internal/agentkeys -run 'TestCurrentAuditOpKindDataPrefix|TestDecodeTypedAuditRowsBestEffortKeepsLiveChainRowsWhenWorkerMissing|TestDecodeLiveHeimaCurrentAuditFixture' -count=1passed.go test ./internal/agentkeys -count=1passed.gh pr checks 43 --repo litentry/subscan-essentials --watch --interval 10passed: Go build and stable tests, Vercel Preview Comments, Vercel - subscan-essentials, and Vercel - subscan-essentials-ui-react.0x01eedbc2950386768c2fafec0f405e6f3857dd274023e1593d7cdb381918bdd1, block0x930382, and tx0xf70fdefb211bebdfc19850f0bd071a109e8a1a3916f43a643c81c6861e732706.Visual Evidence:
Reviewer:
Risks / Not Covered:
https://explorer-api.heima.networkstill shows the pre-deploy behavior until this PR is promoted to that host.Refs #42