Errors/Chain errors

DuplicateOrderInBatch

Check the argument values against the operation schema

View as Markdown

Two entries in one execute_batched_orders call hash to the same order id, meaning the identical signed payload was included twice, which hard-fails the batch. Deduplicate by the blake2-256 hash of each SCALE-encoded VersionedOrder.

Declared by the LimitOrders pallet; it classifies to the semantic code invalid_argument.

Remediation

Check the argument values against the operation schema

The same explanation is available in the terminal: btcli explain DuplicateOrderInBatch.