From 4a4172fae551334b43bfcbdd0b06521f974dfc9e Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 07:49:03 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- contracts/ibc-callbacks/schema/ibc-callbacks.json | 13 ++++++++++++- contracts/ibc-callbacks/schema/raw/execute.json | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/contracts/ibc-callbacks/schema/ibc-callbacks.json b/contracts/ibc-callbacks/schema/ibc-callbacks.json index 61a6a8875..0e843e8d3 100644 --- a/contracts/ibc-callbacks/schema/ibc-callbacks.json +++ b/contracts/ibc-callbacks/schema/ibc-callbacks.json @@ -43,7 +43,11 @@ }, "channel_version": { "description": "IBC channel version", - "type": "string" + "allOf": [ + { + "$ref": "#/definitions/ChannelVersion" + } + ] }, "timeout_seconds": { "description": "The amount of seconds from now the transfer should timeout at", @@ -87,6 +91,13 @@ ] } ] + }, + "ChannelVersion": { + "type": "string", + "enum": [ + "v1", + "v2" + ] } } }, diff --git a/contracts/ibc-callbacks/schema/raw/execute.json b/contracts/ibc-callbacks/schema/raw/execute.json index c3c1bc297..a8272cc42 100644 --- a/contracts/ibc-callbacks/schema/raw/execute.json +++ b/contracts/ibc-callbacks/schema/raw/execute.json @@ -32,7 +32,11 @@ }, "channel_version": { "description": "IBC channel version", - "type": "string" + "allOf": [ + { + "$ref": "#/definitions/ChannelVersion" + } + ] }, "timeout_seconds": { "description": "The amount of seconds from now the transfer should timeout at", @@ -76,6 +80,13 @@ ] } ] + }, + "ChannelVersion": { + "type": "string", + "enum": [ + "v1", + "v2" + ] } } }