Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): adjust chunk size calculation for APDU length limits
- Subtract data length from MAX_APDU_LEN when splitting messages - Fix chunk size calculation in deployModule and initContract - Update split_message calls to account for header bytes - Ensure first chunk (len + data) stays within MAX_APDU_LEN limit Fixes APDU length overflow where first chunk (2 bytes length + data) exceeded MAX_APDU_LEN by not accounting for the length bytes in the available space calculation.
- Loading branch information