I have been using this Graphql query for a long time without issues to check if the transaction has been included or has failed:
Endpoint: https://berkeley.graphql.minaexplorer.com
Payload:
{
query: {
zkapp(query: {hash: "5JvBe5U8gNgsaEPSAf41ZnAUtcQNr7ZdTVNdfL1fJqkXiJeeSfAm"}) {
blockHeight
failureReason
failures
index
}
}
},
variables: null
}
But now it fails with this error (I know the transaction is included):
{
"data": {
"zkapp": null
},
"errors": [
{
"message": "reason=\"could not validate document: \\n\\tzkappCommand.accountUpdates.1.body.update.permissions.setVerificationKey: Invalid type. Expected: type: undefined, bsonType: [string,null], given: [object]\"; code=\"SchemaValidationFailedRead\"; untrusted=\"read not permitted\"; details=map[]",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"zkapp"
]
}
]
}
So I assume something has changed since the new Berkeley release ?
Is there a solution for this ?