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

rpc: implement getcontractstate RPC #675

Merged
merged 8 commits into from
Feb 18, 2020
Merged

Commits on Feb 17, 2020

  1. rpc: add custom error with code -100

    Fixed getassetstate method: it should return error with code -100 when
    asset with specified id is not found (as in c# node).
    AnnaShaleva committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    5dca765 View commit details
    Browse the repository at this point in the history
  2. rpc: fix getrawtransaction error returncode

    Changed returncode of getrowtransaction method in case when transaction
    with specified hash does not exists. Now it returns error with code -100
    instead of -32602 (as in c# node)
    AnnaShaleva committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    f310145 View commit details
    Browse the repository at this point in the history
  3. rpc: refactor code of NewAccountState function

    Simplified reversing of scriptHash
    AnnaShaleva committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    b8715dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ecc9c8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3c63ef3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c99b42f View commit details
    Browse the repository at this point in the history
  7. docs: update rpc documentation

    Marked getcontractstate method in rpc docs as "implemented"
    AnnaShaleva committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    189bb3e View commit details
    Browse the repository at this point in the history
  8. core: add func to generate RPC test data

    newRPCTestChain function generates test chain "testblocks.acc" for RPC
    tests
    AnnaShaleva committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    2b9e63c View commit details
    Browse the repository at this point in the history