test(indexer): fix stale integration fixtures for Postgres-only bootstrap (#335) #823
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!823
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "cursor/gitlab-issue-workflow-3782"
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
Closes the remaining acceptance gap for #335 after !818 merged the Postgres-only bootstrap.
What: Update swap_events_hybrid_columns integration fixture to use runtime-stamped _contract_address (was contract_address), matching #285 parser scoping.
Why: make test-indexer-integration was the last failing acceptance criterion.
Acceptance checklist
Verification
make setup-indexer-postgres
make verify-issue-324
cd indexer && cargo test --test api_route_solve -- --test-threads=1
make test-indexer-integration
make test-setup-postgres
changed the description
changed the description
mentioned in issue #335
Security review
Commit reviewed:
fec80e46ed150a723abb0cfdbeb7943eb2a9d086Scope:
indexer/tests/swap_events_hybrid_columns.rs— integration fixture key rename (contract_address→_contract_address) plus comment documenting #285 parser scoping.Outcome:
FINDINGS: 0medium+ — Security review: no medium+ findings on this diff.Summary
This MR modifies only an integration test fixture. No production indexer, parser, API, or dependency changes are introduced.
The fixture update aligns synthetic wasm event attributes with the existing #285 security control in
wasm_contract_addr/parse_swaps, which scopes swap attribution to runtime-stamped_contract_addressonly and ignores forgeablecontract_addressattributes. The change does not weaken that control; it corrects test data to match on-chain/LCD behavior already enforced inindexer/src/indexer/parser.rs.Attack-surface check
Inline threads
None — no medium, high, or critical findings to annotate on the diff.
Automated security review (Cursor Cloud Agent)
mentioned in commit
593ab1353fmentioned in commit
f090a17315mentioned in commit
15bfbff71a