Skip to content

docs(v2): align with rollups-node v2.0.0-alpha.14, rollups-contracts v3.0.0-alpha.10 and Cartesi CLI 2.0.0-alpha.42 - #359

Merged
jplgarcia merged 47 commits into
mainfrom
docs/v2-align-current-releases
Nov 30, 2026
Merged

jplgarcia merged 47 commits into
mainfrom
docs/v2-align-current-releases

Conversation

@jplgarcia

@jplgarcia jplgarcia commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Aligns the Rollups 2.0 docs with the current release set and fixes what end-to-end testing found.

This branch is rebased on main and incorporates the eight commits of #353 (docs/v2-rollups-docs-updates), with their authorship kept; conflicts between the two branches were resolved by hand. #353 is left open for its author to close.

  • Versions: rollups-node v2.0.0-alpha.14 (emulator 0.22.0), rollups-contracts v3.0.0-alpha.10, PRT v3.0.0-alpha.6, Cartesi CLI 2.0.0-alpha.42 (default SDK cartesi/sdk:0.12.0-alpha.45). All GitHub links pinned to tags or commit SHAs, installs pinned to exact versions.
  • Emergency withdrawal: correct USD account layout (12-byte uint96 balance + 20-byte owner), deposit refunds (issueRefund), installation guide (emulator, release tag instead of next/2.0), staging period and PRT notes, correct accounts_drive_start_index example, a new page on testing emergency withdrawal locally with cartesi run.
  • Contract reference: regenerated from v3.0.0-alpha.10 (consensus with staging and acceptClaim, getInputBox, Erc* portal renames, refunds, errors).
  • JSON-RPC and inspect: real error codes, current types, missing methods, POST /inspect/{app}.
  • Self-hosted deployment and snapshot: newAuthority with staging period, alpha.10 release addresses, block policy, CORS, "Operating the node", and a validator check that actually recomputes the machine hash.
  • JavaScript/TypeScript: samples rewritten for the @cartesi/rollup templates; React tutorial migrated to @cartesi/client / @cartesi/react; wallet tutorials now act on msg_sender (they trusted a from field in the payload).
  • Rollup HTTP and Inspect API reference: OpenAPI specs rewritten for machine-guest-tools 0.18.0 (voucher value, /delegate-call-voucher, /gio, current metadata fields) and the pages regenerated; both are now in the sidebar.
  • Unlisted pages: pages that are not in the 2.0 sidebar (the account abstraction tutorial, the integrations guide, and the older concepts, installation and Cartesi Machine pages) are marked unlisted: their URLs keep working, but they leave the sitemap and search.
  • Tutorials: current devnet token values, devnet account 8 as the user account (account 0 signs the node's claims), fixes to Go/Rust/C++/Python samples, forked-network tutorial with Sepolia and Base Sepolia tabs (including how to let the node submit claims on these forks), and sample logs replaced with output from real runs.

Testing

Every tutorial, snippet and guide was run against a Cartesi CLI 2.0.0-alpha.42 devnet (rollups-node v2.0.0-alpha.14), including voucher execution on chain, the full emergency-withdrawal recovery (devnet and self-hosted), and forks of Sepolia and Base Sepolia. The marketplace, calculator and outputs samples were run in all five languages. yarn build passes; since the site sets onBrokenLinks: "ignore", links and anchors in 2.0 were checked separately over the built site, with no problems.

Notes for reviewers

  • The self-hosted guide still pins the Mugen-Builders compose.local.yaml at the alpha.12 commit and explains how to move it to alpha.14; the compose bump is pending in Mugen-Builders/deployment-setup-v2.0, after which the pin should be updated.
  • Templates from cartesi create cannot be pinned (--branch only takes branch names and the templates repo has no tags).
  • Account abstraction services (--services bundler,paymaster) do not start on the CLI 2.0.0-alpha.42 devnet, so that tutorial is hidden from the sidebar and unlisted.

🤖 Generated with Claude Code

github-actions Bot added a commit that referenced this pull request Nov 16, 2026
@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

📖 Docs preview removed

The preview for this PR was taken down because the PR is now closed.

github-actions Bot added a commit that referenced this pull request Nov 16, 2026
riseandshaheen and others added 27 commits November 16, 2026 19:28
…ted guides

Align v2.0 docs with JSON-RPC, unified outputs, and the current community stack; refresh lastUpdated markers on reviewed pages.
Update Application, portals, consensus, and withdrawal docs for input-box DA, claim staging, MachineValidityProof, Erc portal renames, deposit refunds, and GitHub release artifacts; point contract links at alpha.9.

Co-authored-by: Cursor <[email protected]>
Align Authority-first EW deploy, recovery caveats, and compose with the
validated Sepolia flow, and drop alpha-specific intro noise and a stale
migration note.

Co-authored-by: Cursor <[email protected]>
Split node setup from deployment, document CLI and cast paths with tested Sepolia recipes, and add a dedicated cast registration section.

Co-authored-by: Cursor <[email protected]>
Clarify v1 withdrawal wording, remove stale alpha/PR callouts, and add the Cartesi Whitepaper to Resources.

Co-authored-by: Cursor <[email protected]>
Show 2.0 in the version dropdown, make it the default, and add alpha/unmaintained banners so readers can tell 2.0 from 1.5.

Co-authored-by: Cursor <[email protected]>
Update rollups-contracts links and CREATE2 addresses to v3.0.0-alpha.10, and address remaining review notes on migration, emergency withdrawal, recovery, and community tools.

Co-authored-by: Cursor <[email protected]>
…a.10

Regenerate the contract API pages from the alpha.10 sources that
rollups-node v2.0.0-alpha.14 ships with:

- Consensus: submitClaim with machineMerkleRoot and validity proof,
  ClaimStaged, permissionless acceptClaim, claim staging period, getClaim
  and claim counters; factories take claimStagingPeriod; claim lifecycle
  section and a note on PRT apps using DaveConsensus.
- Application: getInputBox replaces getDataAvailability, refund members
  (issueRefund and related), foreclosure/withdrawal members now part of
  IApplication, indexed events, checks-effects-interactions instead of
  nonReentrant, validator migration restricted to the deployment block.
- ApplicationFactory: IInputBox and IRefundOutputBuilder parameters, and
  a SelfHostedApplicationFactory section.
- InputBox and portals: Erc* renames, error tables, input size limit,
  EvmAdvance encoding of the emitted input, input box trust note.
- IOutputsMerkleRootValidator: getLastFinalizedMachineMerkleRoot and
  wasInputFinalized.
- Pin every source link to the v3.0.0-alpha.10 tag.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
….0-alpha.14

- Error codes: replace the -32000..-32004 codes, which no node release
  used, with the node's actual codes (-31001..-31004, -32040, -32070 and
  the standard JSON-RPC ones) and say which are safe to poll.
