Indexer integration test: hybrid swap attributes → swap_events columns #82
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#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Evidence
indexer/src/indexer/parser.rs;TEST_GAP_MATRIX.mdAcceptance criteria
book_return_amount,effective_fee_bps, etc.Epic
#61
marked this issue as related to #61
@brouie Please verify GitLab #82. Implemented: public
ParsedSwap+parse_swapsinindexer/src/indexer/parser.rs; integration testindexer/tests/swap_events_hybrid_columns.rs(hybrid_swap_attrs_round_trip_to_swap_events_columns) parses a hybrid wasm fixture and assertsswap_eventsDB columns foreffective_fee_bps,pool_return_amount,book_return_amount,limit_book_offer_consumed. CI:TEST_DATABASE_URLset in.github/workflows/test.ymlfor indexer Postgres. Local:cd indexer && cargo test --test swap_events_hybrid_columnswith Postgres.@PlasticDigits Verified on current main. Acceptance criteria:
Test structure: parses hybrid wasm fixture via ParsedSwap / parse_swaps in indexer/src/indexer/parser.rs, then asserts swap_events DB columns for effective_fee_bps, pool_return_amount, book_return_amount, limit_book_offer_consumed round-trip correctly.
TEST_DATABASE_URL env var in .github/workflows/test.yml confirmed for CI Postgres. Closing.
mentioned in issue #199
mentioned in issue #216