MystenLabs / sui

Sui, a next-generation smart contract platform with high throughput, low latency, and an asset-oriented programming model powered by the Move programming language
https://sui.io
Apache License 2.0
5.98k stars 11.1k forks source link

Cannot retrieve balance changes: Error checking transaction input objects #18781

Open Supra-HarshitPadalia opened 1 month ago

Supra-HarshitPadalia commented 1 month ago

sui_getTransactionBlock: Cannot retrieve balance changes

RPC request exception, Request transaction cannot obtain balance change, Actually, This transaction has a change in balance.

request: curl -X POST 'https://fullnode.testnet.sui.io:443' \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"sui_getTransactionBlock","params": ["6DNWZoxKc8Dbbsm6eqRhowk8YUV155SqJ3bLDkGVa9XW",{"showBalanceChanges": true}]}'

response: {"jsonrpc":"2.0","result":{"digest":"6DNWZoxKc8Dbbsm6eqRhowk8YUV155SqJ3bLDkGVa9XW","timestampMs":"1688745043522","checkpoint":"7066825","errors":["Cannot retrieve balance changes: Error checking transaction input objects: ObjectNotFound { object_id: 0x2f86921bf880424bf63830f1bea58a0e8b3be9255d0c495f08fbd68bfa1bf8f1, version: Some(SequenceNumber(6971160)) }"]},"id":1}

selfSendSuiBug

stefan-mysten commented 1 month ago

The digest in your curl query does not exist on testnet: 6DNWZoxKc8Dbbsm6eqRhowk8YUV155SqJ3bLDkGVa9XW Can you provide the right digest?

Supra-HarshitPadalia commented 1 month ago

transactionDigest:"3V1JNdLQfv5ynY4UqL1K8VwpnPUDzwqriQbdKEofww7K"