chonk-inputs
БесплатноБез исполняемых скриптовНе проверенManage pinned Chonk IVC inputs and the Chonk/rollup UltraHonk proving checks. Use when updating, testing, benchmarking, or reviewing the CI flow for Chonk…
от AztecProtocol★ 458 звёзд на GitHubОб этом скилле
Chonk Inputs
Pinned Chonk IVC inputs live in an S3 tarball keyed by barretenberg/cpp/scripts/chonk-inputs.hash. The owner scripts are:
barretenberg/cpp/scripts/pinned_chonk_inputs.shfor shared shell helpers.barretenberg/cpp/scripts/chonk_inputs.shfor download, check, and update.barretenberg/cpp/scripts/ci_update_chonk_inputs.shfor the PR push-back step.
Use the scripts instead of open-coding URLs, hashes, temp paths, or bucket listings.
Pins to keep in sync
A bb/proof-system change that rotates VKs touches THREE tracked pins, and all of them feed the captured Chonk flows:
- The mock artifact pin
noir-projects/fnd/mock-protocol-circuits/pinned-build.tar.gzfreezes mock protocol circuit bytecode and VKs used by Chonk fixture capture. - The standard-contracts pin
labs/noir-projects/noir-contracts/pinned-standard-contracts.tar.gzfreezes thecontracts/standard/artifacts with their precomputed VKs and deterministic addresses.noir-contracts/bootstrap.sh buildextracts it and excludesstandard/from recompilation, so these VKs only refresh viapin-standard-build(step 5). - The Chonk flow pin
barretenberg/cpp/scripts/chonk-inputs.hashpoints to the S3 tarball of capturedivc-inputs.msgpackflows. Those msgpacks embed bytecode, witnesses, circuit kinds, and precomputed VKs — including the standard-contract VKs above, so the standard-contracts pin must be correct before recapturing flows.
noir-projects/fnd/noir-protocol-circuits/pinned-build.tar.gz is not a current tracked pin on the next line. noir-projects/fnd/bootstrap.sh pin-build may generate it as untracked local build output; do not commit it unless intentionally reintroducing that large artifact pin.
If a bb/proof-system change can affect VKs, refresh in this order:
Rebuild the AVM-enabled bb binary so the regenerated VKs reflect the change.
cmake --build build --target bbis not enough:noir-projects/fnd/noir-protocol-circuits/bootstrap.shresolves the bb binary viabarretenberg/cpp/scripts/find-bb, which returnsbb-avm(notbb) unlessAVM=0. Frombarretenberg/cpp/:cmake --preset default -DAVM=ON cmake --build build --target bb-avmRepin Noir artifacts with the AVM-enabled binary:
./bootstrap.sh pin-buildfromnoir-projects/fnd/. Do not setAVM=0— the*-tx-base-publiccircuits verify an AVM proof, so non-AVMbbfails their VK generation with "AVM recursion is not supported in this build". Because pin-build runs underset +e, that failure does not abort the run; it silently archives an incompletepinned-build.tar.gzwith stale/missing VKs.Keep the tracked
noir-projects/fnd/mock-protocol-circuits/pinned-build.tar.gzdiff.Remove the generated untracked
noir-projects/fnd/noir-protocol-circuits/pinned-build.tar.gzunless intentionally reintroducing that large pin.Repin the standard contracts iteratively, and regenerate their address stamps. A stale standard-contracts pin surfaces as a "Computed VK differs from precomputed VK" mismatch on a
standard/contract function during chonk capture verification. Repinning is not a single command:pin-standard-buildcompiles the standard contracts against the currentstandard_addresses.nrand tarballs them — it does NOT regenerate the stamps, and standard contracts can reference each other's deterministic addresses. Because a contract's address depends on its bytecode, which depends on the addresses it embeds, you must repeat the re-pin + stamp-regeneration until a round changes nothing (the addresses stop moving):cd labs/noir-projects/noir-contracts # repeat this pair until `generate` makes no change (exits 0, no "Changed values"): BB=$(realpath ../../barretenberg/cpp/build/bin/bb-avm) ./bootstrap.sh pin-standard-build (cd ../../yarn-project && yarn workspace @aztec/standard-contracts generate) # rewrites stamps; exits non-zero on driftBBdefaults to non-AVMbb; set it tobb-avmexplicitly. Once converged, runmake noir-projectsfrom the repo root once to recompile dependents against the final addresses, then commit the pin together with the two regenerated stamp files:yarn-project/standard-contracts/src/standard_contract_data.tslabs/noir-projects/aztec-nr/aztec/src/standard_addresses.nr
Two failure modes if you cut corners: skipping the stamp regen rotates the contract addresses out from under the committed stamps → a cascade of contract-class / "address not updated" failures; stopping before the addresses stabilize leaves a pinned contract calling another standard contract's previous address → e2e capture aborts with
Function artifact not found for contract 0x…during flow execution.Recapture and upload Chonk flows with
barretenberg/cpp/scripts/chonk_inputs.sh update(only after step 5 is committed, since the capture embeds the standard-contract VKs).
After pin-build, sanity-check that the tracked
Установить chonk-inputs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл chonk-inputs?
Manage pinned Chonk IVC inputs and the Chonk/rollup UltraHonk proving checks. Use when updating, testing, benchmarking, or reviewing the CI flow for Chonk input refreshes.
Как установить скилл chonk-inputs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл chonk-inputs запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub