-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(orch): packet affordances for
LocalOrchestrationAccount
(#9820)
closes: #9783 ## Description Introduce a per-LOA `packetTools` to grant powers used by IBC-specific `makeIBCReplyKit` and `makeIBCTransferSender` which enables a `localOrchestrationAccount` to send a packet and wait for a corresponding reply packet (such as IBC acknowledgement or IBC timeout) in the context of a single localChainAccount address. The most important files are `agoric-sdk/packages/orchestration/src/exos/packet-tools.js` and `ibc-packet.js` in the same directory. ### Security Considerations This change is the next layer wrapping localchain and vtransfer powers, but in an attenuated fashion. They don't introduce more powers than are already available via `LOA.monitorTransfers(...)`. ### Scaling Considerations More message exchanges, but most of those are caused by inbound Cosmos transactions, so they should not consume much CPU per block. ### Documentation Considerations New API surface. Existing data and deployments will not be affected, especially since the orchestration vat+API has not yet landed on chain. ### Testing Considerations Unit and bootstrap tests have been implemented. The `agoric-sdk/packages/boot/test/supports.ts` fake bridge has been reorganised to greater mimic the actual chain and make tests pass. ### Upgrade Considerations Some more Exos shipped with the Orch API, with the usual considerations of adding new Exo singletons and classKits and maintaining them.
- Loading branch information
Showing
18 changed files
with
969 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.