-
Notifications
You must be signed in to change notification settings - Fork 206
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
Changes to remove extraneous HandledPromise shim dependencies #1463
Conversation
I'm surprised the tests pass if all the Compartments are now missing their Take a second look at I also noticed this downgrades the |
It will work with endojs/endo#416
I've fixed this by ensuring the shim is installed before metering is turned on.
I was hoping to split the restructuring changes (needed to disentangle harden from the vetted shim before lockdown) to eventual-send to a different PR, but I could do them in the current PR if that would be better. |
4f76091
to
e505ac4
Compare
4d9d06f
to
88217ce
Compare
@erights, this is of lower priority than Zoe RC. I only expect a detailed review from you on the changes to |
88217ce
to
c5d0984
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.
LGTM
228a2c2
to
848a90f
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.
Three cheers for taking out the trash!
Closes #1469
We import the HandledPromise shim once-and-for-all in
@agoric/install-ses
. Then, using a version of SES with endojs/endo#416, it is propagated as a global to all child compartments.Removing the extraneous HandledPromise plumbing from the code will make it easier to migrate to the new
Promise.delegate
API once@agoric/eventual-send/shim
implements it.