Skip to content

Commit 96a8311

Browse files
dkijaniaclaude
andcommitted
Fix GET_ACCOUNT_WITH_TOKEN type + refresh schema snapshot
- GET_ACCOUNT_WITH_TOKEN: change `$token: UInt64!` to `$token: TokenId!`. The Mina daemon's account(token:) field has always expected a TokenId scalar. The drift check (added in the follow-up PR) catches this against a live lightnet daemon. - src/mina_sdk/schema/graphql_schema.json: regenerated against devnet. The previous snapshot was stale by ~49 introspection diffs (mostly ofType nullability normalization on list-typed fields). No SDK behavior change; only a fresh local schema for the drift checker to compare against. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cff0793 commit 96a8311

2 files changed

Lines changed: 1055 additions & 770 deletions

File tree

src/mina_sdk/daemon/queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"""
4848

4949
GET_ACCOUNT_WITH_TOKEN = """
50-
query ($publicKey: PublicKey!, $token: UInt64!) {
50+
query ($publicKey: PublicKey!, $token: TokenId!) {
5151
account(publicKey: $publicKey, token: $token) {
5252
publicKey
5353
nonce

0 commit comments

Comments
 (0)