Conversation
Bump @cartesi/client to 2.0.0-alpha.38, @cartesi/react to 2.0.0-alpha.42 and @cartesi/codec to 1.0.0-alpha.5 (new contract/portal addresses), and adapt the explorer and its mock server to the new API: - node bar uses cartesi_getNodeInfo (chain, version, default block) instead of the deprecated getChainId/getNodeVersion - applications: data availability removed; new terminal statuses - epochs: outputs merkle root/proof replaced by the TX-buffer, iflags.Y and HTIF tohost data blocks and proofs - inputs: outputsHash -> txBufferDataBlock, exception data, new statuses - tournaments: kind, initial hash, base cycle, allowance, creation tx, current-state snapshot and bond events; commitment claimer/clock - matches: phase, timeout outcome, bisection/sealed state, deadlines, leaf seal; advances keyed by tx hash + log index (getMatchAdvance) - overview: executed / pending executable output counts; outputs list gains an Executed filter - mock server serves the new shapes, filters and methods Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uovoe2koh5SneMR2JLaKtY
🦋 Changeset detectedLatest commit: 9cfba4f The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@deroll/explorer is private and not tracked by changesets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Uovoe2koh5SneMR2JLaKtY
This branch was successfully deployed
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
Updates the explorer to the rollups-node 2.0.0-alpha.13 JSON-RPC API and the matching client libraries and contracts.
Dependencies
@cartesi/client2.0.0-alpha.34 → 2.0.0-alpha.38@cartesi/react2.0.0-alpha.38 → 2.0.0-alpha.42@cartesi/codec1.0.0-alpha.0 → 1.0.0-alpha.5 — the new contracts moved the portal addresses; the old codec would stop recognizing depositsAPI changes handled
cartesi_getNodeInfo(chain, version, default block) instead of the deprecatedgetChainId/getNodeVersion; tx links and the decoder take the chain ID from it toodataAvailabilityremoved; badge colors for the new statuses (GUEST_EXCEPTION, MACHINE_HALTED, MCYCLE_OVERFLOW, UNEXPECTED_YIELD, INVALID_OUTPUTS_ROOT)outputsHash→txBufferDataBlock; newexceptionDatashown on the input page; resource-limit statuses replaced by OVERFLOW / UNEXPECTED_YIELD / INVALID_OUTPUTS_ROOTsnapshot; page also shows kind, initial hash, base cycle, clock allowance and creation txgetMatchAdvanced→getMatchAdvance)Additions using new API data
Mock server
Serves the new record shapes and methods (
getNodeInfo,getEpochByVirtualIndex,getMatchAdvance,listBondEvents/getBondEvent, executed / pending output counts), list-valued filters,from/toindex ranges and the new portal addresses.Changeset
@deroll/decoderminor — it re-exports theInputrecord, which changed shape.Testing
@cartesi/client@2.0.0-alpha.38parsers) against the updated mock; all parsed.tsc -b,bun run lintandvite buildpass.🤖 Generated with Claude Code
https://claude.ai/code/session_01Uovoe2koh5SneMR2JLaKtY