-
Notifications
You must be signed in to change notification settings - Fork 499
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 stellar-core protocol 12 (CAP 24) #1737
Comments
@bartekn Anything I missed? |
We also need to update scc. |
@MonsieurNicolas does this look good to you? |
@jonjove said:
We'll check this during implementation. |
afaik the only gotcha are related to those new trade results (from jonjove above) and ensuring that the new path finding algorithm is indeed computing path based on the most pessimistic way of crossing offers (which is slightly different than the original path finding) - this should be tracked here as well. For the rename: it looks to me that most of the changes fall under the consequence of Was that the approach taken when we changed |
Thanks! I think the warning phase is something we need to do to keep users of the clients happy. |
Yeah, to be clear, we update the XDR immediately, but the name of associated structs/methods in the SDK doesn't change for a while. This isn't a problem since they are binary compatible. We also add the new operation type to the SDK but leave the old one present. This gives callers time to prepare for the name change. |
Added a draft PR updating entire monorepo to v12 XDR (including I wanted to update XDR only but realized that adding a support for the new operation to existing packages and services is rather easy so added it in one PR. There are still some simple things so I believe this will be ready for review tomorrow. There's a larger task of adding new Horizon test scenarios for |
The upcoming
stellar-core
protocol 12 release will add support for CAP 24 ("Make PathPayment Symmetrical").Horizon
Currently, we return
type: path_payment
in\operations
and\payments
endpoints (doc). In Horizon 0.22:Before v12 vote: (#1772)
\operations
and\payments
source codestellar-core
path_payment
. Continue to accept oldpath_payment
typepath_payment_strict_receive
andpath_payment_strict_send
intype
field in two releases time (Horizon 0.24)SDK
Before v12 vote: (#1771)
txnbuild
to indicate that the existingPathPayment
operation will be renamed toPathPaymentStrictReceive
in a few weeks' timePathPaymentStrictReceive
to SDK, duplicating existingPathPayment
operation. Programmers can begin moving client calls immediatelyAfter v12 vote: (#1773)
PathPaymentStrictSend
to SDK, implementing new v12 operationThe text was updated successfully, but these errors were encountered: