Skip to content

fix(aztec): size deployment action batches around the fee payment's calls - #17

Open
Thunkar wants to merge 1 commit into
gj/deploy-universalfrom
gj/deploy-batch-fee-slot
Open

fix(aztec): size deployment action batches around the fee payment's calls#17
Thunkar wants to merge 1 commit into
gj/deploy-universalfrom
gj/deploy-batch-fee-slot

Conversation

@Thunkar

@Thunkar Thunkar commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The framework chunks same-account actions into batches of APP_MAX_CALLS, but the entrypoint's call limit counts the fee payment's calls too, so a full batch fails with Expected at most 5 function calls, got 6 whenever the fee adds a call (an FPC, a pending claim). FeeSession now exposes feeCallCount — read from the account's current payment method via getExecutionPayload().calls (0 when paying from balance) — and the chunker subtracts it. deploy.test.ts drives a layer past one batch.

🤖 Generated with Claude Code

…alls

The entrypoint's call limit counts the fee payment's calls, so a full
APP_MAX_CALLS batch overflows when the fee adds one (FPC, pending claim).
FeeSession exposes feeCallCount and the chunker subtracts it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Thunkar Thunkar self-assigned this Aug 18, 2026
@Thunkar
Thunkar requested a review from nventuro August 18, 2026 17:57
@Thunkar
Thunkar marked this pull request as ready for review August 18, 2026 17:57
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.

2 participants