Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test double ack #22

Merged
merged 4 commits into from
Aug 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 82 additions & 1 deletion contracts/neutron_interchain_txs/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,48 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"delegate_double_ack"
],
"properties": {
"delegate_double_ack": {
"type": "object",
"required": [
"amount",
"denom",
"interchain_account_id",
"validator"
],
"properties": {
"amount": {
"type": "integer",
"format": "uint128",
"minimum": 0.0
},
"denom": {
"type": "string"
},
"interchain_account_id": {
"type": "string"
},
"timeout": {
"type": [
"integer",
"null"
],
"format": "uint64",
"minimum": 0.0
},
"validator": {
"type": "string"
}
}
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down Expand Up @@ -161,7 +203,7 @@
"additionalProperties": false
},
{
"description": "Used only in integration tests framework to simulate failures. After executing this message, contract will fail, all of this happening in sudo callback handler.",
"description": "Used only in integration tests framework to simulate failures. After executing this message, any sudo call to the contract will result in an error.",
"type": "object",
"required": [
"integration_tests_set_sudo_failure_mock"
Expand All @@ -173,6 +215,32 @@
},
"additionalProperties": false
},
{
"description": "Used only in integration tests framework to simulate failures. After executing this message, any sudo call to the contract will result in an submessage processing error.",
"type": "object",
"required": [
"integration_tests_set_sudo_submsg_failure_mock"
],
"properties": {
"integration_tests_set_sudo_submsg_failure_mock": {
"type": "object"
}
},
"additionalProperties": false
},
{
"description": "Used only in integration tests framework to simulate failures. After executing this message, any sudo call to the contract will result in an submessage reply processing error.",
"type": "object",
"required": [
"integration_tests_set_sudo_submsg_reply_failure_mock"
],
"properties": {
"integration_tests_set_sudo_submsg_reply_failure_mock": {
"type": "object"
}
},
"additionalProperties": false
},
{
"description": "Used only in integration tests framework to simulate failures. After executing this message, contract will revert back to normal behaviour.",
"type": "object",
Expand All @@ -185,6 +253,19 @@
}
},
"additionalProperties": false
},
{
"description": "Used only in integration tests framework to simulate failures. If the IntegrationTestsSetSudoSubmsgFailureMock has been called, this message will fail.",
"type": "object",
"required": [
"integration_tests_sudo_submsg"
],
"properties": {
"integration_tests_sudo_submsg": {
"type": "object"
}
},
"additionalProperties": false
}
]
}
12 changes: 12 additions & 0 deletions contracts/neutron_interchain_txs/schema/query_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,18 @@
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"acknowledgement_results"
],
"properties": {
"acknowledgement_results": {
"type": "object"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
Expand Down
Loading
Loading