You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This could be a nice optimisation. There's also some advantages to keeping them at the start with e.g. simulated state. I think it's also easier to use compiled CashScript contracts outside of the official SDK if the constructor args are at the start.
So it might not be worth the extra complexity / tradeoffs to add this functionality, and the optimisation is probably not super big, so it might be more fruitful to allow for larger contracts on BCH instead. I'll leave the issue open to consider in the future.
Declare them in contract() statement, but decide their position later, so compiled bytecode can add them later to avoid unnecessary stack juggling
The text was updated successfully, but these errors were encountered: