-
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
refactor: use @agoric/vow/vat.js
#9329
Conversation
9470706
to
d0189b5
Compare
Deploying agoric-sdk with Cloudflare Pages
|
d0189b5
to
ae20e07
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.
Hi @michaelfig , this is still Draft but already LGTM. What else is needed before this is ready for review?
I usually wait to see if CI passes before I R4R it. I just wasn't paying attention: thanks for your review! |
Staged on #9097 closes: #XXXX refs: #9231 #9321 #9329 #9097 ## Description Now that `watchPromise` is abstracted over zones and vows make use of that, we can simplify the test cases a lot. Should be a pure refactor with no externally observable effect. ### Security Considerations none ### Scaling Considerations none ### Documentation Considerations none ### Testing Considerations tests simpler. Otherwise, none ### Upgrade Considerations none
Staged on #9097 closes: #XXXX refs: #9231 #9321 #9329 #9097 ## Description Now that `watchPromise` is abstracted over zones and vows make use of that, we can simplify the test cases a lot. Should be a pure refactor with no externally observable effect. ### Security Considerations none ### Scaling Considerations none ### Documentation Considerations none ### Testing Considerations tests simpler. Otherwise, none ### Upgrade Considerations none
refs: #9321
Description
Update the preferred way of using SwingSet vat-compatible vows to import
@agoric/vow/vat.js
.Also, as a drive-by in
@agoric/vow
, avoidimport('./file.js').Type
in favour of the@import {Type} from './file.js'
Typescript 5.5 syntax.Security Considerations
Doesn't change any code semantics.
Scaling Considerations
n/a
Documentation Considerations
@agoric/vat-data/vow.js
is still available, as an alias for@agoric/vow/vat.js
.Testing Considerations
n/a
Upgrade Considerations
No change in code functionality.