The Pump Science protocols bonding curve creation allows creators to specify token metadata through CreateBondingCurveParams :
rust pub struct CreateBondingCurveParams { pub name: String, pub symbol: String, pub uri: String, pub start_slot: Option<u64>, }
The issue is that these metadata fields (name, symbol, uri) lack length restrictions. This presents several problems:
For example:
This could lead to:
Excessive storage costs and poor UX due to unbounded metadata string lengths.
Add length restrictions in the validate() function
