PV11 cost-model governance bootstrap fails with "Plutus cost models update failed: null" (yaci-cli 0.12.0-beta5, -b1)
まだ誰も着手していません。
評価
調査の方向性
Start with the LocalNodeService.updateCostModels path that the log message points to, and find where the plutus-costmodels-v11.json file is read and submitted as a governance proposal. Reproduce with the docker run command in the issue, then check whether GET /api/v1/epochs/parameters shows 350 PlutusV3 entries. Done means the bootstrap logs success and the PV11 cost model is applied, which needs Cardano governance knowledge.
索引モデルが issue の本文から書いたものです。
説明
Summary
On bloxbean/yaci-cli:0.12.0-beta5 (and 0.12.0-beta5-b1) the devnet node runs protocol version 11, but the automatic Plutus cost-model governance update fails on first run, so the chain keeps the pre-PV11 (251-entry) PlutusV3 cost model. The node then costs the missing PV11 entries (batch6 builtins, case on non-constructor values) as maxBound, so any PV11-compiled PlutusV3 script fails on-chain with a huge budget overspend, while off-chain evaluators that use proper PV11 costs consider the same transaction valid.
Reproduction
Equivalent to what yaci-cardano-test's YaciCardanoContainer runs:
docker run -d --name yaci-pv11 \
-e yaci_cli_mode=native -e yaci_store_mode=native \
-e conwayHardForkAtEpoch=1 -e shiftStartTimeBehind=true \
-e yaci_store_enabled=true -e ogmios_enabled=true \
--entrypoint /app/yaci-cli -p 8080:8080 \
bloxbean/yaci-cli:0.12.0-beta5 \
create-node -o --slot-length 1 --block-time 1 --start
Container log:
Submitting Plutus cost models governance proposal...
Using Plutus cost models file: plutus-costmodels-v11.json
Plutus cost models update failed: null
Plutus cost models governance proposal failed. Extended builtins may not be available.
(The message text suggests a NullPointerException inside LocalNodeService.updateCostModels.)
Afterwards GET /api/v1/epochs/parameters reports protocol_major_ver: 11 but the PlutusV3 cost model still has only 251 entries (the correct 350-entry model is present in the image at /app/config/plutus-costmodels-v11.json).
Effect
Submitting a transaction with a PV11-compiled PlutusV3 script (e.g. one using case on built-in values) fails with:
ConwayUtxowFailure (UtxoFailure (UtxosFailure (ValidationTagMismatch (IsValid True)
(FailedUnexpectedly (PlutusFailure ...
The machine terminated part way through evaluation due to overspending the budget.
The budget when the machine terminated was:
({cpu: -9223372036842497312 | mem: -9223372036854734533})
The protocol version is: Version 11
So the devnet cannot execute scripts that target the van Rossem protocol version even though the node itself is PV11.
Environment
bloxbean/yaci-cli:0.12.0-beta5and0.12.0-beta5-b1, arm64, Docker Desktop on macOS- Observed both via
yaci-cardano-test0.1.0 (Testcontainers) and plaindocker runas above
- 主要言語
- Java
- スター
- 70
- フォーク
- 21
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bloxbean/yaci-devkit のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bloxbean/yaci-devkit#87 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
bloxbean/yaci-devkit#221 · コメント 2 件 · リアクション 1 件 ·
-
npm wrapper: SIGTERM/SIGINT orphans yaci-cli and leaves a stale PID file対応中かも @satran004 が 17 日前に担当しました。 オープン
難易度 3/5 半日 初心者へのやさしさ 55/100
bloxbean/yaci-devkit#220 · 担当者 1 名 ·
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
bloxbean/yaci-devkit#207 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
bloxbean/yaci-devkit#197 ·
bloxbean/yaci-devkit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bloxbean/yaci-store#1445 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
Spare Permissionオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
Etar-Group/Etar-Calendar#2234 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] MCP resources-as-tools drops invocation context when listing templates対応中かも @CryoThrust が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
langchain4j/langchain4j#7320 ·
メンテナーはふだん 1 日以内に返信