From 41ab03fd96e4b620e1f3dba24072b9c311356d36 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Thu, 23 May 2024 13:44:50 +0200 Subject: [PATCH] Fix schemas --- .../schema/ibc-reflect-send.json | 51 ------------------- .../schema/ibc/packet_msg.json | 51 ------------------- .../ibc-reflect-send/schema/raw/execute.json | 51 ------------------- contracts/reflect/schema/raw/execute.json | 51 ------------------- contracts/reflect/schema/reflect.json | 51 ------------------- 5 files changed, 255 deletions(-) diff --git a/contracts/ibc-reflect-send/schema/ibc-reflect-send.json b/contracts/ibc-reflect-send/schema/ibc-reflect-send.json index 1b82538492..c8d872b5d2 100644 --- a/contracts/ibc-reflect-send/schema/ibc-reflect-send.json +++ b/contracts/ibc-reflect-send/schema/ibc-reflect-send.json @@ -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": [ @@ -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", diff --git a/contracts/ibc-reflect-send/schema/ibc/packet_msg.json b/contracts/ibc-reflect-send/schema/ibc/packet_msg.json index 5adb814ade..cea5745b7e 100644 --- a/contracts/ibc-reflect-send/schema/ibc/packet_msg.json +++ b/contracts/ibc-reflect-send/schema/ibc/packet_msg.json @@ -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": [ @@ -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", diff --git a/contracts/ibc-reflect-send/schema/raw/execute.json b/contracts/ibc-reflect-send/schema/raw/execute.json index c11d6d9d5a..f1b1d6dcef 100644 --- a/contracts/ibc-reflect-send/schema/raw/execute.json +++ b/contracts/ibc-reflect-send/schema/raw/execute.json @@ -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": [ @@ -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", diff --git a/contracts/reflect/schema/raw/execute.json b/contracts/reflect/schema/raw/execute.json index 724181f56d..947eb3997c 100644 --- a/contracts/reflect/schema/raw/execute.json +++ b/contracts/reflect/schema/raw/execute.json @@ -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": [ @@ -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", diff --git a/contracts/reflect/schema/reflect.json b/contracts/reflect/schema/reflect.json index af3fe76a53..ccbaedab95 100644 --- a/contracts/reflect/schema/reflect.json +++ b/contracts/reflect/schema/reflect.json @@ -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": [ @@ -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",