Skip to content

refactor(market-maker): wire batch sizes into every multicall via config#19

Merged
shev-titan merged 1 commit into
devfrom
feat/coordinated-liquidation
May 26, 2026
Merged

refactor(market-maker): wire batch sizes into every multicall via config#19
shev-titan merged 1 commit into
devfrom
feat/coordinated-liquidation

Conversation

@shev-titan
Copy link
Copy Markdown
Contributor

Replace hardcoded WRITE_BATCH_SIZE (futures: 50) and max (perps: 200) with the existing config-driven cancelBatchSize / createBatchSize at the tx chunk level. Cancels and creates are now broadcast in separate multicall txs using their own chunk sizes, keeping the cancel-first ordering.

Also drop the unused writeBatchSize fields from config schema and YAMLs.

Replace hardcoded WRITE_BATCH_SIZE (futures: 50) and max (perps: 200) with
the existing config-driven cancelBatchSize / createBatchSize at the tx
chunk level. Cancels and creates are now broadcast in separate multicall
txs using their own chunk sizes, keeping the cancel-first ordering.

Also drop the unused writeBatchSize fields from config schema and YAMLs.
@shev-titan shev-titan merged commit 124c185 into dev May 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant