`TransactionId` should not be regenerated if set manually by a user
Opened this issue · 0 comments
rwalworth commented
Description
Currently, setting a Transaction
's TransactionId
does not impact the Transaction
's ability to regenerate its TransactionId
. However, looking at Java and Go SDKs, the TransactionId
gets locked when it is set manually. Then, when the Transaction
is determining if it should regenerate its TransactionId
or not, it looks at the transaction ID regeneration policy as well as if the TransactionId
is locked. If the TransactionId
is locked (which it is if its set manually by a user), it does not regenerate.
Steps to reproduce
- Set a
TransactionId
for aTransaction
. - Attempt to submit the
Transaction
and have it expire. - Observe the
TransactionId
get regenerated.
Additional context
No response
Hedera network
other
Version
v0.22.0
Operating system
Other