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 49
    • Issues 49
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • hive
  • hivehive
  • Issues
  • #98

Closed
Open
Opened Nov 02, 2020 by Paulina Czempiel@pczempielDeveloper

account_history_api.get_account_history wrong error message

Call: {"jsonrpc":"2.0", "method":"account_history_api.get_account_history", "params":{"account":"blocktrades","operation_filter_low": 16777216,"start": 14000,"limit": 1000},"id":100}

returns message: "Assert Exception:total_processed_items < 2000: Could not find filtered operation in 2000 operations, to continue searching, set start=13000."

but then if change limit value: {"jsonrpc":"2.0", "method":"account_history_api.get_account_history", "params":{"account":"blocktrades","operation_filter_low": 16777216,"start": 12000,"limit": 1000},"id":100}

result: "Assert Exception:total_processed_items < 2000: Could not find filtered operation in 2000 operations, to continue searching, set start=11000."

It goes like this to start = 0, and then: "Assert Exception:args.start >= args.limit-1: start must be greater than or equal to limit-1 (start is 0-based index)"

Only if start = 1000 in this scenario it returns [].

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: hive/hive#98