- Types: current Application (enabled + status), Epoch (all statuses,
  no claim_hash), Input and output fields; outputs only become executable
  on chain once the epoch claim is accepted.
- Methods: document every method the node serves, including
  getEpochByVirtualIndex, getExecutedOutputCount,
  getPendingExecutableOutputCount and getNodeInfo (new pages) and the PRT
  methods; new list parameters and the request/response limits; mark
  getChainId and getNodeVersion as deprecated.
- Inspect: replace the v1 GET spec with POST /inspect/{application},
  current response fields and statuses, and the 503 cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd node v2.0.0-alpha.14

The emergency withdrawal pages were written against contracts
3.0.0-alpha.5/6 and merged after 3.0.0-alpha.7 changed the account
encoding and the Application ABI.

- Account record: 12-byte little-endian uint96 balance followed by the
  20-byte owner, exactly 32 bytes, no padding; the previous 8-byte layout
  makes withdrawals pay the wrong amount to the wrong address. Update the
  JSON-RPC withdrawal examples accordingly.
- Document deposit refunds (issueRefund and cartesi-rollups-cli refund)
  as the second exit after foreclosure, with a recovery guide step.
- Applications with a sequencer: only settled balances are recoverable.
- Installation guide: emulator 0.22.x, clone the v2.0.0-alpha.14 tag
  (next/2.0 no longer exists), Lua 5.4 and SDK root for PRT replays.
- Proof generation needs a node database; staging period guidance and
  the PRT acceptance rule; where the finalized root comes from per
  consensus and the template-hash fallback; epochs PRT cannot settle;
  machine-tool supported layouts; config/drive mismatch warning.
- Withdrawal contract pages: InvalidAccountSize, owner-last-20-bytes rule,
  SafeErc20Transfer, IApplication; JSON-RPC withdrawal error codes,
  descending and the limit cap.
- Remove final_hash from the cartesi.toml example (CLI 2.0.0-alpha.41
  rejects unknown keys) and pin the SDK image for node alpha.14.
- Link the asset management library at a pinned tag.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Manual fallback: newAuthority(owner, epochLength, claimStagingPeriod)
  and read the address from AuthorityCreated; replace the Cannon 2.2.0
  addresses with the v3.0.0-alpha.10 release deployment artifacts.
- Pin the Mugen-Builders compose download to a commit and state which
  node and contracts versions it runs, and how to move it to alpha.14.
- Block policy (finalized default, fixed per database), claim staging
  period on the deploy commands, epoch sizing, CORS variables; remove
  BLOCKCHAIN_WS_ENDPOINT, which the node no longer reads.
- New "Operating the node" section.
- Emergency withdrawal deployment: config/drive check, deploying without
  the feature, same configuration fixes.
- Snapshot: validators must recompute the root hash; emulator and final
  hash requirements; CLI 2.0.0-alpha.41 with SDK 0.12.0-alpha.45.
- Mainnet considerations and supported networks: consensus and dispute
  status, Arbitrum caveat.
- Pin GitHub Actions and tool versions in the snapshot workflow.
- Remove the unreferenced deployment/src/compose.local.yaml (v1-era
  images).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The v2 docs do not cover sequencers yet. Remove the "Applications with a
sequencer" section and the references to it; the general rules (only
settled balances are recoverable, unfinalized deposits are refunded,
applications without an accounts drive are not covered) stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Pin Cartesi CLI 2.0.0-alpha.41 (an unversioned install gets the 1.5
  CLI) and the cartesi/sdk:0.12.0-alpha.45 image, which ships
  rollups-node v2.0.0-alpha.14 and emulator 0.22.0.
- Ether withdrawal vouchers: destination is the recipient, value is the
  amount, payload is empty; a non-empty payload to an address without
  code reverts with TargetHasNoCode. Remove the nonexistent withdrawEther
  call from the voucher table and fix the snippets and tutorials.
- Portal calls use the Erc* names (depositErc20Tokens and others).
- Architecture: Application/ApplicationFactory, reader mode, concurrent
  inspects, outputs executable after claim acceptance; note that the
  guides deploy Authority and do not cover PRT.
- Inspect: raw request body, reports are not stored or served through
  JSON-RPC.
- Advanced configuration: final_hash no longer exists and breaks the
  build on CLI 2.0.0-alpha.41; SDK pin; assert_rolling_template.
- Remove v1 leftovers (DepthTooHigh troubleshooting, 7200-block epochs,
  History migration steps) and fill the empty installation page.
- Pin example repositories to commits and tool versions in tutorials.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pin GitHub code links to commits, cartdevkit and the skills CLI to exact
versions, and cartesi-skills to its v0.1.0 tag. Fix the broken

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…devnet

Checked against a Cartesi CLI 2.0.0-alpha.41 devnet (rollups-contracts
v3.0.0-alpha.10):

- Test tokens: TestToken "Fungible"/FUN (18 decimals), TestNFT
  "Non-fungible"/NFT, TestMultiToken and TestUsdc "USD Coin"/USDC. They
  start with zero supply, have no owner and expose public mint functions;
  remove the pre-minted/owner-only claims and safeMint.
- Read token, portal and application addresses with
  `cartesi address-book <Name>` in commands; update hardcoded portal and
  token addresses in code samples and snippets.
