generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
37 changed files
with
491 additions
and
719 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ open( | |
|
||
``` yaml | ||
height: 42 | ||
gas_used: 4141 | ||
gas_used: 3613 | ||
answer: | ||
has_more: false | ||
variables: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
proto/logic/v1beta2/genesis.proto → proto/logic/v1beta3/genesis.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.