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: add icq register ts NTRN-352 #86

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions contracts/neutron_interchain_queries/src/testing/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ fn build_registered_query_response(
amount: Uint128::from_str("100").unwrap(),
}]),
submit_timeout: 0,
registered_at_height: 0,
},
};
match param {
Expand Down
3 changes: 3 additions & 0 deletions packages/neutron-sdk/src/bindings/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ pub struct RegisteredQuery {
/// The remote chain last block height when the query result was updated.
#[serde(default)]
pub submit_timeout: u64,
/// The local chain height when the query was registered.
#[serde(default)]
pub registered_at_height: u64,
}

/// InterchainQueryResult is a result data for a registered query
Expand Down