- Sample outputs regenerated from real deposits; chain id 31337.
- Inspect example: POST the raw payload to the CLI devnet inspect URL.
- Pin cargo dependencies in tutorials.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Cartesi CLI 2.0.0-alpha.42 builds with cartesi/sdk:0.12.0-alpha.45 by
default (rollups-node v2.0.0-alpha.14, Cartesi Machine emulator 0.22.0),
so the SDK override that 2.0.0-alpha.41 needed is no longer required.
Pin the new CLI version, replace the SDK override caution with a note
that machines built with emulator 0.21 must be rebuilt, and keep the
optional sdk pin for reproducible builds.

Smoke-tested on rollups-node v2.0.0-alpha.14: cartesi build and
cartesi run, inputs, inspect, Ether/ERC-20/ERC-721/ERC-1155 deposits and
an Ether withdrawal voucher executed on chain; and a self-hosted
deployment through the Mugen-Builders compose with 0.12.0-alpha.45
images.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
From Cartesi CLI 2.0.0-alpha.42, cartesi send and cartesi deposit send
from devnet account 8 by default, because the local node signs its
claims with account 0. Tutorials that minted tokens with account 0 and
then ran cartesi deposit stopped with "Insufficient balance", and
transactions from account 0 can lose the nonce race to the node's own
transactions (a cartesi deposit --from account 0 reported success while
its deposit transaction was never mined).

Switch the tutorials' user key and address to devnet account 8,
including addresses inside sample payloads, and say why account 0
should not be used.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…opment

