Closed MatheoGrivault closed 1 month ago
Currently, sol-types traits are implemented for tuples up to 24 elements long, this prevents generating long structs using the sol! macro.
sol-types
sol!
Added lines inside the all_the_tuples! macro to support up to 60 elements.
all_the_tuples!
a contract I'm using has a struct with 54 fields, that's why I had to go that high
I see, I'm fine with 60
wdyt @DaniPopes
doesn't hurt really besides compile time
Motivation
Currently,
sol-types
traits are implemented for tuples up to 24 elements long, this prevents generating long structs using thesol!
macro.Solution
Added lines inside the
all_the_tuples!
macro to support up to 60 elements.PR Checklist