Skip to content

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

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

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

Conversation

@brunomenezes

@brunomenezes brunomenezes commented Aug 17, 2026 •

Copy link
Copy Markdown
Member

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-${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.5.
  • 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: 6012d4f

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
10 of 16 tasks
@tuler
tuler requested review from endersonmaia and tuler October 3, 2026 03:11
@tuler

tuler commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

Time for this one to be updated with rollups-node alpha.13

@brunomenezes
brunomenezes marked this pull request as ready for review October 3, 2026 05:53
@brunomenezes

Copy link
Copy Markdown
Member Author

That is ready to go @tuler, @endersonmaia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 👍 Waiting Merge

Development

Successfully merging this pull request may close these issues.

SDK: prepare for next rollups-node alpha.13

2 participants