With `cartesi run`, the local node signs its claims with devnet account
0. Add a tip to the send/deposit guide: cartesi send and cartesi deposit
already use account 8; with --from, cast or a wallet, pick any account
except 0, since transactions from it compete with the node's for the same
nonce and can be dropped even when the sending command reports success.
Add the mnemonic index to the cast example.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Turn the send/deposit tip into a caution ("Be careful with devnet
account 0") and add the same caution next to the Anvil service on the
running-an-application page, where developers first start the devnet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…t run

Tested on a CLI 2.0.0-alpha.42 devnet and on the self-hosted compose
(rollups-node v2.0.0-alpha.14): foreclose, replay, accounts-drive proof,
anchor, withdraw (CLI and cast), refunds and the documented errors all
behave as the pages say. Fixes:

- with-emergency-withdrawal: the example accounts_drive_start_index
  pointed outside the accounts drive on emulator 0.22; cartesi build
  places the documented drive at 0xa0000000, index 20480 for a 2^17-byte
  account tree. A config mismatch does not affect refunds.
- recovery-guide: say how cartesi-rollups-cli gets its endpoint and
  signer (CARTESI_AUTH_KIND=private_key), that it needs --yes without a
  terminal, and how to export the refund input inside the self-hosted
  containers (--jsonrpc-api-url, or from the database).
- snapshot: loading a snapshot as published reuses its stored hash
  trees, so a snapshot with modified data still loads with the original
  root hash. Document how a validator makes the emulator hash the data
  (mark every page dirty in config.json, then --load --initial-hash).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ials

Run end to end with Cartesi CLI 2.0.0-alpha.42 (rollups-node
v2.0.0-alpha.14). Python, Rust and C++ work as written; fixes:

- Go snippets: parse the finish response with the template's types,
  declare the loggers, run `go get` inside src/; entry-point paths for
  the Go and C++ templates.
- C++ calculator: print integral results without trailing zeros.
- ERC-20 wallet: the withdrawal voucher used transferFrom(application,
  user, amount), which reverts without an allowance; use transfer(user,
  amount). Mint TestToken before depositing and deposit in token units.
- ERC-1155 wallet: TestMultiToken mint takes (address,uint256,uint256);
  inspect takes the raw string body.
- Wallet TypeScript: Hex types for deposit payloads and readonly-array
  handling, so the code type-checks.
- Sample outputs: `cartesi send` (no `generic` subcommand), inspect
  returns an empty reports array, drop warnings the CLI no longer prints.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Tested against Cartesi CLI 2.0.0-alpha.42, rollups-node v2.0.0-alpha.14
and rollups-contracts v3.0.0-alpha.10: every JSON-RPC method, filter,
pagination, batch rule, error code and limit; inspect limits and
statuses; contract signatures diffed against the alpha.10 ABIs and
spot-checked on a devnet; every backend and development snippet built
and run per language (JavaScript pending the template change).

- JSON-RPC: an open epoch already has machine_hash and data blocks, which
  change with each input.
- Contracts: version() on the portal pages, return names on addInput and
  the factories, dead Portals link.
- Backend API: missing /notice and /delegate-call-voucher endpoints, raw
  inspect body, reject on inspect, what an exception actually does to the
  input and the application, notices are validated not executed, GraphQL
  -> JSON-RPC, Go/Rust/Python compile and syntax fixes, DELEGATECALL
  voucher samples (parseAbi, 0x-prefixed payload).
- Asset handling: ERC-20 withdrawal vouchers must call transfer, not
  transferFrom; cartesi run epoch and staging defaults.
- Advanced configuration: max_mcycle limit (2^53-1), entrypoint needs
  rollup-init, boot_args are appended, at most 8 drives including root,
  ext2 directory drives need extra_size, user defaults to dapp.
- Send inputs: the real deposit prompt and the abi-packed encoding.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ork tutorials

Run with Cartesi CLI 2.0.0-alpha.42 (rollups-node v2.0.0-alpha.14):

- Test tokens: Python and Rust handlers, every CLI and cast deposit flow
  and the sample outputs work; fix the account named in the ERC-1155
  explanations and the ERC-721 sample log line.
- Marketplace: Go and C++ entry files; the purchase input must pass
  token_id as a string in every language; the Go snippet compiles and
  lists the token at 100 FUN; declare app_contract in the JS snippet;
  update the purchase log and the list output note.
- React frontend: CartesiApps is a .tsx file; remove an unused variable
  that failed the build.
- Forked network: the relayInput line was missing the payload, use the
  application's InputBox, Solidity code fence, and note that forking
  needs an archive-capable RPC.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The page deployed the relayer and forked "Base Sepolia" in some steps
and Sepolia in others, with a Base Sepolia block height and relayer
address that do not exist on Sepolia. Use Sepolia everywhere, take the
fork block as a placeholder (with an example), and replace the sample
relayer, application address and logs with values from a run on a
Sepolia fork. Say that the relayer address comes from forge create.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
New page development/emergency-withdrawal/local-testing, run end to end
with Cartesi CLI 2.0.0-alpha.42 on a cartesi run devnet (every command
run as written, real outputs):

- mark the accounts drive (accounts_drive, accounts_drive_size) and the
  optional [withdrawal] table, with the devnet defaults (guardian:
  devnet account 1, TestUsdWithdrawalOutputBuilder paying TestUsdc);
- the withdrawal config cartesi build derives and cartesi run deploys;
- mint and deposit TestUsdc, then cartesi foreclose, cartesi withdraw
  (replay, proofs, anchoring and withdrawal) and cartesi refund;
- the errors a reader can hit, and a caution that sizing the accounts
  drive to the whole file instead of the records makes finalized funds
  unrecoverable.

Link it from the recovery guide and the guest requirements page, and
add it to the sidebar after the recovery guide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Python voucher samples compute function selectors with eth-utils,
which needs a keccak backend. pycryptodome has no prebuilt riscv64 wheel
and the Python template has no C compiler, so without it the
application crashes on its first input. Add a comment to each sample
with the pinned requirements and the build-essential package to add to
the template's Dockerfile.

Verified with Cartesi CLI 2.0.0-alpha.42: the template with
build-essential builds pycryptodome 3.23.0, and the vouchers.md sample
emits a mint(address) voucher (selector 0x6a627842) with the application
status still OK.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jplgarcia and others added 3 commits November 16, 2026 22:46
- Rollup HTTP API and Inspect API reference: rewrite the OpenAPI specs
  for machine-guest-tools 0.18.0 (voucher value, delegate-call vouchers,
  GIO, current metadata fields, response codes) and regenerate the pages;
  add both to the sidebar.
- Emergency withdrawal: add accounts_drive and accounts_drive_size to the
  sample cartesi.toml, drop --project-name from the local testing flow,
  use compose -f compose.local.yaml in the self-hosted guide.
- Code samples, built and run on the CLI devnet: rewrite the C++
  marketplace and calculator, stop the Rust marketplace from panicking on
  bad input, align marketplace behavior across the five languages, post
  output payloads unchanged in the Python and Rust outputs samples, use
  the devnet TestToken and 32-byte voucher values, and replace the
  overview example with @cartesi/rollup.
- Fork tutorial: the CLI checks the contracts on the forked chain, it
  does not deploy them; fix the fork block guidance and the commands.
- React tutorial: gate output execution on CLAIM_ACCEPTED and use
  exception_data.
- Pin remaining versions and links (npm, crates, Go modules, Deroll,
  libcma bindings, MCP bridge), stop recommending @cartesi/viem and
  @cartesi/wagmi, keep a single default tab per tab group, fix broken
  anchors, wording and typos.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… links

- Mark the pages left out of the 2.0 sidebar (getting-started/concepts,
  getting-started/installation, core-concepts/cartesi-machine, the
  account abstraction tutorial and the integrations guide) as unlisted:
  their URLs keep working, but they leave the sitemap and search.
- Pin the push-cartesi and xmtp-cartesi links to commits.
- Emergency withdrawal install guide: Homebrew cannot pin the emulator
  version, so link the tap revision that ships 0.22.0 and say what to do
  when it reports another version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Counter, marketplace (Rust), test-tokens and forked-network tutorials:
  sample outputs now come from single runs on the CLI devnet and on
  Sepolia and Base Sepolia forks, so addresses, hashes and amounts agree
  with the commands on each page.
- Forked network: no sample InputRelayer exists on Sepolia, so use the
  reader's own address there; explain that the node submits no claims on
  these forks because devnet account 0 has code there, and how to clear
  it on the local fork.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jplgarcia
jplgarcia force-pushed the docs/v2-align-current-releases branch from b26f674 to cb66eb6 Compare November 17, 2026 15:04
github-actions Bot added a commit that referenced this pull request Nov 17, 2026

@riseandshaheen riseandshaheen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this, and for carrying the #353 commits over. I went through the PR at cb66eb6 against node v2.0.0-alpha.14, contracts v3.0.0-alpha.10 and CLI 2.0.0-alpha.42. The version pins are all right (PRT alpha.6 and guest tools 0.18.0 are what the node and the templates actually ship), and the contract reference, JSON-RPC, emergency withdrawal and self-hosted pages matched the sources.

Everything below was reproduced, most of it on a cartesi run devnet with CLI alpha.42 and the docs' own code. Where I suggest a fix, I say whether I ran the fix too. Where the line is part of this diff I've also left an inline comment, with a suggested change when the fix is a simple edit; the items on lines outside the diff are only listed here.

Should fix before merge

1. ERC-721 wallet stores token IDs as number (erc-721-token-wallet.md L31-72, L140, L273-283)
I deposited token 9007199254740993; the notice, the inspect balance and the withdrawal voucher all say 9007199254740992, so the voucher names a different token. Switching the token ID to bigint (as the ERC-1155 tutorial already does) gives …993 throughout. Tested.

2. "Repo Link" boxes point at the old implementation (ether-wallet.md L385, erc-20-token-wallet.md L467, erc-721-token-wallet.md L452)
The pinned docs_examples commit still reads from out of the payload and debits that address (index.ts L40), which is the pattern the rewritten tutorials warn against. I'd drop the boxes until that repo is updated.

3. Python-Cartesi install commands fail (community-tools.md L45-53)
pip rejects them: inconsistent name: expected 'cartesi', but metadata has 'python-cartesi'. With "python-cartesi @ git+…", "python-cartesi[machine] @ …" and "python-cartesi[machine-asset] @ …" all three install and import in a cartesi/python:3.13.2-slim-noble riscv64 container. Tested.

4. Go calculator crashes on any identifier (calculator-go.md L37)
Sending abc panics on evaluable.Evaluate(nil); the app goes to GUEST_EXCEPTION and the next input is never processed. With evaluable.Evaluate(map[string]interface{}{}) the same input is rejected and the app stays OK. Tested. (This line predates the PR.)

5. First /finish status "has no effect" (rollup.yaml L55, finish.api.mdx L43)
I changed the Python template's first /finish to reject. cartesi build succeeds, but after cartesi run the app is FAILED with failed to create machine: last request yielded as rejected. The text should say the first call must be accept.

6. /finish 202 and the retry advice (backend/finish.md L27-29, L326-328)
The call blocks until a request arrives and returns 200; I never saw a 202 with the app idle for 30 s. rollup.yaml L60 in this PR already says so, so the two pages disagree.

Site-level, also before merge

Checked on the preview:

  • 1.5 pages now show "no longer actively maintained" and point to 2.0 alpha (example). 1.5 is still the latest CLI on npm. Docusaurus has a per-version banner: "none" option for this in docusaurus.config.js; I haven't built the site with it.
  • The 2.0 banner says "We recommend using this version" without saying it is a pre-release or pointing to 1.5, which contradicts the "not for production" notes in the self-hosted guides.
  • resources/mainnet.md L9 still says "officially ready for mainnet!", and static/llms.txt L11 and static/skill.md say "v2.0 is the current production version. v1.5 is deprecated".
  • static/llms.txt wasn't updated for the new, renamed and unlisted pages.
  • get-started/quickstart.md still runs npm i -g @cartesi/cli (installs 1.5) and links to 1.5 pages, while the navbar now leads to 2.0.
  • recovery-guide.md labels the cartesi-rollups-cli tabs "Cartesi CLI".

Worth fixing

  • cartesi send --encoding abi / abi-packed (send-inputs-and-assets.md L241-244): fails with Undefined input-abi-params. Works with --abi-params "uint256 a, address b" and comma-separated values. Tested.
  • Default token deposits (send-inputs-and-assets.md L300-319): on a fresh devnet cartesi deposit erc20 gives Insufficient balance and erc721 gives Token 1 does not exist, because the test tokens start with no supply. Both work after the mint commands from the test-tokens tutorial. A mint step or a link here would help.
  • accounts_drive_start_index: 20480 (with-emergency-withdrawal.md L67-79): the example drive declaration builds to 20480 with the default root drive, but 24576 once I added extra_size = "300Mb" to the root drive. Worth saying the value depends on the root drive size and pointing to the --withdrawal-config line that cartesi build prints.
  • ERC-721 decoders in the test-tokens tutorial (Rust L898-899, Python L1028): they keep only the last 4 bytes of the token ID. Depositing token 4294967297 logs Token_id: 1 in both. The JavaScript tab decodes all 32 bytes.
  • Rust marketplace and large token IDs (marketplace-rs.md L314-316): a deposit of token ID 2^128+7 is rejected with amount too large for u128 after the portal has already moved the NFT, so it stays owned by the application. At least state the limit on the page.
  • React install commands (react-frontend-application.md L53-54): on pnpm 12.21.0 both pnpm add commands exit 1 with Ignored build scripts: [email protected]. Adding --allow-build=esbuild makes both exit 0. Tested.
  • @cartesi/viem and @cartesi/wagmi as "v1.5 package" (migration-guide.md L28, L426-433): npm only has 2.0.0-alpha.* versions of both, so they are earlier 2.0 alpha clients.
  • Account abstraction tutorial (L31-37): the devnet has no code at EntryPoint v0.6 or v0.7 and cartesi address-book lists no EntryPoint or paymaster. You already unlisted the page; since the URL still works, a warning at the top would be good.
Smaller items
  • installation.md L21, L46: the CLI declares Node ≥ 24. On Node 23.11 it installs with an EBADENGINE warning and still runs, so worth stating the supported version.
  • applications/get.md L37-39, list.md L41-43: examples show checksummed addresses; cartesi_getApplication returns them in lowercase.
  • backend/finish.md L34: rollup.run() also rejects when there is no handler for the request type. The advance-only sample in backend/notices.md answers inspect with "status":"Rejected".
  • recovery-guide.md L23: only replay (step 2) takes --database-connection; prove accounts-drive has no database flag.
  • installation-guide.md L44: cartesi/homebrew-tap has a cartesi-rollups-node formula at v2.0.0-alpha.14, so macOS doesn't have to build from source (I read the formula, didn't install it).
  • local-testing.md L68: an [nvrams.accounts] entry with accounts_drive = true also builds and prints a withdrawal config.
  • erc-721-token-wallet.md L20, erc-1155-token-wallet.md L20: the deposit tail isn't optional; a deposit with no extra data still has a 128-byte tail after the 72 fixed bytes.
  • erc-721-token-wallet.md L244: with the 0xYOUR_ERC721_PORTAL_ADDRESS placeholder left in, the deposit is rejected while the NFT is already owned by the application. One sentence of warning would do (same pattern in the other wallet tutorials; I only ran this one).
  • marketplace.md L43: "transfers the payment token to the seller" is an internal balance change; no snippet builds an ERC-20 voucher.
  • implementing_outputs_rs.md L4-6: uses ethers_core and hex without the Cargo.toml hint the other Rust snippets have.
  • abstract-consensus.md L9, L103: the second parameter of wasInputFinalized is unnamed in the source, and Authority overrides more than submitClaim().
  • viem is pinned at 2.57.19, 2.57.20 and 2.28.0 across the tutorials.
  • Two things I hit while running: a host cartesi-machine older than 0.22 makes cartesi build fail (0.20.0 found, but ^0.22.0 is required), and cartesi deposit erc20 1 still prompts for the token address unless --token is passed. Both could go in the install or deposit notes.

Other open PRs

  • #353: all eight commits are in this branch, so I'll close it once this merges.
  • #354: conflicts with this branch on 40 files, but it has content this PR doesn't: pages for the devnet test tokens, deposit refunds (RefundOutputBuilder), SelfHostedApplicationFactory and a portals overview, plus NVRAM configuration and cartesi status. I'd suggest porting those on top of this branch rather than merging #354 as is.
  • #352 (sequencer): merges cleanly with this branch in either order. Once it lands, the emergency withdrawal pages could link to it where the sequencer section was removed.

Not done on my side: I didn't run the self-hosted deployment or the forked-network tutorial end to end, and the contract reference and JSON-RPC pages were compared against source rather than exercised.


---
```bash
pip3 install "cartesi @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

pip rejects this: inconsistent name: expected 'cartesi', but metadata has 'python-cartesi'. With the package name below, all three variants install and import in a cartesi/python:3.13.2-slim-noble riscv64 container.

Suggested change
pip3 install "cartesi @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/
pip3 install "python-cartesi @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Applied in e54a430, tested in a riscv64 cartesi/python:3.13.2-slim-noble container: all three install and import cartesi works. The page also notes the import name and that git is needed.


## Python-Wallet
```bash
pip3 install "cartesi[machine] @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
pip3 install "cartesi[machine] @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/
pip3 install "python-cartesi[machine] @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Applied in e54a430 (same test as above).


