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

feat: refactor ICQ module documentation [NTRN-349] #646

Merged
merged 16 commits into from
Nov 29, 2024

Conversation

@sotnikov-s sotnikov-s marked this pull request as draft July 31, 2024 16:06
@sotnikov-s sotnikov-s force-pushed the feat/refactor-icq-module-documentation branch from 852a6ae to f591f09 Compare November 13, 2024 14:28
@sotnikov-s sotnikov-s force-pushed the feat/refactor-icq-module-documentation branch from 5203ec0 to ecdff56 Compare November 14, 2024 06:02
@sotnikov-s sotnikov-s force-pushed the feat/refactor-icq-module-documentation branch 2 times, most recently from 8851318 to 05acc43 Compare November 18, 2024 11:30
@sotnikov-s sotnikov-s force-pushed the feat/refactor-icq-module-documentation branch from 05acc43 to c5b2703 Compare November 18, 2024 11:31
@sotnikov-s
Copy link
Contributor Author

NeverHappened
NeverHappened previously approved these changes Nov 22, 2024
repeated cosmos.base.v1beta1.Coin deposit = 10 [
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
(gogoproto.nullable) = false
];

// Timeout before query becomes available for everybody to remove.
// Duration in blocks that is required to pass since the query registration/update for the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What the 'update' word means here. How to keep query alive

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, that's a good catch. especially given the ambiguity behind the 'update' term which in the API means the query parameters update. will fix

// Defines amount of blocks required before query becomes available for
// removal by anybody
// The amount of blocks required to pass since an Interchain Query registration/update for the
// query to become available for removal by anybody.
uint64 query_submit_timeout = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this param related to submit_timeout of an interchain query

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will rephrase, too

message QueryParamsResponse {
// params holds all the parameters of this module.
// Stores all parameters of the module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the stores word correct for this certain usecase?


// is the Merkle Proof which proves existence of key-value pair in IAVL
// storage
// The Merkle Proof which proves existence of key-value pair in IAVL storage. Is used to verify
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or proves nonexistance if no key-value pair in IAVL storage, not sure is it obvious from the comment.

pr0n00gler
pr0n00gler previously approved these changes Nov 28, 2024
NeverHappened
NeverHappened previously approved these changes Nov 29, 2024
@pr0n00gler pr0n00gler merged commit a6525cb into main Nov 29, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants