-
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: exofy Orchestrator, RemoteChainFacade #9529
Conversation
Deploying agoric-sdk with Cloudflare Pages
|
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, we can polish the interface guards later
{ | ||
/** @type {Orchestrator['getChain']} */ | ||
getChain: async name => { | ||
const agoricChainInfo = await chainHub.getChainInfo('agoric'); |
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.
do these need to all be vow-based?
(I'm hoping not)
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.
No, they're awaiting at most a remote call to a synchronous method on agoricNames, so they will quiesce in any vat upgrade
|
||
const address = await V(icaAccount).getAddress(); | ||
|
||
const [{ denom: bondDenom }] = remoteChainInfo.stakingTokens || [ |
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.
comment this magic please
@@ -59,12 +61,28 @@ export const provideOrchestration = ( | |||
vowTools, | |||
}); | |||
|
|||
const makeCosmosOrchestrationAccount = prepareCosmosOrchestrationAccount( | |||
// XXX what zone? |
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.
Add "FIXME"?
I'll merge now in service of integration and follow up quickly to satisfy requests. |
refs: #9281 ## Description AsyncFlow requires that everything passing the membrane is durable. This makes the facade objects durable to conform. Following #9529 ### Security Considerations none ### Scaling Considerations Exo for each chain and each account ### Documentation Considerations none ### Testing Considerations Existing coverage ### Upgrade Considerations not yet deployed
refs: #9281
Description
AsyncFlow requires that everything passing the membrane is durable. This makes the facade objects durable to conform.
Doing so for
localChainFacade
is deferred so we can get this into master sooner, to aid @erights 's #9521 .Security Considerations
none
Scaling Considerations
Exo for each chain and each account
Documentation Considerations
none
Testing Considerations
Existing coverage
Upgrade Considerations
none, not yet deployed