Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
hive
hive
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 19
    • Merge Requests 19
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hive
  • hivehive
  • Issues
  • #100

Closed
Open
Created Nov 05, 2020 by inertia@inertiaMaintainer

Incorrect result while calling jsonrpc.get_signature for account_history_api.get_account_history

Calls to jsonrpc.get_signature method, passing parameters to inspect the method account_history_api.get_account_history, returns incorrect result. The expected arguments include_reversible, operation_filter_low, and operation_filter_high are missing from the response.

Expected result:
{
  "jsonrpc": "2.0",
  "result": {
    "args": {
      "account": "",
      "start": "18446744073709551615",
      "limit": 1000,
      "include_reversible": true,
      "operation_filter_low": "18446744073709551615",
      "operation_filter_high": "18446744073709551615"
    },
    "ret": {
      "history": []
    }
  },
  "id": 1
}
Actual result:
{
  "jsonrpc": "2.0",
  "result": {
    "args": {
      "account": "",
      "start": "18446744073709551615",
      "limit": 1000
    },
    "ret": {
      "history": []
    }
  },
  "id": 1
}

To recreate the issue, use the following curl:

curl -s --data '{
  "jsonrpc": "2.0",
  "method": "jsonrpc.get_signature",
  "params": {
    "method": "account_history_api.get_account_history"
  },
  "id": 1
}' https://api.hive.blog | jq

(tested in blockchain version 1.24.6, rev:74f18672)

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None