Skip to content

feat: merge-train/fairies#22323

Merged
AztecBot merged 2 commits into
nextfrom
merge-train/fairies
Apr 6, 2026
Merged

feat: merge-train/fairies#22323
AztecBot merged 2 commits into
nextfrom
merge-train/fairies

Conversation

@AztecBot

@AztecBot AztecBot commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator

BEGIN_COMMIT_OVERRIDE
fix: preserve DeployAccountMethod type in with() method chaining (#22322)
END_COMMIT_OVERRIDE

)

## Summary

- Override `with()` in `DeployAccountMethod` to return
`DeployAccountMethod` instead of the base `DeployMethod`, preserving
both the type and the `salt`/`account` fields
- Change `publicKeys`, `args`, and `constructorArtifact` visibility from
`private` to `protected` in `DeployMethod` so subclasses can override
`with()`
- Add optional `authWitnesses`/`capsules` params to
`DeployAccountMethod` constructor to support forwarding metadata

## Details

https://gist.github.com/AztecBot/22454f29f636b0ed7ecbeaf6437cf21a

Closes #22315

ClaudeBox log: https://claudebox.work/s/1e7b890a940e2ad6?run=8

@ludamad ludamad left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Auto-approved

@AztecBot

AztecBot commented Apr 6, 2026

Copy link
Copy Markdown
Collaborator Author

🤖 Auto-merge enabled after 4 hours of inactivity. This PR will be merged automatically once all checks pass.

@AztecBot AztecBot added this pull request to the merge queue Apr 6, 2026
Merged via the queue into next with commit 02ec7b5 Apr 6, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants