Summary
On bloxbean/yaci-cli:0.12.0-beta5 the bundled yaci-store's GET /api/v1/epochs/parameters returns cost models only for PlutusV1 (166 entries) and PlutusV3 (251 entries). PlutusV2 is missing entirely, even though the devnet node's Alonzo genesis contains both PlutusV1 and PlutusV2 cost models.
Reproduction
Start a devnet (same command yaci-cardano-test uses):
docker run -d --name yaci-devnet \
-e yaci_cli_mode=native -e yaci_store_mode=native \
-e conwayHardForkAtEpoch=1 -e shiftStartTimeBehind=true \
-e yaci_store_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
Then:
curl -s localhost:8080/api/v1/epochs/parameters | jq '.cost_models | keys'
returns
while /clusters/nodes/default/node/genesis/alonzo-genesis.json inside the container defines cost models for both PlutusV1 and PlutusV2.
Effect
Any client that builds transactions from these protocol parameters (fee/ExUnits evaluation of PlutusV2 scripts, script integrity hash computation) fails because the PlutusV2 cost model is absent. For comparison, 0.10.0-preview2 returned PlutusV2 as expected.
Environment
bloxbean/yaci-cli:0.12.0-beta5, arm64, Docker Desktop on macOS
Summary
On
bloxbean/yaci-cli:0.12.0-beta5the bundled yaci-store'sGET /api/v1/epochs/parametersreturns cost models only forPlutusV1(166 entries) andPlutusV3(251 entries).PlutusV2is missing entirely, even though the devnet node's Alonzo genesis contains both PlutusV1 and PlutusV2 cost models.Reproduction
Start a devnet (same command
yaci-cardano-testuses):Then:
returns
while
/clusters/nodes/default/node/genesis/alonzo-genesis.jsoninside the container defines cost models for both PlutusV1 and PlutusV2.Effect
Any client that builds transactions from these protocol parameters (fee/ExUnits evaluation of PlutusV2 scripts, script integrity hash computation) fails because the PlutusV2 cost model is absent. For comparison,
0.10.0-preview2returned PlutusV2 as expected.Environment
bloxbean/yaci-cli:0.12.0-beta5, arm64, Docker Desktop on macOS