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

[shell-runtime] add DisableTokenTxFilter #17

Merged
merged 1 commit into from
Jul 5, 2021
Merged

Conversation

clangenb
Copy link
Contributor

@clangenb clangenb commented Jul 5, 2021

Closes #13

Tested with launch-rococo-local-with-shell config:

Tested:

  • Cannot send xt's: Balances::transfer, Vesting::vested_transfer.
  • Can send: Vesting::force_vested_transfer. Is this ok, as it can only be called by root? If yes, this would be very convenient to distribute tokens before the integritee-runtime upgrade.

@clangenb clangenb requested a review from brenzi July 5, 2021 13:26
@clangenb
Copy link
Contributor Author

clangenb commented Jul 5, 2021

@brenzi I already requested the review before the checks pass because I am not certain if root transfers are ok.

@brenzi
Copy link
Collaborator

brenzi commented Jul 5, 2021

force transfer is ok. anyway, root can wrap any call with sudo pallet. also filtered ones

@brenzi brenzi merged commit a423db0 into master Jul 5, 2021
@clangenb clangenb deleted the disable_token_transfers branch July 6, 2021 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[shell] disable token transfers
2 participants