You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2024. It is now read-only.
Motivation
The current pallet-uniques configuration for StringLimit is too low, at 50 bytes. Users of uniques often store the IPFS CID in the metadata. These CIDs are larger than 50 bytes.
Furthemore, the ValueLimit seems too high at 256 bytes. The value applies to attributes, which would rarely reach 256 bytes.
Motivation
The current
pallet-uniques
configuration forStringLimit
is too low, at 50 bytes. Users of uniques often store the IPFS CID in the metadata. These CIDs are larger than 50 bytes.Furthemore, the
ValueLimit
seems too high at 256 bytes. The value applies to attributes, which would rarely reach 256 bytes.Suggested Solution
I recommend updating the configuration to use the same as Polkadot's asset hub.
https://github.com/paritytech/polkadot-sdk/blob/master/cumulus/parachains/runtimes/assets/asset-hub-polkadot/src/lib.rs#L683
StringLimit = 128
KeyLimit = 32
ValueLimit = 64
The text was updated successfully, but these errors were encountered: