Skip to content

Support up to 16 seeds without heap allocation #108

@snawaz

Description

@snawaz

#106 increased the limit from 4 to 8 seeds, but Solana runtime supports up to 16 seeds. Therefore, we should support up to 16 seeds as well.

Consider writing a macro to avoid verbosity and to make it a reusable utility:

let seeds_to_validate: &[&u8]] = seeds_as_slices!(args.seeds);

Consider zero-copy as well. Currently, DelegateArgs allocates heap-memory for Vec.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions