From bc49eaeda3692ecf5b867721c8083bfdb3fa8c46 Mon Sep 17 00:00:00 2001 From: nhpd Date: Mon, 28 Oct 2024 19:18:06 +0400 Subject: [PATCH] remove neutrond_version --- contracts/neutron_interchain_queries/src/testing/tests.rs | 2 -- contracts/neutron_interchain_txs/src/contract.rs | 1 - packages/neutron-sdk/src/lib.rs | 4 ---- packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT | 1 - 4 files changed, 8 deletions(-) delete mode 100644 packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT diff --git a/contracts/neutron_interchain_queries/src/testing/tests.rs b/contracts/neutron_interchain_queries/src/testing/tests.rs index bc7f348e..66909321 100644 --- a/contracts/neutron_interchain_queries/src/testing/tests.rs +++ b/contracts/neutron_interchain_queries/src/testing/tests.rs @@ -1075,8 +1075,6 @@ fn test_sudo_tx_query_result_min_height_callback() { ); deps.querier.add_registered_queries(1, registered_query); - // simulate neutron's SudoTxQueryResult call with the following payload: - // a sending from neutron10h9stc5v6ntgeygf5xf945njqq5h32r54rf7kf to watched_addr of 10000 stake // simulate neutron's SudoTxQueryResult call with the following payload: // a sending from neutron10h9stc5v6ntgeygf5xf945njqq5h32r54rf7kf to watched_addr of 10000 stake let data: Binary = Binary::from(BASE64_STANDARD.decode("CpMBCpABChwvY29zbW9zLmJhbmsudjFiZXRhMS5Nc2dTZW5kEnAKLm5ldXRyb24xMGg5c3RjNXY2bnRnZXlnZjV4Zjk0NW5qcXE1aDMycjU0cmY3a2YSLm5ldXRyb24xZmo2eXFya3B3NmZtcDdmN2poajU3ZHVqZnB3YWw0bTI1ZGFmengaDgoFc3Rha2USBTEwMDAwEmcKUApGCh8vY29zbW9zLmNyeXB0by5zZWNwMjU2azEuUHViS2V5EiMKIQJPYibh+Zef13ZkulPqI27rV5xswZ0H/vh1Tnymp1RHPhIECgIIARgAEhMKDQoFc3Rha2USBDEwMDAQwJoMGkAIiXNJXmA57KhyaWpKcLLr3602A5+hlvv/b4PgcDDm9y0qikC+biNZXin1dEMpHOvX9DwOWJ9utv6EKljiSyfT").unwrap()); diff --git a/contracts/neutron_interchain_txs/src/contract.rs b/contracts/neutron_interchain_txs/src/contract.rs index 469be41f..55b3cc6d 100644 --- a/contracts/neutron_interchain_txs/src/contract.rs +++ b/contracts/neutron_interchain_txs/src/contract.rs @@ -5,7 +5,6 @@ use cosmwasm_std::{ }; use cw2::set_contract_version; use neutron_std::shim::Timestamp; -// TODO: rename use crate::msg::{ExecuteMsg, InstantiateMsg, MigrateMsg, QueryMsg}; use crate::storage::{ add_error_to_queue, read_errors_from_queue, read_reply_payload, read_sudo_payload, diff --git a/packages/neutron-sdk/src/lib.rs b/packages/neutron-sdk/src/lib.rs index c7ba23e0..e984f128 100644 --- a/packages/neutron-sdk/src/lib.rs +++ b/packages/neutron-sdk/src/lib.rs @@ -3,10 +3,6 @@ // #![forbid(unsafe_code)] #![warn(trivial_casts, trivial_numeric_casts, unused_import_braces)] -// TODO: can we get it from other place? or move NEUTRON_COMMIT to other place -// TODO: do we need NEUTROND_VERSION? -/// The version (commit hash) of the Cosmos SDK used when generating this library. -pub const NEUTROND_VERSION: &str = include_str!("proto_types/NEUTRON_COMMIT"); pub mod bindings; mod errors; diff --git a/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT b/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT deleted file mode 100644 index 85515d2d..00000000 --- a/packages/neutron-sdk/src/proto_types/NEUTRON_COMMIT +++ /dev/null @@ -1 +0,0 @@ -6bef62c6d9182b51fd5facc41088689c809b96d5