fix: Box large account structs to resolve Solana stack overflow (#61) #147

Merged
Brouie merged 2 commits from fix/issue-61-stack-overflow into feat/solana-integration 2026-03-19 10:55:04 +00:00
Brouie commented 2026-03-19 06:54:45 +00:00 (Migrated from gitlab.com)

deposit_spl exceeded stack limit by 16 bytes, withdraw_execute by 136 bytes. Fixed by Boxing large Account structs (BridgeConfig, DepositRecord, TokenMapping, ChainEntry, PendingWithdraw, ExecutedHash).\n\nClean build — no stack overflow warnings.\n\nCloses #61

deposit_spl exceeded stack limit by 16 bytes, withdraw_execute by 136 bytes. Fixed by Boxing large Account structs (BridgeConfig, DepositRecord, TokenMapping, ChainEntry, PendingWithdraw, ExecutedHash).\n\nClean build — no stack overflow warnings.\n\nCloses #61
PlasticDigits (Migrated from gitlab.com) approved these changes 2026-03-19 06:54:45 +00:00
Brouie commented 2026-03-19 08:48:17 +00:00 (Migrated from gitlab.com)

added 1 commit

  • 3d5c45f6 - fix: add js-sha3 dep and fix ESM import in hash_parity test (#62)

Compare with previous version

added 1 commit <ul><li>3d5c45f6 - fix: add js-sha3 dep and fix ESM import in hash_parity test (#62)</li></ul> [Compare with previous version](/PlasticDigits/cl8y-bridge-monorepo/-/merge_requests/7/diffs?diff_id=1712182036&start_sha=aee469d2492ba0469409e10ab8dca45898d1bc42)
PlasticDigits commented 2026-03-19 10:53:14 +00:00 (Migrated from gitlab.com)

added 1 commit

  • b21e2505 - fix: fix ESM import in hash_parity test (#62)

Compare with previous version

added 1 commit <ul><li>b21e2505 - fix: fix ESM import in hash_parity test (#62)</li></ul> [Compare with previous version](/PlasticDigits/cl8y-bridge-monorepo/-/merge_requests/7/diffs?diff_id=1712411485&start_sha=3d5c45f67574fc1c167a46fd84f85a4b6fd3b0ad)
PlasticDigits commented 2026-03-19 10:55:01 +00:00 (Migrated from gitlab.com)

approved this merge request

approved this merge request
PlasticDigits commented 2026-03-19 10:55:05 +00:00 (Migrated from gitlab.com)

mentioned in commit 80b32b17ec

mentioned in commit 80b32b17ec0b05a92cb3fed2fb58c6ef5a74263c
PlasticDigits (Migrated from gitlab.com) merged commit 80b32b17ec into feat/solana-integration 2026-03-19 10:55:05 +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-bridge-monorepo!147
No description provided.