Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
foxpy committed Oct 4, 2023
1 parent f24a13a commit a521047
Show file tree
Hide file tree
Showing 17 changed files with 426 additions and 353 deletions.
566 changes: 375 additions & 191 deletions Cargo.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
c0190cf28da64b4058da71a9083c187d45f84ee7b9db11a0830025ecb0a687dc client_updater.wasm
4ee0b1e8a1c39e7a440f236778e76935f29506f354b6a59712d267181da77678 echo.wasm
fec7d4b6280569bd4ca428d1f5b52702a3378533f50362e1c3f1c848c4e91303 ibc_transfer.wasm
af52c56fb25355afa04d86c7d9e867f9db9295a455fb8a89f9cfdbd6374dd1ff msg_receiver.wasm
05e49fb2d0295c9a9e27a0077da856126f8285c2e949cb1f927f08fa8a867c8e neutron_interchain_queries.wasm
19d3ea0f4f0a24d202edbd2a7989dcffa61ba3d6754ff382cbd89d4ecd034a67 neutron_interchain_txs.wasm
344ec19c522cc5e6135a77a181345f02a0f65ef19ad919d5236dc16f53d33e76 neutron_price_feed_mock.wasm
4678704ef3ffd9f1240b719991dc629623929fa75499fd6ed9f76eda4c8a556a neutron_validators_test.wasm
c24970beb5a08bfc73dc422e63207342343802a329f28d527b4accaaf66209f8 reflect.wasm
e3ab89e1d88381142c6a970daafceda3cb3fde6f8222e450834045d1f7c9f971 stargate_querier.wasm
a9ee139212dca756adbde1e86723154b1fd79dc96cbc7e4885a851d8c978e946 tokenfactory.wasm
e9b9f44962d9a5b7a3d51935b4f3c054564726588804860278df879b1a2c91af client_updater.wasm
4e27935c813d4f24df80ff483d77706e54caf32f5edb6a8da1bfd8061d723893 echo.wasm
143b741d3ebfdc0094899a038def68dc5ca05ab2b0d35aaf099dc46b858bd884 ibc_transfer.wasm
e14b97774b3ca29431eccfb0c172665151b31a6c20f423a96b03b24c1cb6ce1c msg_receiver.wasm
03d0d887440a7f14314d83c7316d50991c47a84907ae9e3c904aa93a793635d5 neutron_interchain_queries.wasm
ceede6a78b86bb02bf69a3b19f562dd59697a8dc5a7adff6288af5423ecd4c99 neutron_interchain_txs.wasm
93790b30dc83a77b8ae0ce036f6c2f12a3ae1644d82e537904dc79b54073b0ae neutron_price_feed_mock.wasm
8a7b1a21470b733aa353e794956043bfed112e4342c9c28aa9b31b1517c951b7 neutron_validators_test.wasm
f8de70c293343cddbecc15485365aa2f129aac0875fa0a715a24ee39bcc34f95 reflect.wasm
bc5e733737eaec6a71cc26831115ba050dff9c326f7afee10e4f96a58c128fd2 stargate_querier.wasm
eb735aca2ae65c22d2ee1fc887dde02ccfa881ff2cb35559efc74b7b9795e371 tokenfactory.wasm
22 changes: 11 additions & 11 deletions artifacts/checksums_intermediate.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
a67c60c5853497b890d67dd2bfed1caf0984a03af01ec67c877e63688970814e target/wasm32-unknown-unknown/release/echo.wasm
bebad52462ca1ddc557ae7ea3fc09aab0a11dd86497027a473f885bbe0c91d6c target/wasm32-unknown-unknown/release/ibc_transfer.wasm
b09e4f513e19e78b5ea08e10d26dc4d61056a4c6f534e783039f32494c39021b target/wasm32-unknown-unknown/release/neutron_interchain_queries.wasm
43c926644f096ba26d356c34f0f409b94b793d8398b1845e5fe03ffee7400e0c target/wasm32-unknown-unknown/release/neutron_interchain_txs.wasm
e947d71ddeb4f6e61d756b48981bedae6973e0b25a9d873c3bba5e9878079d8b target/wasm32-unknown-unknown/release/neutron_price_feed_mock.wasm
8893279611c69a5ca55628f0476e943ca60b8900cb0ae17fefc2f38c4e472215 target/wasm32-unknown-unknown/release/neutron_validators_test.wasm
b260fdda36208b9017f0f142821fa3bb47f3d3dea86901d687cf3d3da00946e0 target/wasm32-unknown-unknown/release/reflect.wasm
fc80abbf059bafa21b25162af22ddb963a1ea1c6ab4dd671855adb3e1f8a8a84 target/wasm32-unknown-unknown/release/tokenfactory.wasm
d89ba235e130977d1f79ac4d7f9252f6f6bed3002dfc1d08227ba138acec70b1 target/wasm32-unknown-unknown/release/client_updater.wasm
f1ec0aa2f9c84a8b0d63d877fb6dcaf2d25c30023740f3ef53072496124c7dce target/wasm32-unknown-unknown/release/msg_receiver.wasm
0cd5cb6ac3532b558fffa62d501936ccbe748cddf465746ad639ac3a166066ce target/wasm32-unknown-unknown/release/stargate_querier.wasm
8816f64f82db62bb5605c216e898b40881956a08e3606a941285fbb5a46d53a6 target/wasm32-unknown-unknown/release/client_updater.wasm
35eab080d8cf3927142effc2712c91917a3a0e0a6d7a5136fc2237a19ed4905b target/wasm32-unknown-unknown/release/echo.wasm
fc782a2561bed0401d9897193915f475245da8ad4579c3440e326c696ce61365 target/wasm32-unknown-unknown/release/ibc_transfer.wasm
8615da61ad1832a359d8e1a69d97ab775d561de89445022fe4898afcc69c458d target/wasm32-unknown-unknown/release/msg_receiver.wasm
2681fb675613efee6a1089025aeafe3bd18c52ce8745065623b750689edd24f7 target/wasm32-unknown-unknown/release/neutron_interchain_queries.wasm
c78bee3cac470b6b17ca444551eebecf761674f08b7058d8a52f725143b15d29 target/wasm32-unknown-unknown/release/neutron_interchain_txs.wasm
db81987a28a46adbb887ef97de1f5646a9d38f1a1f49b947ced863ccae545bcc target/wasm32-unknown-unknown/release/neutron_price_feed_mock.wasm
1d298b71bec1aed8621c1e6664b10aaa67d583a809cb7bc125f069158fd70e12 target/wasm32-unknown-unknown/release/neutron_validators_test.wasm
71a5c8402cf56c0c4838fa0114d0cbcf51982b0df99fc610b6e75a8272c04075 target/wasm32-unknown-unknown/release/reflect.wasm
68db8c7422aeaa0c4e769e80db6576b1679f20c73637b049944370e7353591ec target/wasm32-unknown-unknown/release/stargate_querier.wasm
77b9fa3ba2fa1a894acf4f6890e13ab507b7aa1d5d134d2cc56b610e6b8254c6 target/wasm32-unknown-unknown/release/tokenfactory.wasm
Binary file modified artifacts/ibc_transfer.wasm
Binary file not shown.
Binary file modified artifacts/neutron_interchain_txs.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions contracts/client_updater/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ cw2 = "1.1.0"
cw-storage-plus = { version = "1.1.0", features = ["iterator"]}
schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
[dev-dependencies]
cosmwasm-schema = { version = "1.0.0", default-features = false }
cosmwasm-schema = { version = "1.4.0", default-features = false }
2 changes: 1 addition & 1 deletion contracts/ibc_transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
serde-json-wasm = { version = "0.5.1" }
cw-storage-plus = { version = "1.1.0", features = ["iterator"]}
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
protobuf = { version = "3.2.0", features = ["with-bytes"] }

[dev-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions contracts/msg_receiver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ backtraces = ["cosmwasm-std/backtraces"]
library = []

[dependencies]
cosmwasm-std = "1.3.1"
cosmwasm-std = { version = "1.4.0", features = ["staking"] }
cw2 = "1.1.0"
schemars = "0.8.10"
cosmos-sdk-proto = { version = "0.19.0", default-features = false }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
serde-json-wasm = { version = "0.5.1" }
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
cw-storage-plus = "1.1.0"
protobuf = { version = "3.2.0", features = ["with-bytes"] }
prost = "0.11"
prost-types = "0.11"
prost = "0.12.1"
prost-types = "0.12.1"

[dev-dependencies]
cosmwasm-schema = { version = "1.3.1", default-features = false }
6 changes: 3 additions & 3 deletions contracts/neutron_interchain_queries/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ cosmwasm-std = { version = "1.3.1", features = ["staking"] }
cw2 = "1.1.0"
schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
base64 = "0.21.2"
cosmos-sdk-proto = { version = "0.16.0", default-features = false }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
cw-storage-plus = { version = "1.1.0", features = ["iterator"]}
prost = "0.11"
prost = "0.12.1"
serde-json-wasm = "0.5.1"

[dev-dependencies]
Expand Down
8 changes: 4 additions & 4 deletions contracts/neutron_interchain_txs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
serde-json-wasm = { version = "0.5.1" }
cw-storage-plus = { version = "1.1.0", features = ["iterator"]}
cosmos-sdk-proto = { version = "0.16.0", default-features = false }
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
base64 = "0.21.2"
protobuf = { version = "3.2.0", features = ["with-bytes"] }
prost = "0.11"
prost-types = "0.11"
prost = "0.12.1"
prost-types = "0.12.1"
bech32 = "0.9.0"
thiserror = { version = "1.0" }

Expand Down
8 changes: 4 additions & 4 deletions contracts/neutron_validator_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
serde-json-wasm = { version = "0.5.1" }
cw-storage-plus = { version = "1.1.0", features = ["iterator"]}
cosmos-sdk-proto = { version = "0.16.0", default-features = false }
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
base64 = "0.21.2"
protobuf = { version = "3", features = ["with-bytes"] }
prost = "0.11"
prost-types = "0.11.5"
prost = "0.12.1"
prost-types = "0.12.1"
bech32 = "0.9.0"
thiserror = { version = "1.0" }

Expand Down
6 changes: 3 additions & 3 deletions contracts/price-feed/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ cw-storage-plus = "1.1.0"
cw2 = "1.1.0"
cw-band = "0.1.1"
protobuf = { version = "3.2.0", features = ["with-bytes"] }
prost = "0.11"
prost-types = "0.11"
prost = "0.12.1"
prost-types = "0.12.1"
schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
cosmos-sdk-proto = { version = "0.16.0", default-features = false }
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
thiserror = { version = "1.0.31" }
obi = "0.0.2"
owasm-kit = "0.3.0"
Expand Down
2 changes: 1 addition & 1 deletion contracts/reflect/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cosmwasm-std = "1.3.1"
cw2 = "1.1.0"
schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }

