Skip to content

Commit 9b2dcaa

Browse files
authored
Merge pull request #1 from MinaProtocol/fix/account-with-token-query-type
Fix queryGetAccountWithToken: token arg type is TokenId, not UInt64
2 parents 4c96276 + a5dca2f commit 9b2dcaa

4 files changed

Lines changed: 17037 additions & 52 deletions

File tree

.github/workflows/schema-drift.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
schedule:
55
- cron: "0 6 * * 1" # Weekly on Monday at 06:00 UTC
66
workflow_dispatch:
7+
pull_request:
8+
paths:
9+
- "schema/**"
10+
- "scripts/check_schema_drift.go"
11+
- "queries.go"
712

813
jobs:
914
schema-drift:

queries.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ query ($publicKey: PublicKey!) {
4949
`
5050

5151
const queryGetAccountWithToken = `
52-
query ($publicKey: PublicKey!, $token: UInt64!) {
52+
query ($publicKey: PublicKey!, $token: TokenId!) {
5353
account(publicKey: $publicKey, token: $token) {
5454
publicKey
5555
nonce

0 commit comments

Comments
 (0)