fix(indexer,qa): SDK 0.53 tx-search + v4 compat gaps (#292) #738
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!738
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "qa/292-indexer-sdk53-txsearch"
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?
SDK 0.53 / terrad v4 compat gaps the LocalTerra image bump (#292) didn't cover. The indexer halted at block 1 on the new stack; two QA/genesis scripts also carried SDK<0.50 assumptions. Found during QA verification of #292.
indexer tx-search (the block-1 halt) —
indexer/src/lcdThree params removed/changed in cosmos-sdk 0.50, all confirmed live against terrad 4.0.1:
events=→ removed; v4 returns HTTP 500 "query cannot be empty". Nowquery=.pagination.offset/pagination.limit→ silently ignored (every page refetched the first; a ≥100-tx block would loop to max_pages and halt). Now 1-basedpage=/limit=.total(paginationis now null); #236's completeness guard was silently disabled. Now reads top-leveltotal, falls back topagination.totalfor v3.x LCDs.Updated the 3 LCD wiremock tests to the SDK0.50 request/response shape (they were green against the old v3 shape = false confidence).
scripts/qa/verify-issue-238.shtx_return_amount()parsed the removed.logs[].events(empty on v4) → the L8 execute/sim parity check always failed. Now reads top-level.eventswith a.logsfallback.docker/init-chain.shvalidate-genesisSIGSEGVs on v4 (x/genutil nil-deref with collected gentxs) and|| echo WARNINGswallowed it (dead safety net). Validates via jq instead.Verification
cargo build --releaseclean; LCD mock tests 3/3./overview62 trades, per-pair OHLC/stats.make test-contracts412/0 (unaffected).GitLab #292
mentioned in issue #278
mentioned in issue #288
mentioned in commit
44b74f6600