-
Notifications
You must be signed in to change notification settings - Fork 208
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
Rebase smartWallet (#8488) to release-mainnet1B branch #8609
Rebase smartWallet (#8488) to release-mainnet1B branch #8609
Conversation
Many tests are failing because the fix for fakeVirtualSupport to handle watchedPromises doesn't work here. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the boot
package doesn't exist in the release branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thx. dropped.
if (status.lastReportedRound >= roundId) | ||
if (status.lastReportedRound >= roundId) { | ||
return 'cannot report on previous rounds'; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like an unnecessary change for the release branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dropped.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we can avoid these non-runtime changes in the release branch ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance we can avoid these non-runtime changes in the release branch ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
120449d
to
07678cc
Compare
07678cc
to
62428ac
Compare
packages/smart-wallet/package.json
Outdated
@@ -26,6 +26,7 @@ | |||
"dependencies": { | |||
"@agoric/assert": "^0.6.1-u11wf.0", | |||
"@agoric/casting": "^0.4.3-u13.0", | |||
"@agoric/deploy-script-support": "^0.10.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the release branch, this is the version of deploy-script-support
.
"@agoric/deploy-script-support": "^0.10.3", | |
"@agoric/deploy-script-support": "^0.10.4-u13.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
688c26b
to
35c943d
Compare
cb435a5
to
b5bc7e2
Compare
183c007
to
20ce473
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reviewed #8488 (review) .
I think that should land first. Once it lands, the commit should be rebased here. I will be on PTO at that point.
20ce473
to
2bbe79b
Compare
3641e4a
to
6ec6f9e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there are some spurious changes unrelated to wallet factory in this PR
@@ -437,6 +437,7 @@ export const prepareRoundsManagerKit = baggage => | |||
|
|||
if (status.lastReportedRound >= roundId) | |||
return 'cannot report on previous rounds'; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like an unnecessary change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
@@ -1035,7 +1035,7 @@ export const prepareVaultManagerKit = ( | |||
state.collateralBrand, | |||
); | |||
if (!storedCollateralQuote) | |||
throw Fail`lockOraclePrices called before a collateral quote was available`; | |||
throw Fail`lockOraclePrices called before a collateral quote was available for ${state.collateralBrand}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the vault factory getting upgraded in this ? If not, this change should not be part of the dev branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dropped
pulled offers.js and payments.js into smartWallet.js as they shared plenty of state that needs to be durable in order to be callable from the watchedPromise. build an upgrade proposal; tested in Agoric/agoric-3-proposals#34
d61b14f
to
2b536dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not reviewed the logic, nor if the rebase is faithful, but the scope of modifications is acceptable for release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume the commits are the same as master. The reconciliation commit looks okay. There's a merge conflict to solve but I trust it will be safe.
Given recent discussions, I will wait for a new release branch before proceeding. |
superseded by #8773. |
refs: #8488
Description
Rebase #8488 on release-mainnet1B
Security Considerations
None
Scaling Considerations
None
Documentation Considerations
N/A
Testing Considerations
Verify that the tests all pass.
Upgrade Considerations
It's all about preparing for upgrade.