You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: drop lib.lock.json and move auth-registry to @aztec/canonical-contracts
Drop `noir-projects/aztec-nr/canonical_addresses/lib.lock.json`. Its unique
fields (`artifactHash`, `srcContentHash`) are now embedded in the `DO NOT EDIT`
comment header of `lib.nr` instead. Update `renderNoirLib` to include both
fields and update the cycle guard to extract the stamped address directly from
`lib.nr` via grep/sed rather than jq.
Create `yarn-project/canonical-contracts/` as a new package `@aztec/canonical-
contracts` and move the entire auth-registry sub-package from
`@aztec/protocol-contracts` into it. The auth-registry is not a protocol
contract (it is deployed on first-use) so it belongs in a sibling package.
Update all consumers of `@aztec/protocol-contracts/auth-registry` to import
from `@aztec/canonical-contracts/auth-registry` instead.
if grep -q '^canonical_addresses[[:space:]]*='"$NARGO_TOML";then
21
21
echo"auth registry must not depend on its own address; use the private authwit path or move logic to a non-protocol helper.">&2
@@ -27,13 +27,13 @@ if [ ! -f "$ARTIFACT" ]; then
27
27
exit 1
28
28
fi
29
29
30
-
if [ !-f"$LOCK" ];then
31
-
echo"canonical_addresses lib.lock.json not found at $LOCK — run \`yarn workspace @aztec/protocol-contracts run regen:auth-registry-address\` from yarn-project/.">&2
30
+
if [ !-f"$LIB_NR" ];then
31
+
echo"canonical_addresses lib.nr not found at $LIB_NR — run \`yarn workspace @aztec/canonical-contracts run regen:auth-registry-address\` from yarn-project/.">&2
0 commit comments