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

Async Acknowledgement #2130

Merged
merged 12 commits into from
Jun 13, 2024
Prev Previous commit
Next Next commit
Fix schemas
  • Loading branch information
chipshort committed Jun 12, 2024
commit 51b5cd94c53f30189ff63ef00ad0913a2eb3b00b
51 changes: 0 additions & 51 deletions contracts/ibc-reflect-send/schema/ibc-reflect-send.json
Original file line number Diff line number Diff line change
Expand Up @@ -402,18 +402,6 @@
}
]
},
"IbcAcknowledgement": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/definitions/Binary"
}
},
"additionalProperties": false
},
"IbcMsg": {
"description": "These are messages in the IBC lifecycle. Only usable by IBC-enabled contracts (contracts that directly speak the IBC protocol via 6 entry points)",
"oneOf": [
Expand Down Expand Up @@ -505,45 +493,6 @@
},
"additionalProperties": false
},
{
"description": "Acknowledges a packet that this contract received over IBC. This allows acknowledging a packet that was not acknowledged yet in the `ibc_packet_receive` call.",
"type": "object",
"required": [
"write_acknowledgement"
],
"properties": {
"write_acknowledgement": {
"type": "object",
"required": [
"ack",
"channel_id",
"packet_sequence"
],
"properties": {
"ack": {
"description": "The acknowledgement to send back",
"allOf": [
{
"$ref": "#/definitions/IbcAcknowledgement"
}
]
},
"channel_id": {
"description": "Existing channel where the packet was received",
"type": "string"
},
"packet_sequence": {
"description": "Sequence number of the packet that was received",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "This will close an existing channel that is owned by this contract. Port is auto-assigned to the contract's IBC port",
"type": "object",
Expand Down
51 changes: 0 additions & 51 deletions contracts/ibc-reflect-send/schema/ibc/packet_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,18 +343,6 @@
}
]
},
"IbcAcknowledgement": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/definitions/Binary"
}
},
"additionalProperties": false
},
"IbcMsg": {
"description": "These are messages in the IBC lifecycle. Only usable by IBC-enabled contracts (contracts that directly speak the IBC protocol via 6 entry points)",
"oneOf": [
Expand Down Expand Up @@ -446,45 +434,6 @@
},
"additionalProperties": false
},
{
"description": "Acknowledges a packet that this contract received over IBC. This allows acknowledging a packet that was not acknowledged yet in the `ibc_packet_receive` call.",
"type": "object",
"required": [
"write_acknowledgement"
],
"properties": {
"write_acknowledgement": {
"type": "object",
"required": [
"ack",
"channel_id",
"packet_sequence"
],
"properties": {
"ack": {
"description": "The acknowledgement to send back",
"allOf": [
{
"$ref": "#/definitions/IbcAcknowledgement"
}
]
},
"channel_id": {
"description": "Existing channel where the packet was received",
"type": "string"
},
"packet_sequence": {
"description": "Sequence number of the packet that was received",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "This will close an existing channel that is owned by this contract. Port is auto-assigned to the contract's IBC port",
"type": "object",
Expand Down
51 changes: 0 additions & 51 deletions contracts/ibc-reflect-send/schema/raw/execute.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,18 +391,6 @@
}
]
},
"IbcAcknowledgement": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/definitions/Binary"
}
},
"additionalProperties": false
},
"IbcMsg": {
"description": "These are messages in the IBC lifecycle. Only usable by IBC-enabled contracts (contracts that directly speak the IBC protocol via 6 entry points)",
"oneOf": [
Expand Down Expand Up @@ -494,45 +482,6 @@
},
"additionalProperties": false
},
{
"description": "Acknowledges a packet that this contract received over IBC. This allows acknowledging a packet that was not acknowledged yet in the `ibc_packet_receive` call.",
"type": "object",
"required": [
"write_acknowledgement"
],
"properties": {
"write_acknowledgement": {
"type": "object",
"required": [
"ack",
"channel_id",
"packet_sequence"
],
"properties": {
"ack": {
"description": "The acknowledgement to send back",
"allOf": [
{
"$ref": "#/definitions/IbcAcknowledgement"
}
]
},
"channel_id": {
"description": "Existing channel where the packet was received",
"type": "string"
},
"packet_sequence": {
"description": "Sequence number of the packet that was received",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "This will close an existing channel that is owned by this contract. Port is auto-assigned to the contract's IBC port",
"type": "object",
Expand Down
51 changes: 0 additions & 51 deletions contracts/reflect/schema/raw/execute.json
Original file line number Diff line number Diff line change
Expand Up @@ -476,18 +476,6 @@
}
]
},
"IbcAcknowledgement": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/definitions/Binary"
}
},
"additionalProperties": false
},
"IbcMsg": {
"description": "These are messages in the IBC lifecycle. Only usable by IBC-enabled contracts (contracts that directly speak the IBC protocol via 6 entry points)",
"oneOf": [
Expand Down Expand Up @@ -579,45 +567,6 @@
},
"additionalProperties": false
},
{
"description": "Acknowledges a packet that this contract received over IBC. This allows acknowledging a packet that was not acknowledged yet in the `ibc_packet_receive` call.",
"type": "object",
"required": [
"write_acknowledgement"
],
"properties": {
"write_acknowledgement": {
"type": "object",
"required": [
"ack",
"channel_id",
"packet_sequence"
],
"properties": {
"ack": {
"description": "The acknowledgement to send back",
"allOf": [
{
"$ref": "#/definitions/IbcAcknowledgement"
}
]
},
"channel_id": {
"description": "Existing channel where the packet was received",
"type": "string"
},
"packet_sequence": {
"description": "Sequence number of the packet that was received",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "This will close an existing channel that is owned by this contract. Port is auto-assigned to the contract's IBC port",
"type": "object",
Expand Down
51 changes: 0 additions & 51 deletions contracts/reflect/schema/reflect.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,18 +486,6 @@
}
]
},
"IbcAcknowledgement": {
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"$ref": "#/definitions/Binary"
}
},
"additionalProperties": false
},
"IbcMsg": {
"description": "These are messages in the IBC lifecycle. Only usable by IBC-enabled contracts (contracts that directly speak the IBC protocol via 6 entry points)",
"oneOf": [
Expand Down Expand Up @@ -589,45 +577,6 @@
},
"additionalProperties": false
},
{
"description": "Acknowledges a packet that this contract received over IBC. This allows acknowledging a packet that was not acknowledged yet in the `ibc_packet_receive` call.",
"type": "object",
"required": [
"write_acknowledgement"
],
"properties": {
"write_acknowledgement": {
"type": "object",
"required": [
"ack",
"channel_id",
"packet_sequence"
],
"properties": {
"ack": {
"description": "The acknowledgement to send back",
"allOf": [
{
"$ref": "#/definitions/IbcAcknowledgement"
}
]
},
"channel_id": {
"description": "Existing channel where the packet was received",
"type": "string"
},
"packet_sequence": {
"description": "Sequence number of the packet that was received",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "This will close an existing channel that is owned by this contract. Port is auto-assigned to the contract's IBC port",
"type": "object",
Expand Down