Skip to content
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

orchestration flows: write to vstorage #10421

Open
0xpatrickdev opened this issue Nov 7, 2024 · 0 comments
Open

orchestration flows: write to vstorage #10421

0xpatrickdev opened this issue Nov 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@0xpatrickdev
Copy link
Member

0xpatrickdev commented Nov 7, 2024

What is the Problem Being Solved?

As an orchestration developer, I would like to be able to write to vstorage from inside an async-flow.

In one sense, I'd like basic logging capabilities, like here and as specified in #9066:

// UNTIL https://github.com/Agoric/agoric-sdk/issues/9066
const logNode = E(privateArgs.storageNode).makeChildNode('log');
/** @type {(msg: string) => Vow<void>} */
const log = msg => vowTools.watch(E(logNode).setValue(msg));

In another, I'd like fine-grained control for application logic/requirements that span beyond logs. (E.g., dapp-card-store might want to post inventory and sales in a structured format with child entries)

Description of the Design

TBD, but there are some knowns:

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

@0xpatrickdev 0xpatrickdev added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant