Skip to content

view: 🥜 ViewServer support for an in-memory gRPC endpoint #4517

Open
@cratelyn

Description

@cratelyn

refs:

mock consensus tests that use a view server must bind an rpc endpoint to a local port. this is unfortunate because it requires acquisition of a global resource, and can over time cause test suites to be flaky / brittle.

this could be abated by adding support for an in-memory gRPC endpoint to the ViewServer and its underlying Worker.

see https://github.com/penumbra-zone/penumbra/tree/kate/view-server-tests-redux.box-grpc-endpoint-experiment as a starting sketch.

see #4471 (comment) for relevant discussion from #4471.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: Design and implementation for client functionalityA-mock-consensusArea: Relates to the mock consensus engineA-testingArea: Relates to testing of PenumbraC-enhancementCategory: an enhancement to the codebaseneeds-refinementunclear, incomplete, or stub issue that needs work

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions