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
ClaimReward transaction does not appear in Issuer's AccountTx (Version: 2023.12.29-release+689) #257
Comments
Related: #140 Thank you for finding this. |
This will need more thought. Adding your suggestion doesn't add the issuer to the thread because the Issuer is on the tx not the ledger entry metadata. The issuer is on the thread of the EmittedTxn though. So in this case when the user opts in or out, they are not on the tx thread but when a GenesisMint occurs they are or should be. Further testing is required to confirm this. Your suggestion however does add the issuer to the thread for URITokens which might be something we want. Finally, the issuer on an import txn is already on the thread through the EmittedTxn entry thats created. So it should already show there. |
Technically, ClaimReward is similar to Invoke and is intended to invoke Hook. So in my opinion, even if there is no Hook in sfIssuer, the Issuer should be added to the thread, and if so, there must be a disallowIncomingClaimReward.
I didn't check up to see what it was current, and only listed the transactions that were affected by the field name. |
Yes currently it is exactly like Invoke, and neither of them are shown in Can you explain more about the |
Just to prevent unwanted transactions from appearing in the transaction history of the account that is set in Issuer. |
Isn't the genesis account the issuer? So a hook would need to be voted in by the governance board to set this hook I believe. That seems like a lot of extra work when there are other priorities. If you want to PR that then please by all means. However please keep in mind that would mean that while every other |
Issue Description
ClaimReward
transaction does not appear in Issuer's AccountTxSteps to Reproduce
ClaimReward
transaction specified as Issuer.https://xahscan.com/tx/4845C3D7B0CDC04C6A2DA53A723AE60DAC12E4F491AB93B881E919CD3FB849ED
Expected Result
When retrieving a transaction in
account_tx
command for an account specified as Issuer in aClaimReward
transaction, the retrieved result contains aClaimReward
transaction.Actual Result
Does not contain.
Environment
Supporting Files
https://github.com/Xahau/xahaud/blob/dev/src/ripple/ledger/impl/ApplyStateTable.cpp#L646-L682
It might be a simple idea to add the following process.
This would affect
NFTokenMint
transaction,Import
transaction, andURIToken
related transactions.The text was updated successfully, but these errors were encountered: