Skip to content

Commit f77784c

Browse files
committed
fix: addressSalt from BigNumberish to string | undefined
1 parent f87afed commit f77784c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/contract/contractFactory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import assert from 'minimalistic-assert';
33
import { AccountInterface } from '../account';
44
import { ProviderInterface, defaultProvider } from '../provider';
55
import { Abi, CompiledContract, RawCalldata } from '../types';
6-
import { BigNumberish } from '../utils/number';
76
import { Contract } from './default';
87

98
export class ContractFactory {
@@ -32,7 +31,7 @@ export class ContractFactory {
3231
*/
3332
public async deploy(
3433
constructorCalldata?: RawCalldata,
35-
addressSalt?: BigNumberish
34+
addressSalt?: string | undefined
3635
): Promise<Contract> {
3736
const { contract_address, transaction_hash } = await this.providerOrAccount.deployContract({
3837
contract: this.compiledContract,

0 commit comments

Comments
 (0)