Skip to content

Commit

Permalink
improve ambiguous wording in KVKey and StorageValue
Browse files Browse the repository at this point in the history
  • Loading branch information
sotnikov-s committed Nov 28, 2024
1 parent 95ce534 commit 3f69fac
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions proto/neutron/interchainqueries/genesis.proto
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ message RegisteredQuery {
uint64 registered_at_height = 12;
}

// A path to an IAVL storage node.
// Represents a path to an IAVL storage node.
message KVKey {
// The first half of the storage path. It is supposed to be a substore name for the query
// (e.g. bank, staking, etc.).
// The substore name used in an Interchain Query. Typically, this corresponds to the keeper's
// storeKey, usually the module's name, such as "bank", "staking", etc.
string path = 1;
// The second half of the storage path. The remaining part of the full path to an IAVL storage node.
// A hexadecimal-encoded byte array representing the key for specific data in the module's storage.
bytes key = 2;
}

Expand Down
8 changes: 4 additions & 4 deletions proto/neutron/interchainqueries/tx.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ message QueryResult {

// A verifiable result of performing a single KVKey read.
message StorageValue {
// The first half of the storage path. It is supposed to be a substore name for the query
// (e.g. bank, staking, etc.).
// The substore name used in the read operation. Typically, this corresponds to the keeper's
// storeKey, usually the module's name, such as "bank", "staking", etc.
string storage_prefix = 1;
// The second half of the storage path. The remaining part of the full path to an IAVL storage node.
// Hexadecimal-encoded bytes representing the key of the data read from the module's storage.
bytes key = 2;
// A base64-encoded value read from the given storage path.
// A bytes field containing the value associated with the key in the store.
bytes value = 3;
// The Merkle Proof which proves existence/nonexistence of key-value pair in IAVL storage. Is
// used to verify
Expand Down
8 changes: 4 additions & 4 deletions x/interchainqueries/types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions x/interchainqueries/types/tx.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3f69fac

Please sign in to comment.