Skip to content

chore: sdk machine emulator bump#479

Merged
brunomenezes merged 5 commits into
prerelease/v2-alphafrom
chore/sdk-machine-emulator-bump
Jun 18, 2026
Merged

chore: sdk machine emulator bump#479
brunomenezes merged 5 commits into
prerelease/v2-alphafrom
chore/sdk-machine-emulator-bump

Conversation

@brunomenezes

@brunomenezes brunomenezes commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

SDK changes to accommodate the cartesi machine emulator bump.

To see and build an SDK Docker image, I am using a rollups-node artefact from build next/2.0#2b0eac for local checks.

Addition:

  • A new apt-get dependency needed to be installed, called libgomp1, or the step for the runtime was failing and highlighting the need for such a lib, but could not be installed.

Upgrades:

  • CARTESI_BASE_IMAGE bumped to use debian:trixie-trixie-20260610@sha256:fe7312b5f05bf5f43fad76bcd8945642e4e47a68aefd1b73f447615899d0fac1
  • CARTESI_MACHINE_EMULATOR_VERSION bumped to 0.20.0
  • POSTGRES_BASE_IMAGE bumped to postgres:17-trixie@sha256:2203e6282d9e7de7c24d7da234e2a744fb325df366a3fd8ed940e8abbee39527
  • CARTESI_ROLLUPS_NODE_VERSION to 2.0.0-alpha.12

Check steps

Requires: Docker, jq

After building the sdk image, you can run the following to check specific contents.

Check devnet-alpha.14:

docker run -ti --rm cartesi/sdk:devel cat  /usr/share/cartesi/deployments/anvil.json | jq '.contracts["TestUsdWithdrawalOutputBuilder"]'

Check cartesi-machine 0.20.0

docker run -ti --rm cartesi/sdk:devel cartesi-machine --version

Check rollups-node alpha.12:

docker run -ti --rm cartesi/sdk:devel cartesi-rollups-cli --version

@brunomenezes brunomenezes changed the title Chore/sdk machine emulator bump chore: sdk machine emulator bump May 14, 2026
@changeset-bot

changeset-bot Bot commented May 14, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0499c68

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 self-assigned this May 14, 2026
@brunomenezes brunomenezes moved this from Todo to In progress in Rollups SDK May 14, 2026
@brunomenezes brunomenezes linked an issue May 14, 2026 that may be closed by this pull request
6 tasks
@brunomenezes

brunomenezes commented May 14, 2026

Copy link
Copy Markdown
Contributor Author

@tuler, @endersonmaia, I am leaving as a draft, but not sure if it makes sense to make it ready to review even though the build will break (as expected) as I also have created a separate issue for the node bump once we have a release

How were you guys doing during these mid-flight releases?

@brunomenezes brunomenezes force-pushed the chore/sdk-machine-emulator-bump branch from b131b06 to fd3a45b Compare May 14, 2026 12:35
Comment thread packages/sdk/docker-bake.hcl Outdated
@brunomenezes brunomenezes force-pushed the chore/sdk-machine-emulator-bump branch from fd3a45b to 560d687 Compare May 15, 2026 10:50
Comment thread packages/sdk/docker-bake.hcl Outdated
Comment thread packages/sdk/docker-bake.hcl Outdated

@endersonmaia endersonmaia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggested trixie updated images

@brunomenezes brunomenezes force-pushed the chore/sdk-machine-emulator-bump branch 2 times, most recently from b08be63 to 6e4803f Compare May 27, 2026 12:44
@brunomenezes brunomenezes linked an issue May 28, 2026 that may be closed by this pull request
5 tasks
@brunomenezes brunomenezes force-pushed the chore/sdk-machine-emulator-bump branch from 1f60e7b to 358b927 Compare May 29, 2026 14:05
@brunomenezes brunomenezes force-pushed the chore/sdk-machine-emulator-bump branch 2 times, most recently from d3f517f to 0499c68 Compare June 15, 2026 16:37
@brunomenezes brunomenezes force-pushed the chore/sdk-machine-emulator-bump branch from 0499c68 to c063bb0 Compare June 18, 2026 10:16
@brunomenezes brunomenezes linked an issue Jun 18, 2026 that may be closed by this pull request
4 tasks
@brunomenezes brunomenezes marked this pull request as ready for review June 18, 2026 10:17
@brunomenezes brunomenezes moved this from In progress to Waiting review in Rollups SDK Jun 18, 2026
@brunomenezes

Copy link
Copy Markdown
Contributor Author

As a tiny DX to check what devnet version is actually packaged, maybe it would be interesting to have a simple VERSION.txt file or just copy the package.json from the devnet (JS package) and put it inside the /usr/share/cartesi where the artifacts are at the moment.

cc: @endersonmaia , @tuler

@github-project-automation github-project-automation Bot moved this from Waiting review to Waiting Merge in Rollups SDK Jun 18, 2026
@brunomenezes brunomenezes merged commit 7a3099e into prerelease/v2-alpha Jun 18, 2026
7 checks passed
@brunomenezes brunomenezes deleted the chore/sdk-machine-emulator-bump branch June 18, 2026 14:09
@github-project-automation github-project-automation Bot moved this from Waiting Merge to Done in Rollups SDK Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

SDK: Bump rollups-node version to v2.0.0-alpha.12 SDK: Bump machine emulator to v0.20.0 SDK: Upgrade devnet version alpha.14 [next]

3 participants