Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
327 stars 206 forks source link

orchestration: core eval for `chainHub` data in `agoricNames` #10230

Open 0xpatrickdev opened 4 weeks ago

0xpatrickdev commented 4 weeks ago

What is the Problem Being Solved?

As part of the Orchestration API, canonical chain info will be published to agoricNames for contracts to consume. A core eval is needed to publish this information to agoricNames. We have @agoric/orchestration/src/proposals/init-chain-info.js from https://github.com/Agoric/agoric-sdk/pull/10110, but it's unreleased and has outstanding dependencies.

We might want to include this task in the same release as https://github.com/Agoric/agoric-sdk/issues/9967, which covers asset info also used by the ChainHub.

Description of the Design

### Dependencies
- [ ] https://github.com/Agoric/agoric-sdk/issues/9807

Security Considerations

Scaling Considerations

This information is environment-dependent, so an emerynet proposal will need different data than a proposal for another network.

Test Plan

Upgrade Considerations

0xpatrickdev commented 6 days ago

Question, will work here include asset info - https://github.com/Agoric/agoric-sdk/issues/9752?

As an FYI, vbank registration https://github.com/Agoric/agoric-sdk/issues/9967 is nearby and somewhat related