Skip to content

Commit

Permalink
Change contracts interface WeightV2 -> Weight
Browse files Browse the repository at this point in the history
  • Loading branch information
jasl committed Nov 9, 2022
1 parent 856ecf3 commit 3b5b29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api-contract/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import type { ApiBase } from '@polkadot/api/base';
import type { ApiTypes } from '@polkadot/api/types';
import type { Text } from '@polkadot/types';
import type { ContractExecResultResult, ContractSelector, StorageDeposit, Weight, WeightV2 } from '@polkadot/types/interfaces';
import type { ContractExecResultResult, ContractSelector, StorageDeposit, Weight } from '@polkadot/types/interfaces';
import type { Codec, TypeDef } from '@polkadot/types/types';
import type { BN } from '@polkadot/util';
import type { Abi } from '.';
Expand Down Expand Up @@ -73,7 +73,7 @@ export interface DecodedMessage {
}

export interface ContractOptions {
gasLimit?: bigint | string | number | BN | WeightV2;
gasLimit?: bigint | string | number | BN | Weight;
storageDepositLimit?: bigint | string | number | BN | null;
value?: bigint | BN | string | number;
}
Expand Down

0 comments on commit 3b5b29a

Please sign in to comment.