A Python-based wallet implementation for Cartesi dApps designed to handle various types of assets.
```bash
pip3 install "cartesi[machine-asset] @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
pip3 install "cartesi[machine-asset] @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/
pip3 install "python-cartesi[machine-asset] @ git+https://github.com/prototyp3-dev/[email protected]" --find-links https://prototyp3-dev.github.io/pip-wheels-riscv/wheels/

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Applied in e54a430 (same test as above).

The data field contains the rollup request input data.
For advance-state requests, the input data contains the advance-state metadata and the payload.
For inspect-state requests, the input data contains only the payload.
Set `status` to `accept` or `reject` for the request that was just processed. The status of the first call, made before any request was received, has no effect.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The first status does have an effect. I changed the Python template's first /finish to reject: cartesi build succeeds, but after cartesi run the app is FAILED with failed to create machine: last request yielded as rejected.

Suggested change
Set `status` to `accept` or `reject` for the request that was just processed. The status of the first call, made before any request was received, has no effect.
Set `status` to `accept` or `reject` for the request that was just processed. The first call, made before any request was received, must use `accept`: if it uses `reject`, the node cannot load the machine (`last request yielded as rejected`).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in e54a430: the first call must use accept. Reproduced it: the node marks the application FAILED with last request yielded as rejected (the cartesi run command itself keeps running), so the text says that.

The data field contains the rollup request input data.
For advance-state requests, the input data contains the advance-state metadata and the payload.
For inspect-state requests, the input data contains only the payload.
Set `status` to `accept` or `reject` for the request that was just processed. The status of the first call, made before any request was received, has no effect.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Same text as rollup.yaml L55. If this file is generated from the YAML, regenerating it is enough.

Suggested change
Set `status` to `accept` or `reject` for the request that was just processed. The status of the first call, made before any request was received, has no effect.
Set `status` to `accept` or `reject` for the request that was just processed. The first call, made before any request was received, must use `accept`: if it uses `reject`, the node cannot load the machine (`last request yielded as rejected`).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Regenerated from the YAML in e54a430; only this generated file changed.

Comment thread docusaurus.config.js
Comment on lines 385 to 387
"1.5": {
label: "1.5",
path: "1.5",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

With 2.0 as lastVersion, the 1.5 pages now show "no longer actively maintained" and point to 2.0 alpha (preview). 1.5 is still the latest CLI on npm. Docusaurus has a per-version banner: "none" option for this; I haven't built the site with it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

banner: "none" on 1.5 in 9231c80; built and checked.

Comment thread src/theme/DocVersionBanner/index.js Outdated
Comment on lines +15 to +16
This documentation is for Cartesi Rollups <b>{versionLabel}</b> release.
We recommend using this version for up-to-date documentation.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

On 2.0 pages this reads "We recommend using this version for up-to-date documentation". It doesn't say 2.0 is a pre-release or point to 1.5, which contradicts the "not for production" notes in the self-hosted guides.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The 2.0 banner now says it is a pre-release, not ready for production, and links to 1.5 (9231c80).

The on-chain steps (1, 4, 5, and 6) can be run with either tool. Choose a tab in each step, and it applies to the others. Steps 2 and 3 use the machine tool either way. In the `cast` tabs, `<app-address>` is the application contract address, `<rpc-url>` is your node RPC endpoint, and the private key is the guardian's (step 1) or your own (steps 4 and 5).
The on-chain steps (1, 4, 5, 6, and 7) can be run with either tool. Choose a tab in each step, and it applies to the others. Steps 2 and 3 use the machine tool either way. In the `cast` tabs, `<app-address>` is the application contract address, `<rpc-url>` is your base-layer RPC endpoint, and the private key is the guardian's (step 1) or your own (steps 4, 5, and 7).

In the Cartesi CLI tabs, `cartesi-rollups-cli` sends to the RPC endpoint in `CARTESI_BLOCKCHAIN_HTTP_ENDPOINT` (or `--blockchain-http-endpoint`) and signs with the wallet set by the `CARTESI_AUTH_*` variables, the same way for every step:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The tabs labelled "Cartesi CLI" (L44, L130, L158, L185, L224) run cartesi-rollups-cli, not cartesi. Labelling them cartesi-rollups-cli, here and in this sentence, would avoid the mix-up with the Cartesi CLI.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Tabs and the sentence now say cartesi-rollups-cli (e54a430).

Comment on lines +67 to +79
"accounts_drive_start_index": 20480,
"withdrawal_output_builder": "<withdrawal-output-builder-address>"
}
```

