Skip to content

Commit

Permalink
fix: contract deploy options type removed
Browse files Browse the repository at this point in the history
  • Loading branch information
fess-v committed Aug 4, 2023
1 parent af81c02 commit 5f1c647
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
ClarityAbi,
ClarityValue,
ContractCallPayload,
ContractDeployOptions,
SignedContractDeployOptions,
createStacksPrivateKey,
cvToString,
estimateContractDeploy,
Expand Down Expand Up @@ -766,7 +766,7 @@ async function contractDeploy(network: CLINetworkAdapter, args: string[]): Promi
? new StacksMainnet({ url: network.legacyNetwork.blockstackAPIUrl })
: new StacksTestnet({ url: network.legacyNetwork.blockstackAPIUrl });

const options: ContractDeployOptions = {
const options: SignedContractDeployOptions = {
contractName,
codeBody: source,
senderKey: privateKey,
Expand Down
5 changes: 0 additions & 5 deletions packages/transactions/src/builders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -706,11 +706,6 @@ export interface BaseContractDeployOptions {
sponsored?: boolean;
}

export interface ContractDeployOptions extends BaseContractDeployOptions {
/** a hex string of the private key of the transaction sender */
senderKey: string;
}

export interface UnsignedContractDeployOptions extends BaseContractDeployOptions {
/** a hex string of the public key of the transaction sender */
publicKey: string;
Expand Down

0 comments on commit 5f1c647

Please sign in to comment.