[dev-dependencies]
cosmwasm-schema = { version = "1.3.1", default-features = false }
110 changes: 0 additions & 110 deletions contracts/reflect/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,18 +240,6 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"staking"
],
"properties": {
"staking": {
"$ref": "#/definitions/StakingQuery"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand All @@ -266,104 +254,6 @@
}
]
},
"StakingQuery": {
"oneOf": [
{
"description": "Returns the denomination that can be bonded (if there are multiple native tokens on the chain)",
"type": "object",
"required": [
"bonded_denom"
],
"properties": {
"bonded_denom": {
"type": "object"
}
},
"additionalProperties": false
},
{
"description": "AllDelegations will return all delegations by the delegator",
"type": "object",
"required": [
"all_delegations"
],
"properties": {
"all_delegations": {
"type": "object",
"required": [
"delegator"
],
"properties": {
"delegator": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
{
"description": "Delegation will return more detailed info on a particular delegation, defined by delegator/validator pair",
"type": "object",
"required": [
"delegation"
],
"properties": {
"delegation": {
"type": "object",
"required": [
"delegator",
"validator"
],
"properties": {
"delegator": {
"type": "string"
},
"validator": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
{
"description": "Returns all validators in the currently active validator set.\n\nThe query response type is `AllValidatorsResponse`.",
"type": "object",
"required": [
"all_validators"
],
"properties": {
"all_validators": {
"type": "object"
}
},
"additionalProperties": false
},
{
"description": "Returns the validator at the given address. Returns None if the validator is not part of the currently active validator set.\n\nThe query response type is `ValidatorResponse`.",
"type": "object",
"required": [
"validator"
],
"properties": {
"validator": {
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"description": "The validator's address (e.g. (e.g. cosmosvaloper1...))",
"type": "string"
}
}
}
},
"additionalProperties": false
}
]
},
"WasmQuery": {
"oneOf": [
{
Expand Down
8 changes: 4 additions & 4 deletions contracts/stargate_querier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ library = []
[dependencies]
cosmwasm-std = { version = "1.3.1", features = ["stargate"] }
cosmos-sdk-proto = { version = "0.19.0", default-features = false }
osmosis-std = { version = "0.16.1" }
osmosis-std = { version = "0.19.2" }
cw2 = "1.0.1"
schemars = "0.8.10"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
serde-json-wasm = { version = "0.5.1" }
neutron-sdk = "0.6.1"
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }
cw-storage-plus = "1.0.1"
protobuf = { version = "3.2.0", features = ["with-bytes"] }
prost = "0.11"
prost-types = "0.11"
prost = "0.11.9"
prost-types = "0.11.9"

[dev-dependencies]
cosmwasm-schema = { version = "1.0.0", default-features = false }
3 changes: 1 addition & 2 deletions contracts/stargate_querier/src/contract.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::msg::{ExecuteMsg, InstantiateMsg, QueryMsg};
use cosmos_sdk_proto::cosmos::{auth, bank};
use cosmos_sdk_proto::ibc;
use cosmos_sdk_proto::{ibc, traits::Message};
use cosmwasm_std::{
entry_point, to_binary, Binary, ContractResult, Deps, DepsMut, Empty, Env, MessageInfo,
QueryRequest, Response, StdError, StdResult, SystemResult,
Expand All @@ -11,7 +11,6 @@ use crate::stargate;
use cw2::set_contract_version;
use neutron_sdk::bindings::msg::NeutronMsg;
use neutron_sdk::NeutronResult;
use prost::Message;
use serde_json_wasm::to_vec;

const CONTRACT_NAME: &str = concat!("crates.io:neutron-contracts__", env!("CARGO_PKG_NAME"));
Expand Down
2 changes: 1 addition & 1 deletion contracts/tokenfactory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ library = []
cosmwasm-std = "1.3.1"
serde = { version = "1.0.180", default-features = false, features = ["derive"] }
schemars = "0.8.12"
neutron-sdk = { package = "neutron-sdk", version = "0.6.1" }
neutron-sdk = { git = "https://github.com/neutron-org/neutron-sdk/", branch = "feat/release_0.7.0" }

[dev-dependencies]
cosmwasm-schema = { version = "1.3.1", default-features = false }

0 comments on commit a521047

Please sign in to comment.