Skip to content
New issue

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

Add doc reference HIP-844 #149

Open
6 tasks done
SimiHunjan opened this issue Jan 18, 2024 · 1 comment
Open
6 tasks done

Add doc reference HIP-844 #149

SimiHunjan opened this issue Jan 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@SimiHunjan
Copy link
Collaborator

SimiHunjan commented Jan 18, 2024

Problem

HIP: https://hips.hedera.com/hip/hip-844

Protobuf PR: hashgraph/hedera-protobufs#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

Add doc for signer_nonce

Alternatives

No response

@SimiHunjan SimiHunjan added the enhancement New feature or request label Jan 18, 2024
@SimiHunjan
Copy link
Collaborator Author

New APIs

None!

Updated APIs

ContractFunctionResult

int64 signerNonce: The value of the signer account nonce.

  • NOTE: This value can be null.

Example

ContractFunctionResult cfr;
cfr.signerNonce = 1;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant