We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc.discover
Is SUI RPC TransactionResponse/TransactionEffects schema wrong or ???. Here is a snippet of TransactionEffects in schema referring to ObjectRef
"TransactionEffects": { "description": "The response from processing a transaction or a certified transaction", "type": "object", "required": [ "gasObject", "gasUsed", "status", "transactionDigest" ], "properties": { "created": { "type": "array", "items": { "$ref": "#/components/schemas/ObjectRef" } },
With ObjectRef in schema:
"ObjectRef": { "type": "object", "required": [ "digest", "objectId", "version" ], "properties": { "digest": { }, "objectId": { }, "version": { } },
However, I am getting this in the subscription data:
"created": [ { "owner": {"ObjectOwner": "0x dcc4acdcbe40459d37e0ff1d5518cd38705ea905"}, "reference": { # Ommitted lines }, },
Note the presence of owner in the actual data not accounted for in the schema? I also received wrapped effect which aligns with ObjectRef expectations
"wrapped": [ { "objectId": "0x 06c5428245ae9dda32ccf96d00de1fb228b09016", "version": 892630, "digest": "WFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFg=", } ], ```
The text was updated successfully, but these errors were encountered:
@FrankC01, thank you for filing this! As confirmed by @patrickkuo, it is indeed a bug.
Sorry, something went wrong.
Hey gang... Is there a PR# for this?
#7232
[bugfix] - fix wrong schema for OwnedObjectRef (#7232)
208c996
This PR fixes #7052
patrickkuo
Successfully merging a pull request may close this issue.
Is SUI RPC TransactionResponse/TransactionEffects schema wrong or ???. Here is a snippet of TransactionEffects in schema referring to ObjectRef
With ObjectRef in schema:
However, I am getting this in the subscription data:
Note the presence of owner in the actual data not accounted for in the schema?
I also received wrapped effect which aligns with ObjectRef expectations
The text was updated successfully, but these errors were encountered: