-
Notifications
You must be signed in to change notification settings - Fork 212
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
misc fastUsdc vstorage cleanup #10661
Conversation
Deploying agoric-sdk with Cloudflare Pages
|
@@ -95,8 +95,8 @@ export const contract = async (zcf, privateArgs, zone, tools) => { | |||
marshaller, | |||
); | |||
|
|||
const makeStatusNode = () => E(storageNode).makeChildNode(STATUS_NODE); | |||
const statusManager = prepareStatusManager(zone, makeStatusNode); | |||
const statusNode = E(storageNode).makeChildNode(STATUS_NODE); |
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'm confused about line 178: "Define all kinds above this line. Keep remote calls below."
Seems like this would go against that because it's a remote call. Does it matter? The makeStatusNode
was already kind of a gray area in that it wasn't called immediately.
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.
That comment really meant "keep remote call awaits below". We'll need to improve the comment and patterns for contract developers about that, but it's out of scope for this PR.
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.
Got it, thanks for clarifying.
@@ -95,8 +95,8 @@ export const contract = async (zcf, privateArgs, zone, tools) => { | |||
marshaller, | |||
); | |||
|
|||
const makeStatusNode = () => E(storageNode).makeChildNode(STATUS_NODE); | |||
const statusManager = prepareStatusManager(zone, makeStatusNode); | |||
const statusNode = E(storageNode).makeChildNode(STATUS_NODE); |
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.
Got it, thanks for clarifying.
"record" suggests updating local data. "publish" is our term for going out over vstorage.
90f1a97
to
f77b0ec
Compare
refs: #10633
Description
Miscellaneous small fixes, docs and refactorings. These are made in the course of #10633 but that has other changes that need more work.
Best reviewed by commit.
Security Considerations
none
Scaling Considerations
none
Documentation Considerations
none
Testing Considerations
CI
Upgrade Considerations
not yet deployed