Skip to content

Improve shielded fee payment UX#4619

Merged
mergify[bot] merged 8 commits intomainfrom
grarco/masp-fees-ux
May 26, 2025
Merged

Improve shielded fee payment UX#4619
mergify[bot] merged 8 commits intomainfrom
grarco/masp-fees-ux

Conversation

@grarco
Copy link
Copy Markdown
Collaborator

@grarco grarco commented Apr 29, 2025

Describe your changes

Closes #3964.

  • the gas-spending-key argument is now implied to be the first source of the tx when not provided
  • removed the --disposable-gas-payer argument which is now consider the default (the user can always override it by providing a transparent --gas-payer or --signing-keys)
  • the saving of the disposable gas payer keys in the wallet has been deferred to right before the tx's submission (in case of previous errors during the build process saving the key in the wallet is useless)

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
  • 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:

grarco added a commit that referenced this pull request Apr 30, 2025
@grarco grarco force-pushed the grarco/masp-fees-ux branch from 6009df7 to b650370 Compare April 30, 2025 08:40
@grarco grarco marked this pull request as ready for review April 30, 2025 08:40
@github-actions github-actions bot added the breaking:api public API breaking change label Apr 30, 2025
grarco added a commit that referenced this pull request Apr 30, 2025
@grarco grarco force-pushed the grarco/masp-fees-ux branch from b650370 to bff830a Compare April 30, 2025 10:24
@grarco grarco requested a review from sug0 April 30, 2025 11:34
@grarco grarco force-pushed the grarco/masp-fees-ux branch from bff830a to e003b6a Compare April 30, 2025 12:57
@brentstone brentstone self-requested a review May 22, 2025 15:43
Copy link
Copy Markdown
Collaborator

@brentstone brentstone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx, I like these changes

@grarco grarco added the merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass label May 26, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented May 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (c2cddf3) to head (a0cfbc8).
Report is 29 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #4619   +/-   ##
============================
============================

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

mergify bot added a commit that referenced this pull request May 26, 2025
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 26, 2025

This pull request has been removed from the queue for the following reason: checks failed.

The merge conditions cannot be satisfied due to failing checks:

You can check the last failing draft PR here: #4648.

You may have to fix your CI before adding the pull request to the queue again.
If you update this pull request, to fix the CI, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio requeue comment.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 26, 2025

Hey @grarco, your pull request has been dequeued due to the following reason: CHECKS_FAILED.
Sorry about that, but you can requeue the PR by using @mergifyio requeue if you think this was a mistake.

@grarco
Copy link
Copy Markdown
Collaborator Author

grarco commented May 26, 2025

@Mergifyio requeue

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 26, 2025

requeue

✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically

mergify bot added a commit that referenced this pull request May 26, 2025
@mergify mergify bot merged commit 71d3acc into main May 26, 2025
28 checks passed
@mergify mergify bot deleted the grarco/masp-fees-ux branch May 26, 2025 10:46
tzemanovic added a commit that referenced this pull request Jun 4, 2025
Namada libs-v0.150.0

* tag 'libs-v0.150.0':
  Changelog: Release libs 0.150.0
  Namada libs 0.150.0
  changelog: add #4666
  added changelog
  add more tests
  fixes from reviews
  fixes from reviews
  test/pos: claim optimizations
  PoS: optimize claim rewards
  add pgf test
  add governance test
  pgf/governance disallow non-native transfers
  Changelog for #4659
  Change nomenclature of transfer in/out validation fn
  Soft limit the number of wasm transfer targets
  Adds masp integration test for multi-input notes
  Dont construct a shielded component when the transfer data is completely transparent.
  Added a changelog entry.
  Renamed structures to increase clarity.
  Combined transfer inputs and outputs.
  Refactors extraction of fee payer from `SigingTxData`
  Also write epoch migrations directly into memory.
  Added a changelog entry.
  Added a changelog entry.
  Demonstrate accelerating epochs.
  Added a migration that sets the shielded reward parameters of specified tokens.
  Added a changelog entry.
  Slow down the epochs in tricky_masp_txs.
  Increased the usage of constants in migrations.
  Allow denomination to be specified separately for each token.
  Fixes handling of serialized signatures
  Changelog #4625
  Merges the disposable gas payer flag into `fee_payer`
  Improves conflicts and requirements in cli args for `TxCustom`
  Merges fee payer and wrapper signature into a single field of `SigningTxData`
  Moves signatures and wrapper signature into `SigningTxData`
  Moves `signatures` and `wrapper_signature` args from `Tx` to `TxCustom`
  Improves cli help messages for signers/fee payers
  Changelog #4619
  Defers saving disposable gas payer to the wallet right before tx submission
  Removes `--disposable-gas-payer` arg
  Adds warning messages for transparent fee payment in masp transaction. Adds conflict between the disposable gas payer argument and the signing keys one.
  Updates help message for `gas-spending-key`
  Mandatory source in `MaspTargetTransferData`
  Implied gas spending key
  Changelog #4579
  Derive `PartialEq` for `SigningTxData`
  Makes the public keys for signing unique
  Tests expected commtiment tree in masp event test
  ci/can-backport: set semver baseline-root to current maint branch
  Changelog for #4582
  Fix shielded swaps SQS queries
  Improve docstr
  fix: use correct denom calc for osmosis swaps
  Changelog for #4594
  Delete IBC signer parsing as gov addr dead code
  ci: use nextest to run hardwallet e2e tests
  ci: use nextest to run hardwallet e2e tests
  changelog
  update hermes
  test/e2e: auto cleanup speculos process
  Changelog for #4580
  Change ABI to C-unwind in vm_env when running natively
  test/e2e: hw-wallet-automation - try to disable speculos REST API
  Changelog #4566
  Adds failing atomic batch fee payment integration test
  Filters only tx result events in integration tests
  Extends masp events integration test
  Adds masp events integration test
  fix core release by symlinking CONSENSUS_VERSION
  CI: bump maint version libs-v0.49 and apps-101.0
  Refactors masp event lookup
  Fixed top-level comments.
  Changelog #4544
  Masp fee payment msg in `display_batch_resp`
  Added a changelog entry.
  Allow migrations to reset the conversions for arbitrary Namada addresses.
  Added a changelog entry.
  Implemented logic to update transaction WASMs in hard-fork migration.
  Changelog for #4541
  Improve MASP fee payment VP errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking:api public API breaking change breaking:SDK SDK breaking change cli gas merge Ready to merge - mergifyio bot will add the PR to merge queue when all checks pass SDK UX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve MASP fee payment UX

3 participants