Open rwalworth opened 8 months ago
Can I work on this issue?
The transaction id is referenced for which example or it is generic. Not sure what to do?
The transaction id is referenced for which example or it is generic. Not sure what to do?
How it works now, when a TransactionId
is set by a user, the processing will still regenerate the TransactionId
if the Transaction
expires and mTransactionIdRegenerationPolicy
is set to true
. This is not desired behavior. If the TransactionId
is set manually by the user (by calling setTransactionId()
), it shouldn't be regenerated even if mTransactionIdRegenerationPolicy
is set to true
.
🆕🐥 First Timers Only
This issue is reserved for people who have never contributed to Hedera or any open source project in general. We know that creating a pull request (PR) is a major barrier for new contributors. The goal of this issue and all other issues labeled by 'good first issue' is to help you make your first contribution to Hedera.
👾 Description of the issue
Currently, setting a
Transaction
'sTransactionId
does not impact theTransaction
's ability to regenerate itsTransactionId
. However, looking at Java and Go SDKs, theTransactionId
gets locked when it is set manually. Then, when theTransaction
is determining if it should regenerate itsTransactionId
or not, it looks at the transaction ID regeneration policy as well as if theTransactionId
is locked. If theTransactionId
is locked (which it is if its set manually by a user), it does not regenerate.Steps to reproduce
TransactionId
for aTransaction
.Transaction
and have it expire.TransactionId
get regenerated.📋 Step by step guide to do a contribution
If you have never contributed to an open source project at GitHub, the following step-by-step guide will introduce you to the workflow. More information and concrete samples for shell commands for each step can be found in our CONTRIBUTING.md file. A more detailed general documentation of the GitHub PR workflow can be found here.
sign-off
information to the commit to accept the "Developer Certificate of Origin" (https://developercertificate.org). More details can be found in our CONTRIBUTING.md🎉 Contribute to Hacktoberfest
Solve this issue as part of the Hacktoberfest event and get a chance to receive cool goodies like a T-Shirt. 🎽
🤔 Additional Information
If you have any questions, just ask us directly in this issue by adding a comment. You can join our community chat at Discord. A general manual about open-source contributions can be found here.
Operating system
Other