test(indexer): forged-event regression test for limit placements (#285) #750

Merged
Brouie merged 1 commit from qa/285-forged-placement-test into main 2026-06-05 03:18:44 +00:00
Brouie commented 2026-06-05 01:19:16 +00:00 (Migrated from gitlab.com)

Follow-up on #285. The merged fix added forged-attribution tests for fills and cancels; the acceptance criteria also name placements. Placement is already closed at source (the placement parse paths route through the same reserved _contract_address predicate), but it had no named regression test like fill/cancel.

Adds forged_contract_address_placement_not_attributed_to_victim_pair: a malicious emitter stamps _contract_address=terra1attacker and forges contract_address=terra1victimpair before the action; the test asserts the placement scopes to the attacker, not the victim.

Parser forged-attack tests 3/3 (fill, cancel, placement). No closing keyword.

Follow-up on #285. The merged fix added forged-attribution tests for fills and cancels; the acceptance criteria also name placements. Placement is already closed at source (the placement parse paths route through the same reserved `_contract_address` predicate), but it had no named regression test like fill/cancel. Adds `forged_contract_address_placement_not_attributed_to_victim_pair`: a malicious emitter stamps `_contract_address=terra1attacker` and forges `contract_address=terra1victimpair` before the action; the test asserts the placement scopes to the attacker, not the victim. Parser forged-attack tests 3/3 (fill, cancel, placement). No closing keyword.
Brouie commented 2026-06-05 01:21:13 +00:00 (Migrated from gitlab.com)

mentioned in issue #285

mentioned in issue #285
PlasticDigits commented 2026-06-05 03:18:44 +00:00 (Migrated from gitlab.com)

mentioned in commit 223128fbda

mentioned in commit 223128fbdac55ae8b25aaf6ea3bf457778311077
PlasticDigits (Migrated from gitlab.com) merged commit 223128fbda into main 2026-06-05 03:18:44 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
code/cl8y-dex-terraclassic!750
No description provided.