-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for new InvokeHostFunctionOperation #472
Comments
@tsachiherman , @mollykarcher , should the support level in the java SDK begin with inclusion of this recent update for multiple Function's as array in xdr model of InvokeHostFunctionOp, the Function model was singular prior: Is the multi-function model intended to be part of Preview 9? |
yes, the multi-function is going to be on preview 9, although we haven't scheduled any particular time to migrate our SDKs for that. |
If we could provide a minimal support for our SDK to support only a single function, that would likely to be acceptable - although I don't know if it would be possible. ( due to the way the SDK treat XDR ). |
ok, the java sdk has a layer of class abstractions for OperationResponse's in general that end clients use and these encapsulate the json emitted from Horizon Rest API, which does closely follow the xdr models, but not necessarily verbatim. Current soroban enabled horizon emits the single function model of InvokeHostFunctionOp, and will start the java sdk support against that InvokeHostFunctionOp model. Since multi-function is intended to be part of preview9 xdr schema, we will need to update the soroban enabled horizon as part of that to parse/emit the multi-function model of InvokeHostFunctionOp, and then can change java sdk to parse the newer json of InvokeHostFunctionOp correctly afterwards. thanks for clarification. |
All correct. On go, I've created |
ok, thanks, am contributing to stellar/go#4854, updating the 'Details' json output for InvokeHostFunctionOp to serialize multi-functions per Op now, which having that updated json model is a pre-req before start here. |
Implemented in #481. |
What problem does your feature solve?
lack of support for InvokeHostFunctionOperation in api response marshaling.
What would you like to see?
support for marshaling the InvokeHostFunctionOp operation in any api responses (protocol definition).
a builder for constructing I
Includes using new strkey encoding for contract addresses, which may be present in the
to/from
fields of theInvokeHostFunctionOp:AssetBalanceChanges
related to SDK Epic - #490
What alternatives are there?
n/a
The text was updated successfully, but these errors were encountered: