Skip to content

Account for the payload of each issued oracle call #424

In progress

Description

@MarcIlunga

Background

Two requests on one port can incur different charges. Work already issued includes a final inside query whose reply is still pending.

Proposed change

For a canonical call rule, bound the sum of the actual request charges by the sum of the enclosing invocation budgets. Use the remaining charge in the active call as the invariant.

Acceptance criteria

Use unequal costs on one port. Check a pending request and an invocation that returns without an inside call. Relate the result to the existing per-port and serial accounting.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions