feat: CW20 code-id audit harness (#589) #1114
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic!1114
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/589-cw20-codeid-audit-harness"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
cw20-codeid-audits/intake: LCD fetch pinned toCodeInfo.data_hash, decompile (fail-closed without wabt), fingerprint, catalogue A–CH, and per-code-idREPORT.md.smartcontracts/tests(cw20_codeid_harness+ mutants). Known-bad FoT stays red on 1:1 and P2. 10184 analogue (cw20-mintable) stays green.953AD60C…+REPORT.mdverdict NO-GO until Layer A-lcd and Layer B-lt execute that wasm. Do notAddWhitelistedCodeId 8266.Closes #589. Does not close #581 (SpaceUSD listing stays blocked on a GO report).
Test plan
make verify-issue-589(16 passed, including retest)cargo test --lib cw20_codeid_harness(34 tests)cargo test --lib fot(known-bad 1:1 / P2 stay red)CODE_ID=8266 make verify-issue-589afterapt install wabt(decomp of LCD wasm)CODE_ID=8266 LAYER_B_LT=1 make verify-issue-589aftermake has-localterra(store that wasm; flip report only if 1:1 + P2 hold)Skill:
skills/AGENTS_CW20_CODE_ID_AUDIT.md(C589-1–C589-9).mentioned in issue #589
mentioned in issue #581
added 6 commits
main0fd7e3a3- Merge origin/main into feat/589-cw20-codeid-audit-harnessCompare with previous version
mentioned in commit
fa8550f356mentioned in issue #590