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

Refactor/logic limits type #791

Merged
merged 7 commits into from
Oct 30, 2024
Merged

Refactor/logic limits type #791

merged 7 commits into from
Oct 30, 2024

Commits on Oct 23, 2024

  1. refactor(logic)!: change Limits and GasPolicy properties to use uint64

    The properties `max_size`, `max_result_count`, `max_user_output_size`,
    and `max_variables` in the `Limits` message,  the properties
    `weighting_factor`, `default_predicate_cost` in the `GasPolicy` message,
    and `cost` in the `PredicateCost` message now use _uint64_ instead of
    `cosmossdk.io/math.Uint`. Similarly, the `limit` property in the
    `QueryServiceAskRequest` message has been updated to use _uint64_.
    
    The properties `weighting_factor`, `default_predicate_cost` and
    `cost` in the `GasPolicy` message now use _uint64_ instead of
    
    Additionally, querying with a _limit_ higher than _MaxResultCount_ no
    longer results in an error. This ensures that clients still receive
    results while automatically adhering to the API’s limits, providing a
    smooth and efficient user experience.
    ccamel committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    db18c9a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3beec4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e251641 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    84d6ead View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ee6ec60 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    da93e81 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6146f20 View commit details
    Browse the repository at this point in the history