Repository navigation
Spec 0.4.0-rc.2: block zkApp commands and SNARK jobs, status consensus time and peer, pooled command tokens - #34
Merged
Merged
Conversation
…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
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PFVK2ocYaT5h7ZMVUXRmv3
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.
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) andsnark_jobs(CompletedWork).DaemonStatus:global_slot_since_genesis_best_tip,consensus_time_now(ConsensusTime) andaddrs_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