feat(sdk): Prepare next rollups-node and remove devnet dependency - #515
Draft
brunomenezes wants to merge 6 commits into
Draft
feat(sdk): Prepare next rollups-node and remove devnet dependency#515brunomenezes wants to merge 6 commits into
brunomenezes wants to merge 6 commits into
Conversation
🦋 Changeset detectedLatest commit: edd91c9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
@cartesi/devnet dependency from the SDK image
16 tasks
…-emulator dependency lua-lpeg
brunomenezes
force-pushed
the
refactor/sdk-update-anvil-state-source
branch
from
August 18, 2026 07:10
ce4390f to
edd91c9
Compare
This was referenced Aug 19, 2026
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
Prepare the update to the next rollups-node (alpha.13). Also, the SDK image installed
@cartesi/devnetglobally 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
devnet-statebuild stage fetchescartesi-rollups-prt-${CARTESI_PRT_VERSION}-anvil-v${FOUNDRY_VERSION}.tar.gzand extracts only
state.json→/usr/share/cartesi/anvil_state.json.CARTESI_DEVNET_VERSIONreplaced byCARTESI_PRT_VERSION.FOUNDRY_VERSIONdoubles as theanvil version in the asset name, so the anvil that dumped the state and the one that loads it
cannot drift.
/usr/share/cartesi/deploymentsand writes PRT_VERSION file to the folder. Thedevnetscript no longer prints the contract address list — usecartesi address-book.Replaces