Closed Doordashcon closed 2 years ago
tbh i think this pallet needs a change, for one the ability to create a new faucet should be possible through a helper function cc @siman
tbh i think this pallet needs a change, for one the ability to create a new faucet should be possible through a helper function cc @siman
I see it like: we have a common function, but 2 different dispatch calls: force_add_faucet
, add_faucet
. The last one can create a faucet from caller account. The force
one can create a faucet from any account, but caller should be root.
@F3Joule currently add_faucet
dispatch can only be called by root and accepts an accountId, force_add_faucet
does not exist.
@F3Joule currently
add_faucet
dispatch can only be called by root and accepts an accountId,force_add_faucet
does not exist.
I mean, imo, we should do like I've described.
@F3Joule Do we have a specific spec machine for producing weights?
Hi @F3Joule Are the changes acceptable? I want to work on other pallets
TODO