Description
We have quite a complex enum/struct setup with nested enums and structs and are apparently hitting the upper limit set on the number of fields.
Publishing runs through successfully but using it leads to different kinds of issues.
If the enum itself has too many fields (including nested structs/enums), we get the following error when trying to create an instance of this enum:
https://testnet.suivision.xyz/txblock/EYPWs5XLuQ9TrygHtGLdk67vESmEmgsQaoSbBjuvXQBj
If the enum is reduced in size, it still leads to errors down the road if its added to a bag for example:
https://testnet.suivision.xyz/txblock/5d1E5FTLTZZq6uxySAMyXn34VtdxxBTRyfzb27hr2vab
Reducing the size of the enum more (e.g. commenting out variants) resolves this issue.
In order to work with the limit we already tried refactoring the enum to use more subenums but this didn't help.
Our module setup can't really be realized with a different setup so would love to get your feedback if its possible at all to increase the limit.
Activity