Contract nonce field is missing in the getContractInfo() query and we have no way to get the nonce of a contract #2192
Labels
enhancement
New feature or request
Milestone
Description
In the Smart Contracts repo we need to get the nonce of a contract. We cannot track every transaction and search for the last nonce in it. We need to use the getContractInfo() query and get the contract nonce from it in the same way we are getting the account nonce field - EthereumNonce from the getAccountInfo() query.
Relevant documentations:
NOTE: this field is important for completing the tests for the account nonce discrepancies fiexs. Tests task: hashgraph/hedera-smart-contracts#677
Steps to reproduce
From the Smart Contracts project execute the getContractInfo() query and check the results returned.
Expected Result:
Contract nonce field should be present .
Actual Result:
No contract nonce field present.
Additional context
No response
Hedera network
mainnet
Version
2.42.0
Operating system
None
The text was updated successfully, but these errors were encountered: