Skip to content

test: aztec new scaffold works#20711

Merged
benesjan merged 4 commits into
merge-train/fairiesfrom
02-20-test_aztec_new_scaffold_works
Feb 20, 2026
Merged

test: aztec new scaffold works#20711
benesjan merged 4 commits into
merge-train/fairiesfrom
02-20-test_aztec_new_scaffold_works

Conversation

@benesjan

@benesjan benesjan commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

As @nchamo pointed out here we did not test that the generated project works. In this PR I add a test for it.

I decided to test the generated files instead of modifying setup_workspace.sh to copy the files from a real project because we already had counter_contract.sh test conveniently setup so this was the easiest way to do it - it's also nice that this way we actually run the generated test that deploys the contract.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@benesjan benesjan added the ci-draft Run CI on draft PRs. label Feb 20, 2026
@benesjan benesjan marked this pull request as ready for review February 20, 2026 11:52
@benesjan benesjan requested a review from charlielye as a code owner February 20, 2026 11:52
@benesjan benesjan removed the ci-draft Run CI on draft PRs. label Feb 20, 2026
@benesjan benesjan requested a review from nchamo February 20, 2026 12:07

@nchamo nchamo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for adding the test!

Comment thread aztec-up/test/default_scaffold.sh Outdated
Co-authored-by: Nicolas Chamo <nicolas@chamo.com.ar>
@benesjan benesjan merged commit 11309f4 into merge-train/fairies Feb 20, 2026
16 of 20 checks passed
@benesjan benesjan deleted the 02-20-test_aztec_new_scaffold_works branch February 20, 2026 13:58
github-merge-queue Bot pushed a commit that referenced this pull request Feb 23, 2026
BEGIN_COMMIT_OVERRIDE
refactor: aztec new and init creating 2 crates (#20681)
fix: hodgepodge of small things (#20720)
test: aztec new scaffold works (#20711)
feat: add `aztec profile` command with gate count profiling (#20695)
fix(txe): committing after txs (#20714)
feat: add aztec profile flamegraph command (#20741)
feat: printing out public contract function debug logs in a tx (#20749)
END_COMMIT_OVERRIDE
benesjan added a commit that referenced this pull request Apr 16, 2026
benesjan added a commit that referenced this pull request Apr 16, 2026
## Summary

Backports 6 PRs with aztec CLI improvements from `next` to `v4-next`:

- #20681 - refactor: aztec new and init creating 2 crates
- #20711 - test: aztec new scaffold works
- #20723 - feat(cli): warning if contract crate has tests
- #20729 - feat(cli): auto-recompiling when aztec test is run
- #21007 - feat: aztec new supporting multiple contract crates
- #21245 - feat: asserts that aztec dep version matches cli
@benesjan

Copy link
Copy Markdown
Contributor Author

Backported to v4-next in #22587

Thunkar added a commit that referenced this pull request Apr 17, 2026
BEGIN_COMMIT_OVERRIDE
fix(pxe): cap event filter toBlock to last synced block (#22573)
fix(pxe): round tx expiration timestamp to reduce precision (#22577)
fix: eliminate anvil watcher warp race and false success logs (#22584)
refactor: aztec new and init creating 2 crates (#20681)
test: aztec new scaffold works (#20711)
feat(cli): warning if contract crate has tests (#20723)
feat(cli): auto-recompiling when aztec test is run (#20729)
feat: aztec new supporting multiple contract crates (#21007)
feat: asserts that aztec dep version matches cli (#21245)
chore: backport aztec CLI improvements to v4-next (#22587)
feat: check noir release has nargo binaries before releasing (#22551)
chore: cache chainInfo in embeddedwallet (#22592)
fix: wrap external getCapsule in transactionAsync (#22595)
fix(pxe): throw clear error for invalid comparator in pick_notes
(#22585)
refactor(aztec-nr): rename conversion fns to encode_/decode_ naming
(#22576)
feat: infrastructure for testing `[new_contract_artfiacts,
old_aztec_stack]` (#22593)
chore: fix unnecessary and inconsistent side-effect counter increments
(#22245)
fix: update FaceID wallet redirects and strip anchors in redirect
validation (#22505)
docs: add getting started on testnet guide (#22366)
docs: add getting started on testnet guide (backport #22366) (#22619)
feat(aztec-nr): new BoundedVec emit private log APIs (#22064)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants