-
Notifications
You must be signed in to change notification settings - Fork 23
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
assess impact on RPC of upcoming protocol 21 changes #106
Comments
I don't think there is any considerable impact. We will have to
|
There shouldn't be any non-test changes necessary. There could be changes in hardcoded expected instructions and resources fee when you're testing with protocol 21 enabled.
I'm not sure if this is something you can meaningfully test (there is an unbounded number of possible cost model configurations, so testing with any one of them is as good as testing with multiple). That said, what I think should be covered with tests is preflight both for protocol 20 and protocol 21 (or more generally protocol vCurr and protocol vNext). The reason is that there will be a period of time where a new version of RPC is being used, but the network hasn't been upgraded yet. That will cover structural changes in the cost model (as more cost types have been added).
Not really, VM instantiation happens internally in the host code, so you just need to pick up a fresh env release to get it working. There are no changes in public API.
I agree, I think 99% of the time RPC shouldn't worry about the new host functions. |
For potential inclusion in protocol 21, the core team is working on a series of CAPs. We should look through these to identify if there is any significant downstream impact to RPC that it is possible to get ahead of, prior to the actual builds being available.
Improvements to host VM instantiation, which (at a minimum) has the potential to increase overall transaction volume on the network, as well as affect any RPC tests that assert on costs. Detail captured in the following CAPs:
New host functions, details in the following CAPs:
XDR change not included in CAPs:
Output of this should be the implementation tickets for any work on our side that falls out of this
The text was updated successfully, but these errors were encountered: