aztec-packages: v0.6.0
Pre-release
Pre-release
0.6.0 (2023-09-08)
� BREAKING CHANGES
- update to acvm 0.24.0 (#1925)
- Barretenberg binaries now take in the encoded circuit instead of a json file (#1618)
Features
CompleteAddress
type and overall AztecRPC refactor (#1524) (aa2c74c)FunctionSelector
type (#1518) (942f705), closes #1424GrumpkinScalar
type (#1919) (3a9238a)- 892: Add hints for matching transient read requests with correspondi& (#1995) (0955bb7)
- Add
info
command to bb (#2010) (1fd8196) - Add ARM build for Mac + cleanup artifacts (#1837) (270a4ae)
- Add msgpack defs to remaining circuit types (#1538) (22037d8)
- Add support for assert messages & runtime call stacks (#1997) (ac68837)
- Add workflow to output to dev-bb.js (#1299) (624ffaf)
- aztec-js: Account class (#1429) (e788745)
- aztec-js: Remove sender from execution request and add batching (#1415) (05b6e86)
- aztec-js: Return contract instance when awaiting deploy tx (#1360) (e9c945c)
- aztec-js: Tx.wait waits for rpc to be synced (#1381) (261032e), closes #1340
- aztec-noir: Align public and private execution patterns (#1515) (35a81c3)
- Aztec.nr: Kernel return types abstraction (#1924) (3a8e702)
- bb: Use an environment variable to set the transcript URL (#1750) (31488c1)
- blocks_tree: Compute block hashes within root rollup circuit (#1214) (71dc039)
- Broadcasting 'public key' and 'partial address' as L1 calldata (#1801) (78d6444), closes #1778
- CDP/Lending example contract (#1554) (ecf6df2)
- Celer benchmark (#1369) (7ec6b32)
- Check sandbox version matches CLI's (#1849) (7279730)
- Checking if origin is registered (#1393) (8b3a064), closes #1230
- ci: Initial release please config (#1769) (4207559)
- circuits: Hints nullifier transient commitments (#2056) (725b550)
- ci: Use content hash in build system, restrict docs build to *.ts or *.cpp (#1953) (0036e07)
- cli: Noir contract compiler CLI (#1561) (4af4845), closes #1457
- cli: Retry on http errors (#1606) (7af5994)
- cli: Use options instead of args in get-logs (#1559) (9f40ef8)
- Compress debug symbols (#1760) (9464b25)
- Do not allow slot 0 in
noir-libs
(#1884) (54094b4), closes #1692 - docs: Add tabs for deploying contract with cli and aztec.js (#1703) (d2a284d)
- docs: Adding some nitpick suggestions before sandbox release (#1859) (c1144f7)
- docs: Cheatcode docs (#1585) (b1a2f8f)
- docs: Set up noir contracts in getting-started (#1770) (33eb99d)
- docs: Testing guide and getPrivateStorage method (#1992) (5a8c571)
- Generate public context contract interfaces (#1860) (2f4045e), closes #1782
- Goblin recursive verifier (#1822) (f962cb6)
- Honk recursive verifier Pt. 1 (#1488) (4669555)
- Initial
is_valid
eip1271 style wallet + minimal test changes (#1935) (f264c54) - Initial cheatcode
loadPublic
(#1353) (75c35a7) - Initial portal docs + minor cleanups (#1469) (37316f4)
- Initial trazability of ACIR (#1701) (89e4e1a)
- Minimal barretenberg .circleci (#1352) (36e4239)
- More reliable getTxReceipt api. (#1793) (ad16b22)
- New NoteProcessor works through all blocks (#1404) (c8e7d53)
- New stdlib Transcript (#1219) (2f66de1)
- No unencrypted logs in private functions (#1780) (4d8002e), closes #1689
- No unlimited retries by default in aztec.js (#1723) (95d1350)
- noir-contracts:
Option
for get_notes (#1272) (584b70f) - noir: Autogenerate contract interface for calling from external contracts (#1487) (e9d0e6b)
- noir: Better NoteGetterOptions. (#1695) (2f78293)
- noir: Use
#[aztec(private)]
and#[aztec(public)
attributes (#1735) (89756fa) - Not retrying unrecoverable errors (#1752) (c0f2820)
- oracle: Add oracle to get portal contract address (#1474) (5cce848)
- Pin noir commit to aztec tag (#1461) (afe601a)
- Public view functions (unconstrained can read public storage) (#1421) (912c1b4)
- Recursive fn calls to spend more notes. (#1779) (94053e4)
- Register-public-key & CLI update to use options instead of args (#1397) (d142181)
- Simulate enqueued public functions and locate failing constraints on them (#1853) (a065fd5)
- Throw when creating an instance of non-existent contract (#1300) (5353ed0), closes #1225
- Throwing when submitting a duplicate tx of a settled one (#1880) (9ad768f), closes #1810
- Timing in build system (#1411) (b30f43f)
- Typos, using Tx.clone functionality, better naming (#1976) (00bca67)
- Update safe_math and move to libraries (#1803) (b10656d)
- Updated noir version (#1581) (91f9047)
- Write debug-level log to local file in Sandbox (#1846) (0317e93), closes #1605
- yarn: Run workspace commands in parallel (#1543) (791f1cc)
Bug Fixes
- Accidental git marker (#2039) (2be9908)
- acir: When retrying failed ACIR tests it should not use the default CLI argument (#1673) (910b103)
- Add noir clean command & clean noir artifacts when building (#1482) (8e722c3)
- Add retry to tag and docker actions (#2099) (9f741f4)
- Add retry_10 around ensure_repo (#1963) (0afde39)
- Adds Mac cross compile flags into barretenberg (#1954) (3aaf91e)
- Align bbmalloc implementations (#1513) (c512fcd)
- Barretenberg binaries now take in the encoded circuit instead of a json file (#1618) (4bc551e)
- Bb meta-data (#1960) (712e0a0)
- Bb sync take 2 (#1669) (fd09bc2)
- bb.js: (breaking change) bundles bb.js properly so that it works in the browser and in node (#1855) (1aa6f59)
- bb: Fix Typo (#1709) (287f5ae)
- Benchmark git repo (#2041) (3c696bb)
- Benchmark preset uses clang16 (#1902) (4f7eeea)
- breaking change: Change embedded curve scalar mul to use two limbs to properly encode the scalar field (#2105) (070cc4c)
- Broken bootstrap.sh after renaming
aztec-cli
dir ascli
(#2097) (2386781) - Browser test in canary flow (#2102) (d52af6c), closes #2086
- Build (#1906) (8223be1)
- Build script (#2017) (23fce27)
- Build-system spot request cancellation (#1339) (0c8ce7d)
- build-system: Undefined IMAGE_TAG and ARG_TAG (#2030) (dfdba4b)
- build: Config fixes for release please (#2123) (7b4f30d)
- build: Use semver version in docker version tag (#2065) (b3db0d0)
- Canary browser test transfer method (#2126) (a23b037)
- Check a note is read before nullifying it. (#2076) (aabfb13), closes #1899
- ci: Incorrect content hash in some build targets (#1973) (0a2a515)
- ci: Publish missing sandbox dependency (#1599) (52c7966)
- Circuits issues when building with gcc (#2107) (4f5c4fe)
- Circuits should not link openmp with -DMULTITHREADING (#1929) (cd1a685)
- Clang version in README and subrepo edge case (#1730) (26d836d)
- Cli canary & deployment (#2053) (1ddd24a)
- cli: Fixes in get-logs and deploy commands (#1572) (493405b)
- COMMIT_TAG arg value in canary Dockerfile (#2118) (a3d6459)
- Compilation on homebrew clang 16.06 (#1937) (c611582)
- Complete JS call stacks across ACVM wasm boundaries (#2013) (8e84e46)
- Conditionally compile base64 command for bb binary (#1851) (be97185)
- Default color to light mode (#1847) (4fc8d39)
- Deploy_ecr calculating CONTENT_HASH (#2024) (edee198)
- Disable uniswap until #1367 (#1368) (7a1c4f7)
- Disallow unregistered classes in JSON RPC interface and match by name (#1820) (35b8170)
- Do not warn on mismatched cli/sandbox version (#1894) (a44a0f6)
- Docs preprocessor line numbers and errors (#1883) (4e7e290)
- docs: Fix code snippet preprocessor (#1485) (db0cc14)
- Don't include SRS in sandbox docker img (#1704) (aa7f662)
- Dont assume safety of nvm (#2079) (a4167e7)
- Download SRS using one canonical URL across the codebase (#1748) (899b055)
- End-to-end aztec cli dependency issue (#2092) (16ee3e5)
- Ensure CLI command doesn't fail due to missing client version (#1895) (88086e4)
- Ensure noir clean doesnt error (#1613) (ee00df5)
- Ensure_repo undefined-safe (#2025) (e36fb6b)
- Error handling in acir simulator (#1907) (165008e)
- File reference to canary docker-compose file (#2124) (13d3f16)
- Fix off by one in circuits.js when fetching points from transcript (#1993) (cec901f)
- Fix paths in
barretenberg
bootstrap.sh script (#1662) (24bbfd4) - Fix race condition between RPC Server and Aztec Node (#1700) (4c89941)
- Fixed a failing test and added a small fuzzer (#1384) (f258e08)
- Fixing fuzzing build after composer splitting (#1317) (6b2e759)
- Format.sh issues (#1946) (f24814b)
- Hack an ordering index for enqueued public calls (#1639) (87712e8), closes #1624
- Increment time by 1 for previous rollup was warped (#1594) (2a52107)
- Master (#1981) (6bfb053)
- Minor annoyances (#2115) (a147582)
- Mirror after direct bb merge (#1651) (5f08fff)
- More accurate c++ build pattern (#1962) (21c2f8e)
- Noir contract artifacts generation in CI (#1366) (f715a55)
- noir-ci: Reinstate artifact builds (#1396) (2c43878)
- Noir-contracts build (#1362) (71384b0)
- noir: Add workaround for latest noir in account contracts (#1781) (eb8a052)
- Option to fail silently when retrying (#2015) (453c9c1)
- Padded printing for e2e-cli (#2106) (5988014)
- Polyfill by bundling fileURLToPath (#1949) (1b2de01)
- Post bb merge sync (#1697) (d27a026)
- Proving fails when circuit has size > ~500K (#1739) (708b05c)
- Race condition (#1427) (cd78ec9)
- Remaining refs to clang15 (#2077) (2c16547)
- Remove automatic update to
AztecProtocol/dev-bb.js
(#1712) (6969f6d) - Remove extra transfer arg in CLI Guide (#1887) (55728b8)
- Reset keccak var inputs to 0 (#1881) (382f07e)
- Retry git submodule fetch (#1371) (5cf9c20)
- Return DecodedReturn instead of any[] (#1540) (2e344e1)
- Revert clang check bootstrap.sh (#1734) (a931e07)
- rpc: Fix bigint serialisation in API responses (#1644) (d1ce814)
- rpc: Fixes getNodeInfo serialisation (#1991) (0a29fa8)
- rpc: Validate accounts registered in the rpc server are sound (#1431) (77b096b)
- Run e2e tests without spot (#2081) (f0aa3ca)
- sandbox: Build script for tagged commits (#2057) (c9d9722)
- Selector name regression (#1800) (a5be8bb)
- Set correct version of RPC & Sandbox when deploying tagged commit (#1914) (898c50d)
- Set side effect counter on contract reads (#1870) (1d8881e), closes #1588
- simulator: Use nullifier.value in client's
pendingNullifier
set soset.has()
works (#1534) (a78daf7) - synchroniser: Store most recent globals hash in the synchroniser, rather than fetching from the latest block (#1539) (1dd6225)
- sync: Sync latest globals within merkle tree ops (#1612) (03b4cf6)
- Truncate SRS size to the amount of points that we have downloaded (#1862) (0a7058c)
- Try to catch last undefined safety issues (#2027) (12e7486)
- Typescript lookup of aztec.js types (#1948) (22901ae)
- Undefined safety in master part 5 (#2034) (41eccaa)
- Unify base64 interface between mac and linux (cherry-picked) (#1968) (ee24b52)
- Update barretenberg bootstrap.sh for mac (#1732) (83a212a)
- Update bootstrap compilation order (#1398) (c03a6fa)
- Update decoder block specification comment (#1690) (5a0a4c4)
- Update docs search config (#1920) (c8764e6)
- Update docs search keys (#1931) (03b200c)
- Updated CLI readme (#2098) (2226091), closes #1784
- Use COMMIT_TAG_VERSION properly in deploy_dockerhub (#2033) (064ddc3)
- Use exit, not return in retry_10 (#1468) (a65727a)
- Use WARN or ERROR "tags" for warnings and errors (#1589) (fb80522), closes #1607
- Used dumped state instead of fork (#1399) (c265e73)
- Yarn install in canary (#1454) (9bbe79e)
Miscellaneous
AztecRPC
API using sandbox (#1568) (b2662db)- 1074: Remove read request data from final private kernel circuit public inputs (#1840) (c61557a)
- 1407: Remove forwarding witnesses (#1930) (cc8bc8f), closes #1407
- 1879: Add use of PrivateKernelPublicInputs in TS whenever relevant (#1911) (8d5f548)
- Acir tests are no longer base64 encoded (#1854) (7fffd16)
- Add back double verify proof to test suite (#1986) (f8688d7)
- Add browser test to canary flow (#1808) (7f4fa43)
- Add CLI test to canary flow (#1918) (cc68958), closes #1903
- Add FunctionData.fromAbi for QoL (#1333) (6f5fc3b)
- Add rebuild pattern for bb-bin-tests to rebuild when ts folder is changed and add target folder for bb-bin-test (#1640) (b3ee3d9)
- Add safemath noir testing (#1967) (cb1f1ec)
- Add tests that check ordering of public state updates (#1661) (5b9aedd)
- Add todo for using generator indices in note commitment and nullifier computation. (#1762) (2db6728)
- Another pedantic change to public state naming (#1359) (cb77440)
- Aztec RPC interface cleanup (#1423) (1a6168a)
- Aztec.nr: Remove implicit imports (#1901) (c7d5190)
- Aztec.nr: Remove the open keyword from public functions (#1917) (4db8603)
- bb: Refactor bb CLI interface (#1672) (a5bf6e0), closes #1671
- bb: Upgrade to clang16 for Linux builds (#1705) (feb53aa)
- blocks tree: Remove historic roots trees (#1355) (ac935e1)
- Build-system submodule=>subrepo (#1378) (29ab491)
- build: Fixed manifest (#2122) (91faa66)
- build: Unify barretenberg releases with aztec-packages (#2120) (82823d8)
- ci: Build docs on every pr (#1955) (c200bc5)
- ci: Clean up stale image tags (#1818) (3c8b7b8)
- ci: Deploy sandbox dependencies to npm (#1593) (d90c460), closes #1536
- ci: Fix output name in release please workflow (#1858) (857821f)
- circuits: - remove dead code from cbind of private kernel circuit (#2088) (43dc9d7)
- circuits: - use msgpack for cbind routines of native private kernel circuits (#1938) (3dc5c07)
- circuits: Remove dead code in cbind.cpp for public kernel (#2094) (861f960)
- circuits: Rename function to validate private call hash in PKC (it pops too) (#1418) (a76496f)
- ci: Set up nightly barretenberg releases (#1761) (e0078da)
- ci: Update acir tests to reflect compilation based off of package name (#1405) (bb38c7a)
- ci: Update build artifacts for recursion bin-test and enable bin-test (#1326) (48aa541)
- ci: Updated release please config (#1775) (0085e8b)
- ci: Updated release please configuration (#1787) (6eb2f7a)
- CLI tests (#1786) (2987065), closes #1450
- Compile minimal WASM binary needed for blackbox functions (#1824) (76a30b8)
- compiler: Remove wasm option from noir compiler (#1628) (c552322)
- Conservatively raise the minimum supported clang version in CMakeList (#2023) (f49c416)
- Consistent block number method naming (#1751) (df1afe2)
- constants: Bump number of private reads and writes (#2062) (ab6c6b1)
- contracts: Rename Schnorr multi key account to just Schnorr account (#1447) (3afd853)
- contracts: Use autogenerated Noir interfaces where possible (#2073) (bd6368b), closes #1604
- Create fixtures folder in E2E (#1419) (b8972b4)
- deps: Remove deprecated multiaddr dependency (#1631) (e72d226)
- Disable fft functions for polynomials instantiated on Grumpkin (#1471) (f09909a)
- docs: API docs stucture (#2014) (9aab9dd)
- e2e: Initial e2e test for CLI (#1576) (c2c30da)
- e2e: Trigger public call stack ordering error (#1637) (5ef2a83), closes #1615
- Enable project-specific releases for dockerhub too (#1721) (5d2c082)
- Enable project-specific tagged releases (#1425) (28cbe7b)
- Enforce PR titles follow conventional commit specification (#1706) (eeb38ac)
- Fix acir-tests (#1435) (4b9b3fe)
- Fix dirty merge (#1574) (58dc9bf)
- Fix typo (#1681) (7ac25ea)
- Fixed linter errors for
ecc
,numeric
andcommon
modules (#1714) (026273b) - Make stdlib bn254 naming match native version (#1560) (347a38a)
- Manually resolves barretenberg conflicts (#1455) (b137f85)
- master: Release 0.1.0-alpha45 (#1774) (e910929)
- master: Release 0.1.0-alpha46 (#1777) (13ab91d)
- master: Release 0.1.0-alpha47 (#1788) (1970651)
- master: Release 0.1.0-alpha48 (#1804) (e89cd26)
- master: Release 0.1.0-alpha49 (#1882) (685e3a9)
- master: Release 0.1.0-alpha50 (#1900) (8135fee)
- master: Release 0.1.0-alpha51 (#2018) (c5d95c8)
- master: Release 0.1.0-alpha52 (#2020) (0c6dd60)
- master: Release 0.1.0-alpha53 (#2026) (1990779)
- master: Release 0.1.0-alpha54 (#2028) (a0ccd4a)
- master: Release 0.1.0-alpha55 (#2031) (4c9a438)
- master: Release 0.1.0-alpha56 (#2032) (7cac648)
- master: Release 0.1.0-alpha57 (#2035) (6b93483)
- master: Release 0.1.0-alpha58 (#2037) (b652ca4)
- master: Release 0.1.0-alpha59 (#2038) (3f833c7)
- master: Release 0.1.0-alpha60 (#2040) (fbd8b67)
- master: Release 0.1.0-alpha61 (#2059) (5324750)
- master: Release 0.1.0-alpha62 (#2060) (28a877b)
- master: Release 0.1.0-alpha63 (#2078) (a5f2852)
- Merge bb release-please (#2080) (e89b043)
- Move jsdocs to interfaces (#1356) (7f7519d)
- Move storage into main.nr. (#2068) (2c2d72b)
- noir-lib: Add unit tests for context utility functions (#1481) (1d2c5d4)
- noir-libs: TransparentNote rework (#1412) (22fb8fe)
- noir: Silence warnings (#1544) (ac1dc4b)
- Not breaking note processing on missing hash and nullifier func (#1364) (861db2a)
- p2p: Updated libp2p dependencies (#1792) (79df831)
- Protogalaxy relations (#1897) (35407e2)
- Re-enabling pubkey check (#1720) (5385b18)
- Reduce max circuit size in bb binary (#1942) (c61439b)
- Reenable and refactor nested calls e2e tests (#1868) (570de80), closes #1587
- Refactor Cli interface to be more unix-like (#1833) (28d722e)
- Refactor hash.hpp to use const& (#1578) (4c329af)
- Reference noir master for acir tests (#1969) (86b72e1)
- Remove debug output from
run_acir_tests
script (#1970) (74c83c5) - Remove individual historic roots from privateCircuitPublicInputs (#1571) (088cbe5)
- Remove Params concept (#1541) (f4bd85e)
- Removed
getPreimagesAt
(#1517) (7e14e7b), closes #1502 - Rename public state serialisation interface structs for clarity (#1338) (cb2d210)
- Renamed take to limit (#1361) (ba9d00b), closes #1231
- Renaming storage getters (#1348) (cb5ce9e)
- Required option in aztec-cli (#1584) (f287416)
- Restructure documentation (#1437) (da74f58)
- Rework nonces (#1210) (#1331) (665cb75)
- Sandbox logging tweaks (#1797) (0e3914e)
- scripts: Convenience script to update local generated artifacts (#1349) (317981a)
- Simplified AztecRpc.registerAccount function (#1729) (8e5f828)
- simulator: Initialize ACVM's SimulatedBackend separately (setup pedersen init only happens once) (#1596) (1a260ed)
- Split out yarn-project bootstrap.sh (#1790) (1788fe6)
- Split SumcheckRound into Prover/Verifier classes (#1373) (8b1d48a)
- Start sandbox as a bin from npm package (#1595) (3f793b9)
- Storing
&mut context
in state vars (#1926) (89a7a3f), closes #1805 - Sync bb master (#1710) (0039c4f)
- Sync bb master (#1713) (ec5241c)
- Sync bb master (#1776) (7c6fb15)
- Sync bb master (#1842) (2c1ff72)
- Sync bb master (#1852) (f979878)
- Sync bb master (#1866) (e681a49)
- Sync bb master (#1947) (eed58e1)
- tests: Use account class for e2e browser tests (#1446) (ff7ad30)
- tests: Use new account class in e2e tests (#1433) (fe41757)
- Typescript script names should be consistent (#1843) (eff8fe7)
- Update bootstrap.sh in Barretenberg to check for clang 16 (#1717) (87815d7)
- Update formatting (#1874) (fb973ca)
- Update function selector computation (#2001) (e07ea1a)
- Update noir readme alter noir bootstrap to always install tagged version (#1563) (bfc79c2)
- Update pull request template (#1379) (a463dff)
- Update to acvm 0.24.0 (#1925) (e728304)
- Update to acvm 0.24.1 (#1978) (31c0a02)
- Updating docs to clang16 (#1875) (a248dae)
- Use 2^19 as
MAX_CIRCUIT_SIZE
for NodeJS CLI (#1834) (c573282) - Use context instead of custom oracles for public functions (#1754) (46de77a)
Documentation
- Account contract tutorial (#1772) (0faefba)
- Compile guide (#1575) (d93fa96), closes #1569
- Convert quick start guides into e2e tests (#1726) (802a678), closes #1564
- Deploy command fix (#1634) (a0a43d6)
- Deploying contracs fixes (#1633) (5036b31)
- Deploying contracts using
aztec-cli
(#1592) (b43d7a0) - Derivation is not yet implemented for keys (#1632) (881bc71)
- Developer/wallet-providers/keys (#1271) (d70c45b)
- Events (#1768) (5a38cea), closes #1756
- Including "real" code in keys docs (#1767) (cd9cadb)
- keys: Complete addresses are now broadcast (#1975) (92068ad), closes #1936
- Limitations, privacy, roadmap (#1759) (0cdb27a)
- limitations: Limitations on ordering and logs of chopped notes (#2085) (315ad3d), closes #1652
- Link to local ethereum nodes in testing guide (#2061) (e29148b)
- Lists of questions to be addressed (#1414) (64bf57b)
- Put dev docs before spec (#1944) (f1b29cd)
- Quick start guide for up page (#1573) (b102517)
- Some initial noir contract docs (#1449) (a3514c3)
- Storage and state variables (#1725) (fc72f84)
- Use the pre-processor code snippet import method (#1719) (54f6410)
- Wallet dev docs (#1746) (9b4281d), closes #1744
barretenberg.js: 0.6.0
0.6.0 (2023-09-08)
Miscellaneous
- barretenberg.js: Synchronize aztec-packages versions
barretenberg: 0.6.0
0.6.0 (2023-09-08)
Miscellaneous
- barretenberg: Synchronize aztec-packages versions