Skip to content

fix(dto): cap split-arrays at 50 recipients — bounded release on-chain - #668

Open
yggdrasilworld wants to merge 1 commit into
MergeFi:mainfrom
yggdrasilworld:fix/split-array-maxsize-581
Open

yggdrasilworld wants to merge 1 commit into
MergeFi:mainfrom
yggdrasilworld:fix/split-array-maxsize-581

Conversation

@yggdrasilworld

Copy link
Copy Markdown

What

SplitReleaseDto/CreateTeamDto had @ArrayMinSize(1) but no max — the contract's release() iterates every recipient (one token transfer each), so an unbounded split exceeded Soroban's per-transaction resource limits and failed on-chain.

Fix

@ArrayMaxSize(50) on all three split-arrays.

Resolves #581

SplitReleaseDto + CreateTeamDto had @ArrayMinSize(1) but no max — the
contract's release() iterates every recipient (one token transfer each), so
an unbounded split exceeded Soroban's per-transaction resource limits and
failed on-chain. Cap at 50.

Resolves MergeFi#581
@vercel

vercel Bot commented Oct 14, 2026

Copy link
Copy Markdown

@yggdrasilworld is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

SplitReleaseDto and CreateTeamDto accept an unbounded number of recipients/members

1 participant