diff --git a/contracts/neutron_interchain_queries/src/testing/tests.rs b/contracts/neutron_interchain_queries/src/testing/tests.rs index 2b454a89..59d6e59a 100644 --- a/contracts/neutron_interchain_queries/src/testing/tests.rs +++ b/contracts/neutron_interchain_queries/src/testing/tests.rs @@ -68,6 +68,7 @@ fn build_registered_query_response( amount: Uint128::from_str("100").unwrap(), }]), submit_timeout: 0, + registered_at_height: 0, }, }; match param { diff --git a/packages/neutron-sdk/src/bindings/types.rs b/packages/neutron-sdk/src/bindings/types.rs index cb7cdab9..10f4d614 100644 --- a/packages/neutron-sdk/src/bindings/types.rs +++ b/packages/neutron-sdk/src/bindings/types.rs @@ -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