GlassEaters/hydra

Puff Out String of Fanout Name

Opened this issue · 1 comments

Describe the bug
The name field of the fanout account is saved as is from the input of the user. It does not follow the pattern of puffing out the string to the max length allocated for the field within the account.

Example from Metaplex Program Library
https://github.com/metaplex-foundation/metaplex-program-library/blob/f39cbb663ba499c4167ad6e0cf6509b9367cf271/fixed-price-sale/program/src/utils.rs

Code saving the name within Hydra
https://github.com/GlassEaters/hydra/blob/main/programs/hydra/src/processors/init/init_parent.rs#L52

To Reproduce
Create a fanout with a name less than 50 characters.

Why Is this a problem are you using GPA?