Skip to content

Add streaming subscription for all ethexe promises to RPC #5165

Description

@kuzminxyz

Problem
ethexe-rpc has no subscription endpoint for promises, so clients must poll rather than stream.

Proposed solution
Implement a subscribe_promises() streaming endpoint:

let mut sub = client.subscribe_promises().await?;
while let Some(promise) = sub.next().await {
    handle(promise);
}

Alternatives
Polling endpoint — simpler but higher latency and load.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: importantHigh priority, should be addressed soonscope: vara.ethVara Ethereum application layer (L2)size: MMedium task (1–2 days)type: featNew functionality or user-visible improvement

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions