From e70e2de5bd8b016eb01b81ed032315da527bf62a Mon Sep 17 00:00:00 2001 From: Tristav <124001124+Pricstas@users.noreply.github.com> Date: Mon, 10 Mar 2025 12:18:26 +0100 Subject: [PATCH] Update UPGRADES.md --- spec/core/ics-026-routing-module/UPGRADES.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/core/ics-026-routing-module/UPGRADES.md b/spec/core/ics-026-routing-module/UPGRADES.md index 01d4b97a4..71d79ea6f 100644 --- a/spec/core/ics-026-routing-module/UPGRADES.md +++ b/spec/core/ics-026-routing-module/UPGRADES.md @@ -51,10 +51,10 @@ function onChanUpgradeInit( portIdentifier: Identifier, channelIdentifier: Identifier, proposedOrdering: ChannelOrder, - proposedConnectionHops: [Identifier], - proposedVersion: string) => (version: string, err: Error) { + proposedConnectionHops: Identifier[], + proposedVersion: string): [string, Error | null] { // defined by the module -} (version: string) +} ``` ### **OnChanUpgradeTry** @@ -71,10 +71,10 @@ function onChanUpgradeTry( portIdentifier: Identifier, channelIdentifier: Identifier, proposedOrdering: ChannelOrder, - proposedConnectionHops: [Identifier], - proposedVersion: string) => (version: string, err: Error) { + proposedConnectionHops: Identifier[], + proposedVersion: string): [string, Error | null] { // defined by the module -} (version: string) +} ``` ### **OnChanUpgradeAck** @@ -88,7 +88,7 @@ is unsupported. If an error is returned by the callback, core IBC will abort the function onChanUpgradeAck( portIdentifier: Identifier, channelIdentifier: Identifier, - counterpartyVersion: string) => Error { + counterpartyVersion: string): Error | null { // defined by the module } ```