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 would be VERY valuable actually. I'd like to see compilation as you mentioned produce the named TMPL_XX byte offsets as a json array in a json object return for eg. Would this be kind of a partial compilation? I'd want to be able to pass teal as-is w/ TMPL_XX placeholders and get the real bytecode back but w/ insertion offsets (which I could adjust for as I inserted) for each of the parameters. This way I could compile the TEAL once and cache it, then replace the parameters efficiently without having to recompile.
There are 2 valuable bits of information the are available during contract assembly.
Producing an output file with the above would help with debugging and with variable insertion.
More tooling for encoding and inserting template variables would be needed as well.
The text was updated successfully, but these errors were encountered: