Skip to content

Commit 29a3213

Browse files
committed
Apply suggestion
1 parent a6fb23b commit 29a3213

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/api-contract/src/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import type { ApiBase } from '@polkadot/api/base';
55
import type { ApiTypes } from '@polkadot/api/types';
6-
import type { Text, u64 } from '@polkadot/types';
7-
import type { ContractExecResultResult, ContractSelector, StorageDeposit, WeightV2 } from '@polkadot/types/interfaces';
6+
import type { Text } from '@polkadot/types';
7+
import type { ContractExecResultResult, ContractSelector, StorageDeposit, Weight, WeightV2 } from '@polkadot/types/interfaces';
88
import type { Codec, TypeDef } from '@polkadot/types/types';
99
import type { BN } from '@polkadot/util';
1010
import type { Abi } from '.';
@@ -55,8 +55,8 @@ export interface InterfaceContractCalls {
5555

5656
export interface ContractCallOutcome {
5757
debugMessage: Text;
58-
gasConsumed: u64 | WeightV2;
59-
gasRequired: u64 | WeightV2;
58+
gasConsumed: Weight;
59+
gasRequired: Weight;
6060
output: Codec | null;
6161
result: ContractExecResultResult;
6262
storageDeposit: StorageDeposit;

0 commit comments

Comments
 (0)