diff --git a/snapshots.js b/snapshots.js index bdb6c3c1..f71c05c6 100644 --- a/snapshots.js +++ b/snapshots.js @@ -1,3 +1,6 @@ +// Copyright 2022-2024 @paritytech/contracts-ui authors & contributors +// SPDX-License-Identifier: GPL-3.0-only + module.exports = { __version: '12.17.2', 'Storage Types Contract': { diff --git a/src/ui/components/contract/DryRunResult.tsx b/src/ui/components/contract/DryRunResult.tsx index 0aea069e..66ca15b2 100644 --- a/src/ui/components/contract/DryRunResult.tsx +++ b/src/ui/components/contract/DryRunResult.tsx @@ -2,6 +2,7 @@ // SPDX-License-Identifier: GPL-3.0-only import { AbiMessage } from '@polkadot/api-contract/types'; +import { formatProofSize, formatRefTime } from '../../../lib/formatWeight'; import { DryRunError } from './DryRunError'; import { OutcomeItem } from './OutcomeItem'; import { classes } from 'lib/util'; @@ -9,7 +10,6 @@ import { ContractExecResult, Registry } from 'types'; import { useApi } from 'ui/contexts'; import { getDecodedOutput } from 'lib/output'; import { decodeStorageDeposit } from 'lib/callOptions'; -import { formatProofSize, formatRefTime } from '../../../lib/formatWeight'; interface Props { outcome: ContractExecResult;