Contract test: max_maker_fills at MAX_MAKER_FILLS_HARD_CAP #85

Closed
opened 2026-04-09 03:24:24 +00:00 by PlasticDigits · 4 comments
PlasticDigits commented 2026-04-09 03:24:24 +00:00 (Migrated from gitlab.com)

Evidence

  • smartcontracts/packages/dex-common/src/pair.rs

Epic

#61

## Evidence - `smartcontracts/packages/dex-common/src/pair.rs` ## Epic #61
PlasticDigits commented 2026-04-09 03:24:24 +00:00 (Migrated from gitlab.com)

marked this issue as related to #61

marked this issue as related to #61
PlasticDigits commented 2026-04-16 03:30:34 +00:00 (Migrated from gitlab.com)

@brouie Please verify GitLab #85. Implemented: hybrid_swap_accepts_max_maker_fills_at_hard_cap in smartcontracts/tests/src/limit_order_tests.rs using MAX_MAKER_FILLS_HARD_CAP (256) on a single-book-fill hybrid swap. Verify: cd smartcontracts && cargo test hybrid_swap_accepts_max_maker_fills_at_hard_cap.

@brouie Please verify GitLab #85. Implemented: `hybrid_swap_accepts_max_maker_fills_at_hard_cap` in `smartcontracts/tests/src/limit_order_tests.rs` using `MAX_MAKER_FILLS_HARD_CAP` (256) on a single-book-fill hybrid swap. Verify: `cd smartcontracts && cargo test hybrid_swap_accepts_max_maker_fills_at_hard_cap`.
Brouie commented 2026-04-20 06:52:15 +00:00 (Migrated from gitlab.com)

@PlasticDigits Verified on current main. smartcontracts/tests/src/limit_order_tests.rs has hybrid_swap_accepts_max_maker_fills_at_hard_cap. Ran locally: 1 passed, 0 failed (limit_order_tests::hybrid_swap_accepts_max_maker_fills_at_hard_cap ... ok).

Test covers: single-book-fill hybrid swap at MAX_MAKER_FILLS_HARD_CAP (256) boundary. Closing.

@PlasticDigits Verified on current main. smartcontracts/tests/src/limit_order_tests.rs has hybrid_swap_accepts_max_maker_fills_at_hard_cap. Ran locally: **1 passed, 0 failed** (limit_order_tests::hybrid_swap_accepts_max_maker_fills_at_hard_cap ... ok). Test covers: single-book-fill hybrid swap at MAX_MAKER_FILLS_HARD_CAP (256) boundary. Closing.
Brouie (Migrated from gitlab.com) closed this issue 2026-04-20 06:52:19 +00:00
Brouie commented 2026-04-20 07:26:42 +00:00 (Migrated from gitlab.com)

mentioned in issue #100

mentioned in issue #100
Sign in to join this conversation.
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#85
No description provided.