Skip to content

build: bump amaru to feat/testnet-bootstrap HEAD + adapt create-snapshots CLI#45

Open
paolino wants to merge 3 commits into
mainfrom
chore/bump-amaru-ktorz-head
Open

build: bump amaru to feat/testnet-bootstrap HEAD + adapt create-snapshots CLI#45
paolino wants to merge 3 commits into
mainfrom
chore/bump-amaru-ktorz-head

Conversation

@paolino

@paolino paolino commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Bumps amaru to KtorZ's HEAD 4de2db13 (crash fixes: revert forecast-stake hack = state.rs:448, null active_stake) and adapts amaru-bootstrap to his create-snapshots CLI change: --cardano-db-dir->--cardano-node-db, and --targets-file replaced by repeated --snapshot "<point>::<parent_point>" (Point = <slot>.<hash>), built from the targets the producer already computes. CI publishes amaru-bootstrap-producer:pr-45-<sha>.

7bb4102a revert forecast-stake hack (state.rs:448 cause) + 4165a5f4 null active_stake.
Stops before f059f024/4de2db13 (rename --cardano-db-dir + remove --targets-file = call-site rework).
@paolino paolino changed the title build: bump amaru to feat/testnet-bootstrap HEAD (KtorZ stake/epoch fixes) build: pin amaru to 4165a5f4 (KtorZ crash fixes) Jun 11, 2026
@paolino paolino force-pushed the chore/bump-amaru-ktorz-head branch from b034e8c to b97b3f6 Compare June 11, 2026 17:27
@paolino paolino changed the title build: pin amaru to 4165a5f4 (KtorZ crash fixes) build: bump amaru to feat/testnet-bootstrap HEAD + adapt create-snapshots CLI Jun 11, 2026
@paolino paolino force-pushed the chore/bump-amaru-ktorz-head branch from bf91783 to 2b8aa96 Compare June 11, 2026 17:46
…reate-snapshots CLI

KtorZ renamed --cardano-db-dir -> --cardano-node-db, replaced --targets-file with
repeated --snapshot "<point>::<parent_point>" (Point = <slot>.<hash>), and made
--epoch the TARGET epoch needing the 3 prior snapshots. Adapt the producer
invocations (3 --snapshot args, --epoch = first_epoch + 3 for create-snapshots and
amaru bootstrap) and the two bats amaru stubs that parsed the old --targets-file.
@paolino paolino force-pushed the chore/bump-amaru-ktorz-head branch from 2b8aa96 to 689a86f Compare June 11, 2026 17:52
…n CLI

amaru dropped 'run --global-parameters-file' for individual AMARU_GLOBAL_*
cli/env overrides and renamed --era-history-file to --era-history. For a
Testnet network the global parameters now come from those overrides, so the
relay entrypoint derives AMARU_GLOBAL_* from global-parameters.json before
exec'ing amaru run (create-snapshots/bootstrap don't use global params).
nix checks, the relay bats, and docs follow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant