Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes: https://github.com/Agoric/BytePitchPartnerEng/issues/25
refs: Agoric#9928
Description
Agoric#10074 replaced existing
priceFeeds
andscaledPriceAuthorities
with new ones that should be more efficient in terms of space usage. However, terminating those old vats is a problem that hasn't been solved as described in Agoric#9483. So it is important to make sure those old vats are actually quiescent. We also need to make sure we are able to produce quotes successfully. In this PR we are addressing these concerns.Security Considerations
None.
Scaling Considerations
None.
Documentation Considerations
None.
Testing Considerations
Regarding observing vat details there are 2 assumptions we are relying on;
Agoric#9928 talks about making sure auctions receive quotes. That is no tested here due to the high fidelity of testing auctions. The auctions features are tested Agoric#10229 so I believe there will be comprehensive coverage when it is merged.
Upgrade Considerations
None.
Help from reviewers
Agoric#10074 introduced new price feeds to the system. However,
f:replace-price-feeds
does not activate oracles for future layers of the build. Meaning, proposals running afterf:replace-price-feeds
will not have oracles that received invitationMakers for new price feeds and there will not be quotes published by new price feeds. There are conflicting work to fix this issue, see;use
phase off:replace-price-feeds
Agoric/agoric-sdk#10296use
phase off:replace-price-feeds
Agoric/agoric-sdk#10296 (review)As a work around I've implemented an
init
method that runs duringtest.before
to set the stage before we start testing new price feeds. I could use some guidance from you guys how to proceed from here. One option I can think of is to haveinit
work conditionally.