Skip to content

Commit

Permalink
Merge pull request #59 from neutron-org/feat/refactor-validator-test
Browse files Browse the repository at this point in the history
Feat/refactor validator test
  • Loading branch information
zavgorodnii authored Nov 9, 2022
2 parents ae57a60 + 142c865 commit 0ba9a36
Show file tree
Hide file tree
Showing 16 changed files with 715 additions and 114 deletions.
2 changes: 1 addition & 1 deletion artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
9f45a0e252d28ea9cac7f92f5fe148dc846b699c1ca1e95ff0d3745038ff3171 ibc_transfer.wasm
f6f463813fbfc0a586f8db4ced7a5935c7651a1a202d846fb1fbf511195e73f5 neutron_interchain_queries.wasm
c3439930acd1251a66e3e1cb45ff3670ad35cdf6c9db747c60912f156a2206ac neutron_interchain_txs.wasm
4fb1dade1b92d8afb4c275c95e62996cab70eb941aebfb7099410e5edd542123 neutron_validators_test.wasm
c2829bea69560d444a66f9785935e9fd8a09becf9f321363a8bcc1e531dfcb6e neutron_validators_test.wasm
2e7a0f168de97eebf4080df6f9fe23987fc96ac5852f29ca6c489dee7b10e6dd reflect.wasm
Binary file modified artifacts/neutron_validators_test.wasm
Binary file not shown.
94 changes: 94 additions & 0 deletions contracts/neutron_validator_test/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,100 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"register_balance_query"
],
"properties": {
"register_balance_query": {
"type": "object",
"required": [
"addr",
"connection_id",
"denom",
"update_period"
],
"properties": {
"addr": {
"type": "string"
},
"connection_id": {
"type": "string"
},
"denom": {
"type": "string"
},
"update_period": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"register_transfers_query"
],
"properties": {
"register_transfers_query": {
"type": "object",
"required": [
"connection_id",
"recipient",
"update_period"
],
"properties": {
"connection_id": {
"type": "string"
},
"min_height": {
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"recipient": {
"type": "string"
},
"update_period": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"remove_interchain_query"
],
"properties": {
"remove_interchain_query": {
"type": "object",
"required": [
"query_id"
],
"properties": {
"query_id": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}
},
"additionalProperties": false
}
]
}
42 changes: 42 additions & 0 deletions contracts/neutron_validator_test/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,48 @@
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"balance"
],
"properties": {
"balance": {
"type": "object",
"required": [
"query_id"
],
"properties": {
"query_id": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"get_recipient_txs"
],
"properties": {
"get_recipient_txs": {
"type": "object",
"required": [
"recipient"
],
"properties": {
"recipient": {
"type": "string"
}
}
}
},
"additionalProperties": false
}
]
}
Loading

0 comments on commit 0ba9a36

Please sign in to comment.