1+ import { sendAndConfirmTransaction } from "src/exports/thirdweb.js" ;
12import { maxUint256 } from "viem" ;
23import { beforeAll , describe , expect , it } from "vitest" ;
34import { ANVIL_CHAIN } from "../../../../test/src/chains.js" ;
@@ -11,7 +12,6 @@ import {
1112 type ThirdwebContract ,
1213 getContract ,
1314} from "../../../contract/contract.js" ;
14- import { sendTransaction } from "../../../transaction/actions/send-transaction.js" ;
1515import { toHex } from "../../../utils/encoding/hex.js" ;
1616import { deployERC20Contract } from "../../prebuilts/deploy-erc20.js" ;
1717import { deployERC1155Contract } from "../../prebuilts/deploy-erc1155.js" ;
@@ -76,7 +76,7 @@ describe.runIf(process.env.TW_SECRET_KEY)("generateMintSignature1155", () => {
7676 payload,
7777 signature,
7878 } ) ;
79- const { transactionHash } = await sendTransaction ( {
79+ const { transactionHash } = await sendAndConfirmTransaction ( {
8080 transaction,
8181 account : TEST_ACCOUNT_A ,
8282 } ) ;
@@ -107,7 +107,7 @@ describe.runIf(process.env.TW_SECRET_KEY)("generateMintSignature1155", () => {
107107 payload,
108108 signature,
109109 } ) ;
110- const { transactionHash } = await sendTransaction ( {
110+ const { transactionHash } = await sendAndConfirmTransaction ( {
111111 transaction,
112112 account : TEST_ACCOUNT_A ,
113113 } ) ;
@@ -153,7 +153,7 @@ describe.runIf(process.env.TW_SECRET_KEY)("generateMintSignature1155", () => {
153153 payload,
154154 signature,
155155 } ) ;
156- const { transactionHash } = await sendTransaction ( {
156+ const { transactionHash } = await sendAndConfirmTransaction ( {
157157 transaction,
158158 account : TEST_ACCOUNT_A ,
159159 } ) ;
0 commit comments