Releases: MinaProtocol/mina-sdk-go
Releases · MinaProtocol/mina-sdk-go
v0.1.1
Bug fixes
- Fix
queryGetAccountWithTokentoken-arg type: the daemon expectsTokenId, notUInt64. Any call toClient.GetAccount(pk, token)with a non-empty token now succeeds against current Mina daemons. (#1)
Tooling
- Two-layer GraphQL schema-drift checker (
scripts/check_schema_drift.go):- Layer 1: introspect the live daemon and diff against
schema/graphql_schema.json(new checked-in snapshot). Detects added/removed types, field-type changes, argument-type changes (the exact bug above), and inputField-type changes. - Layer 2: parses
queries.go, sends each operation with sentinel variables, classifies GraphQL errors. Connection errors are bucketed as infrastructure failures (always exit 1); unknown-sentinel-type ops fail in--strict. The drift workflow now runs in the matrix againstmaster/compatible/developlightnet images on PRs that touchschema/,queries.go, or the script.
- Layer 1: introspect the live daemon and diff against