Repository navigation
Conversation
Move Ogmios and Kupo back to the CardanoSolutions upstream and drop the PV11 stopgap that bundled Linux x86_64 IntersectMBO builds into the arm64 image. Both components now ship native binaries for linux/amd64, linux/arm64 and macOS arm64, so the Docker images no longer need x86_64 emulation and a native macOS install works. Ogmios / Kupo - Bump to Ogmios 7.0.0 and Kupo 2.12.0 from CardanoSolutions (.tar.gz -> .zip) - Use real aarch64 assets for arm64 instead of emulated x86_64 ones - Consolidate the duplicated OS/arch resolution into one helper that fails fast with an actionable message on unpublished platforms (macOS x86_64, Windows) instead of 404-ing - Flatten the nested archive layout the macOS zips use (v7.0.0/bin/ogmios) so the binary always lands at <home>/bin/<name> - Handle the Kupo tag/asset version mismatch (tag v2.12, asset v2.12.0) Ogmios as the Yaci Store tx evaluator - Enable Ogmios by default (ogmios_enabled=true) and use it to evaluate Plutus script costs, falling back to the embedded Scalus evaluator - Wait for Ogmios to answer on /health before committing to the ogmios evaluator mode. The mode is baked into the Store process at startup and never re-evaluated, so a short-lived Ogmios would otherwise leave the Store unable to evaluate any script for the lifetime of the devnet - Skip Ogmios/Kupo in yano-only mode; they need the Haskell node's n2c socket - Don't let an Ogmios failure abort the startup chain before Yaci Store runs - Treat enableOgmios as optional in the admin API so omitting it keeps the configured default rather than forcing Ogmios off Fix prometheus.port never being applied The property was read, stored on ClusterInfo and put into the Mustache values map, but templates/configuration.json hardcoded 12798 with no placeholder, so the value was silently dropped. A second cardano-node on the host holding 12798 made the devnet node die at bind with the error going to stderr, which node.sh does not capture. Disable the Yano DuckLake projection archive Yano pre15's devnet profile enables the projection archive by default. DevKit reads nothing from Yano's history API, and the archive defaults to ./history relative to the working directory - the shared yano home - so it outlived create-node -o and then failed the startup identity and coverage guards. Turn it off and pin the dir inside the node folder so it is cleaned up with the cluster if it is ever re-enabled. Also bumps Yano to 0.1.0-pre15. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
8 of 12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves Ogmios and Kupo back to the CardanoSolutions upstream and removes the PV11 stopgap that bundled Linux x86_64 IntersectMBO builds into the arm64 Docker image. Both components now ship native binaries for
linux/amd64,linux/arm64and macOS arm64, so the images no longer need x86_64 emulation and a native macOS install works.Three unrelated devnet startup bugs surfaced while testing this end to end and are fixed here too.
6.14.0.2(IntersectMBO) →7.0.02.11.0.1(IntersectMBO) →2.12.0Ogmios / Kupo update
.tar.gz→.zip).aarch64assets for arm64 instead of emulated x86_64 ones — the qemu/binfmt caveat for native Linux arm64 hosts is gone.v7.0.0/bin/ogmios) so the binary always lands at<home>/bin/<name>.v2.12, assetv2.12.0).macOS Ogmios is supported. An earlier revision of this branch blocked it on the grounds that the
aarch64-macosartifact links against Nix store paths. That is not true of 7.0.0 — verified on the actual artifact:No Nix references;
--versionreturnsv7.0.0 (ef123abd). The guard and the docs asserting it have been removed.Ogmios as the Yaci Store tx evaluator
ogmios_enabled=true) and used to evaluate Plutus script costs, with fallback to the embedded Scalus evaluator./healthbefore committing to theogmiosevaluator mode. The mode is baked into the Store process at startup and never re-evaluated, so the previous "process alive 1s after spawn" check meant a short-lived Ogmios would leave the Store unable to evaluate any script for the lifetime of the devnet.enableOgmiosis now optional in the admin API; omitting it keeps the configured default instead of forcing Ogmios off.Fix:
prometheus.portwas never appliedThe property was read, stored on
ClusterInfoand put into the Mustache values map — buttemplates/configuration.jsonhardcoded12798with no{{prometheusPort}}placeholder, so the value was silently dropped.Any second
cardano-nodeon the host holding 12798 made the devnet node die at bind (Network.Socket.bind: resource busy), and the error was invisible becausenode.shpipes only stdout intonode.log.Fix: Yano DuckLake projection archive
Yano pre15's
devnetprofile enables the projection archive by default. DevKit reads nothing from Yano's history API, and the archive defaults to./historyrelative to the working directory — the shared yano home — so it outlivedcreate-node -oand then failed Yano's startup guards:Turned off, with the dir pinned inside the node folder so it is cleaned up with the cluster if ever re-enabled (including via
reset, which doesn't delete the whole cluster folder).Also bumps Yano to
0.1.0-pre15.Test plan
download -c ogmioson macOS arm64 → installsv7.0.0at~/.yaci-cli/components/ogmios/bin/ogmios, nested archive correctly flattenedprometheus.portoverride lands in the generatedconfiguration.json./gradlew buildpasseslinux/amd64andlinux/arm64image builds (unchanged download scripts verified against upstream asset names; not rebuilt in this session)🤖 Generated with Claude Code