From 90c2446f78361d0694bd231afcf30f4803e9d0c6 Mon Sep 17 00:00:00 2001 From: Tomasz Polaczyk Date: Tue, 12 Nov 2024 14:01:07 +0100 Subject: [PATCH] typescript-api --- .../src/dancelight/interfaces/augment-api-errors.ts | 4 ++++ .../src/dancelight/interfaces/augment-api-query.ts | 2 ++ .../src/dancelight/interfaces/augment-api-tx.ts | 2 ++ typescript-api/src/dancelight/interfaces/lookup.ts | 3 +++ .../src/dancelight/interfaces/types-lookup.ts | 10 ++++++++-- 5 files changed, 19 insertions(+), 2 deletions(-) diff --git a/typescript-api/src/dancelight/interfaces/augment-api-errors.ts b/typescript-api/src/dancelight/interfaces/augment-api-errors.ts index bce78878f..e8304269f 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-errors.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-errors.ts @@ -275,6 +275,10 @@ declare module "@polkadot/api-base/types/errors" { EmptyTargets: AugmentedError; /** There was an error computing the slash */ ErrorComputingSlash: AugmentedError; + /** Failed to deliver the message to Ethereum */ + EthereumDeliverFail: AugmentedError; + /** Failed to validate the message that was going to be sent to Ethereum */ + EthereumValidateFail: AugmentedError; /** No slash was found to be cancelled at the given index */ InvalidSlashIndex: AugmentedError; /** Slash indices to be cancelled are not sorted or unique */ diff --git a/typescript-api/src/dancelight/interfaces/augment-api-query.ts b/typescript-api/src/dancelight/interfaces/augment-api-query.ts index c1a568922..a882b7bdf 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-query.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-query.ts @@ -1246,6 +1246,7 @@ declare module "@polkadot/api-base/types/storage" { | DancelightRuntimeAggregateMessageOrigin | { Ump: any } | { Snowbridge: any } + | { SnowbridgeTanssi: any } | string | Uint8Array ) => Observable, @@ -1260,6 +1261,7 @@ declare module "@polkadot/api-base/types/storage" { | DancelightRuntimeAggregateMessageOrigin | { Ump: any } | { Snowbridge: any } + | { SnowbridgeTanssi: any } | string | Uint8Array, arg2: u32 | AnyNumber | Uint8Array diff --git a/typescript-api/src/dancelight/interfaces/augment-api-tx.ts b/typescript-api/src/dancelight/interfaces/augment-api-tx.ts index ef8cf816f..31a9f1e67 100644 --- a/typescript-api/src/dancelight/interfaces/augment-api-tx.ts +++ b/typescript-api/src/dancelight/interfaces/augment-api-tx.ts @@ -2596,6 +2596,7 @@ declare module "@polkadot/api-base/types/submittable" { | DancelightRuntimeAggregateMessageOrigin | { Ump: any } | { Snowbridge: any } + | { SnowbridgeTanssi: any } | string | Uint8Array, page: u32 | AnyNumber | Uint8Array, @@ -2611,6 +2612,7 @@ declare module "@polkadot/api-base/types/submittable" { | DancelightRuntimeAggregateMessageOrigin | { Ump: any } | { Snowbridge: any } + | { SnowbridgeTanssi: any } | string | Uint8Array, pageIndex: u32 | AnyNumber | Uint8Array diff --git a/typescript-api/src/dancelight/interfaces/lookup.ts b/typescript-api/src/dancelight/interfaces/lookup.ts index e2401c0fc..3cd06a49e 100644 --- a/typescript-api/src/dancelight/interfaces/lookup.ts +++ b/typescript-api/src/dancelight/interfaces/lookup.ts @@ -2341,6 +2341,7 @@ export default { _enum: { Ump: "PolkadotRuntimeParachainsInclusionUmpQueueId", Snowbridge: "SnowbridgeCoreChannelId", + SnowbridgeTanssi: "SnowbridgeCoreChannelId", }, }, /** Lookup243: polkadot_runtime_parachains::inclusion::UmpQueueId */ @@ -5188,6 +5189,8 @@ export default { "ProvidedNonSlashableEra", "DeferPeriodIsOver", "ErrorComputingSlash", + "EthereumValidateFail", + "EthereumDeliverFail", ], }, /** Lookup595: sp_core::crypto::KeyTypeId */ diff --git a/typescript-api/src/dancelight/interfaces/types-lookup.ts b/typescript-api/src/dancelight/interfaces/types-lookup.ts index 5e63af4e2..5ba33c7dd 100644 --- a/typescript-api/src/dancelight/interfaces/types-lookup.ts +++ b/typescript-api/src/dancelight/interfaces/types-lookup.ts @@ -2814,7 +2814,9 @@ declare module "@polkadot/types/lookup" { readonly asUmp: PolkadotRuntimeParachainsInclusionUmpQueueId; readonly isSnowbridge: boolean; readonly asSnowbridge: SnowbridgeCoreChannelId; - readonly type: "Ump" | "Snowbridge"; + readonly isSnowbridgeTanssi: boolean; + readonly asSnowbridgeTanssi: SnowbridgeCoreChannelId; + readonly type: "Ump" | "Snowbridge" | "SnowbridgeTanssi"; } /** @name PolkadotRuntimeParachainsInclusionUmpQueueId (243) */ @@ -6644,6 +6646,8 @@ declare module "@polkadot/types/lookup" { readonly isProvidedNonSlashableEra: boolean; readonly isDeferPeriodIsOver: boolean; readonly isErrorComputingSlash: boolean; + readonly isEthereumValidateFail: boolean; + readonly isEthereumDeliverFail: boolean; readonly type: | "EmptyTargets" | "InvalidSlashIndex" @@ -6651,7 +6655,9 @@ declare module "@polkadot/types/lookup" { | "ProvidedFutureEra" | "ProvidedNonSlashableEra" | "DeferPeriodIsOver" - | "ErrorComputingSlash"; + | "ErrorComputingSlash" + | "EthereumValidateFail" + | "EthereumDeliverFail"; } /** @name SpCoreCryptoKeyTypeId (595) */