You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't see that the vat-priceAuthority upgrade isn't carried out (looking for something like evalBundles or another way of running a core-eval) in registry.test.js.
As to the nature of how we planned Upgrade 19, vat upgrade core-evals are commented out in upgrade.go including upgrade-paRegistry.js.
In conclusion;
There's no code running that covers upgrade-paRegistry.js
Code that covers priceAuthority upgrade is not executed
Ideally, we should check that we can push prices and the pushed prices are received by the clients like vaultFactory. This is currently tested in z:acceptance. However, since we are not upgrading vat-priceAuthority, z:acceptance is not aware of any changes to vat-priceAuthority. So I see two options here;
We move upgrade vat-priceAuthority durably, EVAL or USE phase. This is sort of contrary to upgrade 19 plan as we comment out other core-evals.
OR;
We implement the case I described above in registry.test.js
Thanks for cross-checking this. Certainly we should add registry.test.js to test.sh. If the incarnation check shows that the upgrade isn't happening, then we'll add the evalBundle, but "vats/upgrade-paRegistry.js" is included in package.json, so the upgrade ought to be invoked by eval.sh.
Problem Definition
Related #10401
Currently the registry.test.js is not included in test.sh.
Also looking at the contents of
registry.test.sh
:agoric-sdk/a3p-integration/proposals/p:upgrade-19/registry.test.js
Lines 1 to 20 in 9418efc
We don't see that the
vat-priceAuthority
upgrade isn't carried out (looking for something likeevalBundles
or another way of running a core-eval) inregistry.test.js
.As to the nature of how we planned
Upgrade 19
, vat upgrade core-evals are commented out inupgrade.go
includingupgrade-paRegistry.js
.In conclusion;
upgrade-paRegistry.js
priceAuthority
upgrade is not executedSolution
Add another test to
registry.test.js
like:Add below line to
test.sh
Potential Improvement
Ideally, we should check that we can push prices and the pushed prices are received by the clients like
vaultFactory
. This is currently tested inz:acceptance
. However, since we are not upgradingvat-priceAuthority
,z:acceptance
is not aware of any changes to vat-priceAuthority. So I see two options here;EVAL
orUSE
phase. This is sort of contrary to upgrade 19 plan as we comment out other core-evals.OR;
registry.test.js
Thoughts? @Chris-Hibbert
The text was updated successfully, but these errors were encountered: