Xiliang Chen
Xiliang Chen
> If the user account has some balance above ED, why not use the nonce of the user account? Using the relayer nonce would only be required for initial onboarding...
> 1 Did you consider nullifiers? Things will be easy if Substrate support purge storages with common prefix with `O(1)` time but we don't and therefore some more tricks are...
I see. But ED is only about fee token. User could have application token (maybe sone non transferable voucher) or NFT or some other assets.
> Is there a github issue for O(1) storage purge yet? We'll maybe want that elsewhere like multi-block elections.. It feels silly not to have given how painful storage can...
related https://github.com/paritytech/substrate/issues/10818
Duplicated to the request I made more than a year ago: https://github.com/paritytech/substrate/issues/8158
And maybe the proper solutions is https://github.com/paritytech/xcm-format/pull/22 + PSPs?
I think the best way is by default owner has those permissions, but can give up the permissions to become trustless. i.e. they can choose when to lock the parachain...
If the in memory hash map is small, the performance difference should be tolerable .
To the smart contract platform, all those execution time will be metered and charges gas accordingly so no issues here. To smart contract developers, it is their responsibility to ensure...