Skip to content

Commit

Permalink
Merge pull request #86 from neutron-org/feat/add-icq-register-ts
Browse files Browse the repository at this point in the history
feat: add icq register ts NTRN-352
  • Loading branch information
zavgorodnii authored Mar 17, 2023
2 parents 9d6e802 + 7c84580 commit 8b63e38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
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

0 comments on commit 8b63e38

Please sign in to comment.