Skip to content

fix: type errors in block_capacity.test.ts#21337

Draft
AztecBot wants to merge 1 commit intomerge-train/spartanfrom
claudebox/fix-block-capacity-types
Draft

fix: type errors in block_capacity.test.ts#21337
AztecBot wants to merge 1 commit intomerge-train/spartanfrom
claudebox/fix-block-capacity-types

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 10, 2026

Summary

  • Fixed 3 TypeScript type errors in end-to-end/src/spartan/block_capacity.test.ts introduced by the new send() return type API
  • DeployResultMined needs destructuring to get the contract instance ({ contract })
  • TxSendResultImmediate needs destructuring to get the tx hash ({ txHash })

Test plan

  • yarn tsgo -b --emitDeclarationOnly passes with zero errors
  • format --check passes

ClaudeBox log: https://claudebox.work/s/42d3d9e5bd820df4?run=1

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 10, 2026
@AztecBot AztecBot force-pushed the claudebox/fix-block-capacity-types branch from 9a7ae2f to 117f917 Compare March 10, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant