Closed jrandolf-2 closed 1 year ago
I think adding all these types to local-cddl is wrong; I don't think clients ever have to parse these values.
Sure, but CDDL complains about unknown types if you don't include it because LocalValue references it and LocalValue exists in local-cddl
.
As discussed offline, the solution is to just make script.LocalValue
only defined in remote.cddl
.
According to the steps,
script.LocalValue
must includescript.RemoteReference
andscript.ChannelValue
. A priori, there is no purpose inscript.ArgumentValue
Preview | Diff