-
Notifications
You must be signed in to change notification settings - Fork 217
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
Test Plan: v23-feeDistributor upgrade #10650
Comments
assigned you for review @Chris-Hibbert |
I like this format, with the verify column, and an indication of what log message to look for. We'd also like to see an indication of what to look for on MainNet. Since we'll have passed multiple tests in a3p and on various testNets, this should mostly be indications that the upgrade took place, and checks of any new functionality that may have been introduced. When an upgrade doesn't succeed, the previous incarnation will still be present, so the fact that you can interact with it doesn't provide evidence that the upgrade happened. For most contracts, the upgrade line vat v9 upgraded from incarnation 2 to 3 with source b1-0239dcade2176116 will be sufficient. With so many contracts upgrading, I think we should make a list of upgrades to check for. |
So I'm struggling to picture what those "...passed multiple tests" could be on testNets. What I understand is;
Could you confirm? |
That's mostly right. I neglected to mention that we can also look up the incarnation number. In A3P, we have tools that access the DB. We could add a step after softwareUpgrades that upgrade more than a few vats to print a list of all the incarnation numbers and cross-check them. For U19, this would be useful. |
What is the Problem Being Solved?
We need to test feeDistributor keeps working after an upgrade in Emerynet and any other test networks that are required.
Description of the Design
a3p
local netagd
published.reserve.metrics
updated with;- correct amount
- correct interval
agoric-sdk/packages/inter-protocol/src/proposals/replace-fee-distributor.js
Line 127 in 3b478fb
collectionInterval
published.reserve.metrics
Security Considerations
Not expecting any security complications. Worst thing that I can think of about these tests failing to catch a bug is that the fees accrued stay in
vaultFactory
and not get transferred toreserve
. Would appreciate to be reminded of any possible complications I might have been missed.Scaling Considerations
Not a major issue.
Test Plan
Thinking about preparing a script that executes above logic using
agoric-cli
and@agoric/client-utils
.Upgrade Considerations
This is intended to be a workspace for laying out the plan for testing
feeDistributor
replacement on the test networks such as Emerynet, Xnet Devnet.The text was updated successfully, but these errors were encountered: