-
Notifications
You must be signed in to change notification settings - Fork 951
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
Add a param to enable/disable nam transfers #2846
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an issue with make check-crates
but apart from that looks good to me, thank you!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2846 +/- ##
==========================================
+ Coverage 53.88% 53.96% +0.07%
==========================================
Files 308 308
Lines 100154 100331 +177
==========================================
+ Hits 53967 54140 +173
- Misses 46187 46191 +4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
d250bd5
to
85a5a07
Compare
will this prevent bonding? I think we need to be able to transfer nam to the PoS account if we need to bond. |
Ah, good point - in that case we should allow transfers to (but not from) the PoS account. |
More particularly, perhaps we should allow transfers between |
I don't quite follow - why would we need to transfer NAM (specifically) to and from the MASP or governance, before NAM transfers are enabled? |
Gov proposals require that the author send NAM to the gov address, which is kept if the proposal fails I believe (and refunded if passed). And if you want to shield NAM, don't we send it to the MASP address? |
Governance proposal deposits are OK. We do not want to allow shielding NAM until transfers are enabled. |
* origin/yuji/disable-nam-transfer-param: add debug log small refactoring enable native transfer to PoS or Gov fix dev deps add param to enable/disable nam transfers # Conflicts: # crates/apps/src/lib/node/ledger/shell/mod.rs
Describe your changes
closes #2842
Indicate on which release or other PRs this topic is based on
v0.31.9
Checklist before merging to
draft