Skip to content

feat(sdk): Prepare next rollups-node and remove devnet dependency - #515

Draft
brunomenezes wants to merge 6 commits into
prerelease/v2-alphafrom
refactor/sdk-update-anvil-state-source
Draft

feat(sdk): Prepare next rollups-node and remove devnet dependency#515
brunomenezes wants to merge 6 commits into
prerelease/v2-alphafrom
refactor/sdk-update-anvil-state-source

Conversation

@brunomenezes

@brunomenezes brunomenezes commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Prepare the update to the next rollups-node (alpha.13). Also, the SDK image installed @cartesi/devnet globally only to copy two artifacts out of the tarball, which coupled every image release to a devnet npm publish. That package is itself a repackager of the cartesi/dave release, so the image now downloads the Anvil state dump directly from there.

Details:

Depends on

Changes

  • New devnet-state build stage fetches cartesi-rollups-prt-${CARTESI_PRT_VERSION}-anvil-v${FOUNDRY_VERSION}.tar.gz
    and extracts only state.json/usr/share/cartesi/anvil_state.json.
  • CARTESI_DEVNET_VERSION replaced by CARTESI_PRT_VERSION. FOUNDRY_VERSION doubles as the
    anvil version in the asset name, so the anvil that dumped the state and the one that loads it
    cannot drift.
  • Image no longer ships /usr/share/cartesi/deployments and writes PRT_VERSION file to the folder. The devnet script no longer prints the contract address list — use cartesi address-book.
  • Bumps anvil/foundry to 1.5.1 and prt to 3.0.0-alpha.4 (Not released yet).
  • Bump cartesi-base-image debian:trixie to the latest version.
  • Bump image-kernel to 0.21.0, linux-kernel to 6.5.13-ctsi-2-v0.21.0 and machine-emulator to 0.21.0. Add machine-emulator dependency lua-lpeg

Replaces

@changeset-bot

changeset-bot Bot commented Aug 17, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: edd91c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cartesi/sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@brunomenezes brunomenezes moved this to 🧑‍💻 In Progress in Rollups Tooling Aug 17, 2026
@brunomenezes brunomenezes changed the title refactor: Remove the @cartesi/devnet dependency from the SDK image feat(sdk): Prepare next rollups-node and remove devnet dependency Aug 17, 2026
@brunomenezes brunomenezes linked an issue Aug 17, 2026 that may be closed by this pull request
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🧑‍💻 In Progress

Development

Successfully merging this pull request may close these issues.

SDK: prepare for next rollups-node alpha.13

1 participant