From 1a6b445af17c6597141b5cb6d77cb3e55fed9eba Mon Sep 17 00:00:00 2001 From: peetzweg/ Date: Tue, 9 Apr 2024 14:27:00 +0200 Subject: [PATCH] removes unused code --- src/lib/callOptions.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/callOptions.ts b/src/lib/callOptions.ts index ea1adef9..8b117c3b 100644 --- a/src/lib/callOptions.ts +++ b/src/lib/callOptions.ts @@ -1,9 +1,8 @@ // Copyright 2022-2024 @paritytech/contracts-ui authors & contributors // SPDX-License-Identifier: GPL-3.0-only -import { randomAsU8a } from './util'; import { BN_ZERO } from './bn'; -import { UIStorageDeposit, ContractCallOutcome, BN, WeightV2, AbiParam, Registry } from 'types'; +import { AbiParam, BN, ContractCallOutcome, Registry, UIStorageDeposit, WeightV2 } from 'types'; export function decodeStorageDeposit( storageDeposit: ContractCallOutcome['storageDeposit'], @@ -68,4 +67,3 @@ export function transformUserInput( return value; }); } -const encoder = new TextEncoder();