Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

near-vm-runner: move protocol-sensitive error schemas to near-primitives #9295

Merged
merged 8 commits into from
Jul 14, 2023

Commits on Jul 12, 2023

  1. vm-logic: remove dependency on AccountId in errors

    This was a very straightforward to remove dependency -- errors largely
    don't need as much typing as APIs, for instance, due to their tendency
    to be handled by a simple print.
    
    And if there's interest, the user of this can convert the Account ID
    back to a strongly typed type.
    nagisa committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    383c5ff View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. vm-runner: move protocol sensitive part of errors to near-primitives

    Now there'll be fewer concerns about changing the protocol with
    accidental changes to the runtime, and most importantly we have a place
    where we can develop the runtime's API (cf limited replayability) and
    the protocol independently.
    nagisa committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    f128966 View commit details
    Browse the repository at this point in the history
  2. near-vm: remove rpc-error-macro

    Since the external-facing parts of these errors are now in
    near-primitives, it is up to that crate to also generate the relevant
    schemas.
    nagisa committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    8f56d5a View commit details
    Browse the repository at this point in the history
  3. fix ci

    nagisa committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    b4f16e3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8331cef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    453a5ce View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Configuration menu
    Copy the full SHA
    9ff9bc5 View commit details
    Browse the repository at this point in the history
  2. Update the rpcjson schema

    nagisa committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    9712d8f View commit details
    Browse the repository at this point in the history