8000 Support L2 / Hydra / devnets · Issue #299 · blockfrost/openapi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support L2 / Hydra / devnets #299
Open
@matiwinnetou

Description

@matiwinnetou

As part of our hydra-voting-poc workstream we realised we need evaluate endpoint returning ExUnits compatible with L2 / Hydra / devnets solutions.

Problem statement:
Current evaluate endpoint assumes L1 parameters.

Request:
Allow a user / developer to pass SlotConfig and Initial Budget via parameters to the existing evaluate endpoint.

SlotConfig {
    slot_length, // rust i32
    zero_slot, // rust i64
    zero_time // rust i64
}
InitialBudget {
   mem, // rust: i64
   cpu // rust: i64
}

These parameters can be provided via GET or POST request, the response should be compatible with existing evaluate endpoint.

Delivery of this will unblock number of L2 usecases, in cases where smart contracts need to be used.

@mmahut

I had a chat @satran004 and probably it would make more sense to have a completely new endpoint (network agnostic endpoint).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0