Skip to content

pass network access explicitly #79

Open
Open
@dckc

Description

@dckc

What is the Problem Being Solved?

Parameters such as RPC addresses and LDC/API addresses are passed around as strings and then combined with ambient access to fetch. This is like passing around integers and then casting them to pointers.

Description of the Design

IOU a bit more detail

see https://github.com/agoric-labs/ag-power-tools/tree/dc-launchpad-ui (currently 5f49c5c)
and httpClient.js from endo playground

Security Considerations

makes code easier to reason about locally

Scaling Considerations

Test Plan

facilitates passing alternative network access, such as record / playback: test-interpose-net-access.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions