Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not fail the request if objects are pruned for object and balance …
…change (MystenLabs#11476) ## Description as titled. Tested on testnet: request ``` { "jsonrpc": "2.0", "id": 1, "method": "sui_getTransactionBlock", "params": ["Cgww1sn7XViCPSdDcAPmVcARueWuexJ8af8zD842Ff43", {"showBalanceChanges": true, "showObjectChanges":true}] } ``` response: ``` { "jsonrpc": "2.0", "result": { "digest": "Cgww1sn7XViCPSdDcAPmVcARueWuexJ8af8zD842Ff43", "timestampMs": "1679936400000", "checkpoint": "0", "errors": [ "Cannot retrieve balance changes: Error checking transaction input objects: ObjectNotFound { object_id: 0x0000000000000000000000000000000000000000000000000000000000000002, version: Some(SequenceNumber(1)) }", "Cannot retrieve object changes: Error checking transaction input objects: ObjectNotFound { object_id: 0x0000000000000000000000000000000000000000000000000000000000000002, version: Some(SequenceNumber(1)) }" ] }, "id": 1 } ```
- Loading branch information