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
In addition to current GetVar(varId) to get input context variable, it is worth to have GetVar(inputIndex, varId) variant for reading context variable from another input. This could be useful for sharing proofs and state ids across inputs.
I think new GetVar variant should be implemented as a method call (only), avoiding introducing new opcodes (so new Context.getInputVar[T](inputIndex: Short, varId: Byte) method.
The text was updated successfully, but these errors were encountered:
In addition to current GetVar(varId) to get input context variable, it is worth to have GetVar(inputIndex, varId) variant for reading context variable from another input. This could be useful for sharing proofs and state ids across inputs.
I think new GetVar variant should be implemented as a method call (only), avoiding introducing new opcodes (so new
Context.getInputVar[T](inputIndex: Short, varId: Byte)
method.The text was updated successfully, but these errors were encountered: