Skip to content

Spec 0.4.0-rc.2: block zkApp commands and SNARK jobs, status consensus time and peer, pooled command tokens - #34

Merged
dkijania merged 3 commits into
masterfrom
spec-0.4.0-rc.2
Oct 13, 2026
Merged

dkijania merged 3 commits into
masterfrom
spec-0.4.0-rc.2

Conversation

@dkijania

Copy link
Copy Markdown
Collaborator

Implements o1-labs/mina-sdk-spec#6 (v0.4.0-rc.2):

  • BlockInfo: zkapp_commands (BlockZkappCommand: fee payer, failure reason and the account updates kept as dictionaries, as the spec allows) and snark_jobs (CompletedWork).
  • DaemonStatus: global_slot_since_genesis_best_tip, consensus_time_now (ConsensusTime) and addrs_and_ports.peer.
  • PooledUserCommand: valid_until, token, fee_token.
  • spec/ is the v0.4.0-rc.2 copy; the version is 0.4.0rc2.

These are the fields mina-frontend reads with hand-written queries. Three tests cover the new fields; the conformance test checks the documents against the spec copy. ruff, mypy and the unit tests pass locally.

Depends on the spec PR being merged and tagged v0.4.0-rc.2: the "Specification copy" job fails until that tag exists.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PFVK2ocYaT5h7ZMVUXRmv3

dkijania and others added 3 commits October 13, 2026 23:04
…NARK jobs, status consensus time and peer, pooled command tokens

BlockInfo gets zkapp_commands (BlockZkappCommand: fee payer, failure
reason and the account updates as dictionaries) and snark_jobs
(CompletedWork); DaemonStatus gets global_slot_since_genesis_best_tip,
consensus_time_now (ConsensusTime) and addrs_and_ports.peer;
PooledUserCommand gets valid_until, token and fee_token. These are the
fields mina-frontend reads with hand-written queries.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PFVK2ocYaT5h7ZMVUXRmv3
A command signed with a validUntil must be sent with the same value.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PFVK2ocYaT5h7ZMVUXRmv3
@dkijania
dkijania merged commit 8447282 into master Oct 13, 2026
10 checks passed
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.

1 participant