The example start index is the one `cartesi build` (emulator 0.22) gives the accounts drive declared in [Creating the accounts drive](../../api-reference/backend/emergency-withdrawal.md#creating-the-accounts-drive): it places that drive, the second flash drive after the root drive, at `0xa0000000`. Compute yours from your own build, as described below.

:::warning Check the config against your machine
Nothing on chain or in the node CLI checks that this config points at your template's accounts drive: deployment only checks that the drive fits in the machine's memory. A wrong value can make every withdrawal fail, or make withdrawals pay out balances that are not your application's ledger.

After `cartesi build` (step 2 below), check the config against the stored machine configuration in `.cartesi/image/config.json`. One of the drives listed under `config.flash_drive` must have:

- `start` equal to `accounts_drive_start_index × 2^(5 + log2_max_num_of_accounts + log2_leaves_per_account)`. For the example above, that is `0xa0000000` (`2684354560`).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

accounts_drive_start_index: 20480 holds for this drive declaration with the default root drive. Once I added extra_size = "300Mb" to the root drive, the build gave 24576. Worth saying the value depends on the root drive size and pointing to the --withdrawal-config line that cartesi build prints.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in e54a430: the value depends on the drive layout, read it from the --withdrawal-config line cartesi build prints (20480 with the default root drive, 24576 with extra_size = "300Mb", as you saw).

- Listens to voucher execution events. See [Execution event](#execution-event).
- Checks if a voucher was executed. See [Execution check](#execution-check).
- Uses inspect `GET /inspect/<payload>`. See [Inspect calls](#inspect-calls).
- Uses `@cartesi/wagmi`, `@cartesi/viem`, or another TypeScript client. See [TypeScript applications](#typescript-applications).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@cartesi/viem and @cartesi/wagmi are described as v1.5 packages here and in L426-433. npm only has 2.0.0-alpha.* versions of both, so they are earlier 2.0 alpha clients.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed in e54a430: described as early 2.0 alpha clients, here and in the TypeScript section.

Nonnyjoe and others added 8 commits November 23, 2026 12:48
Updates the Rollups v2 documentation to cover the latest contract and CLI behavior. It adds refund, withdrawal, factory, consensus, portal, and devnet test-token references, refreshes deployment and configuration guidance, and updates tutorials, navigation, and source links.
…a.10

- Check the SelfHostedApplicationFactory, devnet test tokens, portals
  overview and deposit refund pages against the alpha.10 sources and
  point their links at alpha.10; make the SelfHostedApplicationFactory
  page the single reference and link to it from ApplicationFactory.
- AbstractConsensus: wasInputFinalized has an unnamed second parameter,
  and Authority overrides more than submitClaim().
- NVRAM: describe user as the owner of /dev/uioN, the label rules and
  memory-mapped access, as observed in a cartesi build and cartesi shell
  with CLI 2.0.0-alpha.42; an NVRAM can also be the accounts drive.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
- 1.5 pages no longer show the "no longer actively maintained" banner;
  the 2.0 banner says it is a pre-release and points to 1.5.
- llms.txt and skill.md: same positioning, no `cartesi deploy` command,
  and the 2.0 index follows the sidebar (new, renamed and unlisted pages).
- Quickstart: install @cartesi/cli@2.0.0-alpha.42 on Node.js 24 and link
  to the 2.0 pages; mainnet considerations no longer call 2.0 ready.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each change was run on a CLI 2.0.0-alpha.42 devnet, built, or installed:
- ERC-721 wallet keeps token IDs as bigint (token 9007199254740993 round
  trips); the deposit tail is always present; warn about leaving the
  portal address placeholder in the wallet tutorials.
- Go calculator no longer panics on identifiers.
- Rollup HTTP API and finish page: the first /finish must accept, the call
  blocks and returns 200, and rollup.run() rejects requests with no
  handler.
- cartesi send --encoding abi needs --abi-params; mint test tokens before
  cartesi deposit on a fresh devnet; --token skips the prompt.
- accounts_drive_start_index depends on the drive layout: read it from
  the --withdrawal-config line that cartesi build prints.
- Test-token ERC-721 decoders in Rust and Python read the whole uint256;
  the Rust marketplace uses U256 for token IDs and balances.
- React tutorial: pnpm add --allow-build=esbuild; one viem version
  (2.57.20) everywhere.
- python-cartesi install names, Node.js 24, host emulator version note,
  Cargo.toml hint for the Rust outputs sample, JSON-RPC example addresses
  in lowercase, recovery guide tab labels, earlier 2.0 alpha clients in
  the migration guide, and a warning on the account abstraction page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…amples

- Ether wallet: deposit 2 ETH so the 1 ETH transfer and the 1 ETH
  withdrawal both succeed in order, and wait for the deposit before the
  balance inspect.
- ERC-1155 wallet: use the devnet TestMultiToken address in the
  non-interactive commands instead of a placeholder that gets rejected.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Point the Repo Link boxes of the wallet and calculator tutorials, and the
calculator resources entry, at the docs_examples commit that holds the
projects built from the current tutorials, and add the box to the
ERC-1155 wallet tutorial.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ess example

- Emergency withdrawal installation: recent Homebrew refuses formulae
  from untrusted taps, so trust cartesi/tap before installing the
  emulator; on macOS, install the node tools with the cartesi-rollups-node
  formula (bottles for macOS 15 and 26), keeping the source build as the
  fallback. Tested on macOS 26 with Homebrew 7: the Homebrew
  machine tool proved an accounts drive from a template snapshot, and the
  recovery guide's cast steps anchored the root and withdrew the balance
  on a cartesi run devnet with no accepted claim.
- Send inputs: the ABI encoding examples use the address parameter from
  the review (tested with abi and abi-packed).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jplgarcia

Copy link
Copy Markdown
Member Author

Thanks for the thorough review. Everything is addressed in the commits after cb66eb6, each change run on a CLI 2.0.0-alpha.42 devnet, built, or installed:

  • e54a430 review findings: ERC-721 bigint token IDs, Go calculator, first /finish and the 200/blocking behaviour, --abi-params, minting before cartesi deposit, accounts_drive_start_index, full uint256 ERC-721 decoders, U256 in the Rust marketplace, --allow-build=esbuild, python-cartesi, Node.js 24 and the host emulator note, Cargo.toml hint, lowercase addresses, recovery-guide labels and database note, viem 2.57.20 everywhere, the deposit tail and placeholder warnings, the marketplace wording, and a warning on the account abstraction page.
  • 9231c80 site level: 1.5 has no "unmaintained" banner; the 2.0 banner says it is a pre-release and points to 1.5; mainnet.md, llms.txt and skill.md say the same (and drop cartesi deploy, which does not exist); llms.txt now follows the 2.0 sidebar; the quickstart installs @cartesi/[email protected] and links to 2.0.
  • 2c5265a, 6cd6ce2 (Idogwu's two commits from docs(v2): rollups-alpha9-coverage #354, authorship kept) and 8359be5: the devnet test tokens, deposit refunds, SelfHostedApplicationFactory, portals overview, NVRAM and cartesi status content, checked against contracts alpha.10 and CLI alpha.42 (NVRAM tested with a real build and cartesi shell, including an NVRAM as the accounts drive). The case-only portal redirects were left out: the pages keep their URLs through slug:.
  • 92c3cb3: the Repo Link boxes point at Update examples to Cartesi Rollups 2.0 (CLI 2.0.0-alpha.42) Mugen-Builders/docs_examples#1, which rebuilds the wallets (plus ERC-1155) and the calculator (five languages) from the current tutorials; every project was run on a devnet, with the withdrawal vouchers executed on chain. Rebuilding them also found two flow problems, fixed in 7b82f41.
  • 2fbf824: the cartesi-rollups-node Homebrew formula you pointed out is now the macOS path for the recovery tools. Tested on macOS 26 with Homebrew 7, which also needs brew trust cartesi/tap first (now in the guide): the Homebrew machine tool proved an accounts drive from a template snapshot, and the guide's cast steps anchored the root and withdrew on a devnet with no accepted claim. The ABI examples use your uint256 a, address b version, tested with both encodings.

Two places where what I observed differs from the review: with a first reject, cartesi run itself does not fail; the node marks the application FAILED (that is what the text says now). And the sequencer links from the emergency withdrawal pages wait for #352.

github-actions Bot added a commit that referenced this pull request Nov 24, 2026
- build-with-ai/skills.md: install command, repository link and release
  note now point at cartesi-skills v0.2.0, which targets the same
  releases as these docs (CLI 2.0.0-alpha.42, node v2.0.0-alpha.14,
  contracts 3.0.0-alpha.10).
- running-an-application.md: remove the `cartesi status --json`
  sentence. On CLI 2.0.0-alpha.42 the flag fails with "Do not know how
  to serialize a BigInt" (exit 1) while the table output works.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@riseandshaheen

Copy link
Copy Markdown
Member

Thanks for the fixes, João. I went through the changes again at 2fbf824 on a CLI 2.0.0-alpha.42 devnet.

Re-checked and passing

  • The review fixes in e54a430: ERC-721 bigint token IDs, the Go calculator, --abi-params, minting before cartesi deposit, the Python and Rust decoders, the python-cartesi install lines, the pnpm --allow-build commands, and the version banners.
  • The Ether, ERC-20, ERC-721 and ERC-1155 wallet tutorials, followed as written from cartesi create through deposits, inspects, transfers and withdrawal vouchers.
  • The re-pinned docs_examples commit: its sources are identical to the tutorial code blocks.
  • The pages ported from docs(v2): rollups-alpha9-coverage #354: the Solidity signatures match rollups-contracts v3.0.0-alpha.10, and the NVRAM configuration (including an NVRAM as the accounts drive) builds and behaves as described.

Not run: the Homebrew recovery tools path.

Commit added: 9c13665

I pushed one small commit on top:

  • build-with-ai/skills.md: the install command, the repository link and the release note now point at cartesi-skills v0.2.0 instead of v0.1.0. The new tag targets the same releases as these docs (CLI 2.0.0-alpha.42, node v2.0.0-alpha.14, contracts 3.0.0-alpha.10). npx [email protected] add Mugen-Builders/[email protected] installs all 11 skills.
  • development/running-an-application.md: removed the sentence recommending cartesi status --json. On CLI 2.0.0-alpha.42 the flag fails with Do not know how to serialize a BigInt (exit 1), while plain cartesi status prints the table correctly. It can come back once the CLI is fixed.

github-actions Bot added a commit that referenced this pull request Nov 26, 2026

@riseandshaheen riseandshaheen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved. Added a commit on top.

@jplgarcia
jplgarcia merged commit f5fccc9 into main Nov 30, 2026
1 check passed
jplgarcia added a commit that referenced this pull request Nov 30, 2026
Each change was run on a CLI 2.0.0-alpha.42 devnet, built, or installed:
- ERC-721 wallet keeps token IDs as bigint (token 9007199254740993 round
  trips); the deposit tail is always present; warn about leaving the
  portal address placeholder in the wallet tutorials.
- Go calculator no longer panics on identifiers.
- Rollup HTTP API and finish page: the first /finish must accept, the call
  blocks and returns 200, and rollup.run() rejects requests with no
  handler.
- cartesi send --encoding abi needs --abi-params; mint test tokens before
  cartesi deposit on a fresh devnet; --token skips the prompt.
- accounts_drive_start_index depends on the drive layout: read it from
  the --withdrawal-config line that cartesi build prints.
- Test-token ERC-721 decoders in Rust and Python read the whole uint256;
  the Rust marketplace uses U256 for token IDs and balances.
- React tutorial: pnpm add --allow-build=esbuild; one viem version
  (2.57.20) everywhere.
- python-cartesi install names, Node.js 24, host emulator version note,
  Cargo.toml hint for the Rust outputs sample, JSON-RPC example addresses
  in lowercase, recovery guide tab labels, earlier 2.0 alpha clients in
  the migration guide, and a warning on the account abstraction page.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@jplgarcia
jplgarcia deleted the docs/v2-align-current-releases branch November 30, 2026 16:17
github-actions Bot added a commit that referenced this pull request Nov 30, 2026
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.

3 participants