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

Narrow down shielding retry logic #4071

Merged
merged 4 commits into from
Nov 26, 2024
Merged

Conversation

grarco
Copy link
Contributor

@grarco grarco commented Nov 21, 2024

Describe your changes

Closes #4045.

Ensures that the retry logic for a failed shielding tx hitting an epoch boundary is applied only when the MASP vp is the only one rejecting the tx and the error is among the expected ones.

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:

Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.55%. Comparing base (b8dabb2) to head (8d1dee3).
Report is 53 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4071      +/-   ##
==========================================
+ Coverage   74.32%   74.55%   +0.23%     
==========================================
  Files         341      341              
  Lines      107401   107399       -2     
==========================================
+ Hits        79828    80076     +248     
+ Misses      27573    27323     -250     

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

@grarco grarco force-pushed the grarco/narrow-shielding-retry-logic branch from a268799 to 03b3182 Compare November 21, 2024 11:18
@grarco grarco marked this pull request as ready for review November 21, 2024 11:21
mergify bot added a commit that referenced this pull request Nov 26, 2024
@mergify mergify bot merged commit b39bae5 into main Nov 26, 2024
24 checks passed
@mergify mergify bot deleted the grarco/narrow-shielding-retry-logic branch November 26, 2024 13:00
@grarco grarco added the backport-libs-46 Backport libraries to 0.46 maintenance branch label Nov 26, 2024
mergify bot pushed a commit that referenced this pull request Nov 26, 2024
(cherry picked from commit 03b3182)
@grarco grarco added merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass and removed merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass labels Nov 26, 2024
mergify bot added a commit that referenced this pull request Nov 26, 2024
Narrow down shielding retry logic (backport #4071)
tzemanovic added a commit that referenced this pull request Nov 29, 2024
* maint-0.46:
  Namada libs 0.46.1
  changelog: add #4117
  exclude apps crate from libs release
  apps: don't use workspace version anymore
  add a script to release apps bins
  prefix libs release tag with "libs-"
  mv scripts/release.sh scripts/release_libs.sh
  add different commit msg for libs release
  add a different release config for apps
  Changelog
  Add a single CometBFT dummy validator
  mergify: move autosquash to queue_rules
  Adds debug trace for masp epochs in asset types
  Fix `gen_localnet.py` json exception
  Revert "ci(mergify): upgrade configuration to current format"
  Error match for shielding retry logic
  Changelog #4071
  Refactors shielding retry logic
  Shielding retry logic only when masp vp rejects
  Improves implicit vp display
  Changelog #4083
  Adds missing protocol params in logs
  Log the implicit vp in `query-protocol-parameters`
  mergify: backport 0.46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-libs-46 Backport libraries to 0.46 maintenance branch client MASP non-breaking-change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve retry logic on failed shielding transaction
2 participants