Account to feasibility and size constraints #47
Replies: 3 comments 4 replies
-
Might simply be because a lot of the stdlib that is unused was not optimized out. Or because it uses str(int) which is a rather large function. Need to improve the dead variable remover/run it several times to see whats going on. UPDATE: I tried running the dead variable optimizer several times, without any improvements. I tried removing str(int), without any improvement. Will further investigate. |
Beta Was this translation helpful? Give feedback.
-
I found the issue. Its the resolution of this issue: #43 Generally, assignments of names are not removed as they might throw a NameError. This leads to large parts of the prelude not being optimized away. Something like the following remains, even though neither bytes = ... (injected builtin code)
TxId = bytes |
Beta Was this translation helpful? Give feedback.
-
Update: I found an issue when introducing the double function as spend/mint script that would duplicate the main function, effectively doubling script size. Has been resolved in Dev now |
Beta Was this translation helpful? Give feedback.
-
I just started to look into eopsin, and it's great! Will definitely contribute in the short future.
Meanwhile, when updated from 0.7.8 --> 0.7.10 I found that 'Wrapper' smart contract size went from 6kb to 20kb. Do you know why it happened? It would help me to understand the depths better.
Beta Was this translation helpful? Give feedback.
All reactions