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

sdk/tx-result: print tx events if any (backport #4347) #4348

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 6, 2025

Describe your changes

Print events emitted by a tx, if any.

Example output of namadac tx-result:

Checking if tx ADCB491136F8699069A816F15111FFA984B5B768E886E077A911C00AB16BD439 is applied...
Transaction batch ADCB491136F8699069A816F15111FFA984B5B768E886E077A911C00AB16BD439 was applied at height 580.
Batch results:
Transaction DE55BEA23344962AFB8161CF73D3D8B026DD712AFBA73DC523A2FFE4DE5B0770 was successfully applied.
Events:
   - tx - token/transfer:
     - post-balances: [[["internal-address/tnam1qgqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc8j2fp","tnam1qxgfw7myv4dh0qna4hq0xdg6lx77fzl7dcem8h7e"],"100000000096"],[["internal-address/tnam1qyczahj5gmtsv694q2wngsl00qjpyxyyrsrtq5yk","tnam1qxgfw7myv4dh0qna4hq0xdg6lx77fzl7dcem8h7e"],"1900075012169"]]
     - source-accounts: [[["internal-address/tnam1qgqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqc8j2fp","tnam1qxgfw7myv4dh0qna4hq0xdg6lx77fzl7dcem8h7e"],"20787578"]]
     - target-accounts: [[["internal-address/tnam1qyczahj5gmtsv694q2wngsl00qjpyxyyrsrtq5yk","tnam1qxgfw7myv4dh0qna4hq0xdg6lx77fzl7dcem8h7e"],"20787578"]]
     - token-event-descriptor: pos-claim-rewards
 The batch consumed 16513 gas units.

Checklist before merging

  • If this PR has some consensus breaking changes, I added the corresponding breaking:: labels
    • This will require 2 reviewers to approve the changes
  • If this PR requires changes to the docs or specs, a corresponding PR is opened in the namada-docs repo
    • Relevant PR if applies:
  • If this PR affects services such as namada-indexer or namada-masp-indexer, a corresponding PR is opened in that repo
    • Relevant PR if applies:

This is an automatic backport of pull request #4347 done by [Mergify](https://mergify.com).

(cherry picked from commit c657c54)
(cherry picked from commit 3c423f9)
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.19%. Comparing base (f969d8f) to head (902bae7).
Report is 4 commits behind head on maint-libs-0.47.

Additional details and impacted files
@@                 Coverage Diff                 @@
##           maint-libs-0.47    #4348      +/-   ##
===================================================
- Coverage            74.19%   74.19%   -0.01%     
===================================================
  Files                  345      345              
  Lines               110632   110644      +12     
===================================================
+ Hits                 82079    82087       +8     
- Misses               28553    28557       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tzemanovic tzemanovic added the merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass label Feb 6, 2025
@mergify mergify bot merged commit 2bda86f into maint-libs-0.47 Feb 6, 2025
24 of 25 checks passed
@mergify mergify bot deleted the mergify/bp/maint-libs-0.47/pr-4347 branch February 6, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant