hashgraph / hashgraph/hedera-sdk-reference
HIP 844: Handling and externalisation improvements for account nonce updates
- Dominant language
- HTML
- Stars
- 7
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### Problem
HIP: https://hips.hedera.com/hip/hip-844
Protobuf PR: https://github.com/hashgraph/hedera-protobufs/pull/312
Introduce rules for when to update an Ethereum transaction signer’s nonce and a new field for externalising the nonce update in the record stream. This will help resolve issues where the Consensus nodes and the Mirror nodes are out of sync in regards to what the current value of an account’s nonce is.
```
message ContractFunctionResult {
[...]
/**
* If not null this field specifies what the value of the signer account nonce is post transaction execution.
* For transactions that don't update the signer nonce (like HAPI ContractCall and ContractCreate transactions) this field should be null.
*/
Int64Value signer_nonce = 15;
}
```
### Solution
`ContractFunctionResult` needs to include returning the `signerNonce`.
### Alternatives
_No response_
```[tasklist]
### SDKs
```
Contributor guide
Assessment
This issue has not been assessed yet.