Skip to content

Commit 0f3da1a

Browse files
committed
test(sdk): simplify AA tests
1 parent 76272e6 commit 0f3da1a

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

packages/thirdweb/src/wallets/private-key.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ test("default", () => {
1717
{
1818
"address": "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266",
1919
"sendTransaction": [Function],
20+
"signAuthorization": [Function],
2021
"signMessage": [Function],
2122
"signTransaction": [Function],
2223
"signTypedData": [Function],

packages/thirdweb/src/wallets/smart/smart-wallet-integration-v07.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ import {
1414
addAdmin,
1515
adminUpdatedEvent,
1616
} from "../../exports/extensions/erc4337.js";
17-
import { balanceOf } from "../../extensions/erc1155/__generated__/IERC1155/read/balanceOf.js";
1817
import { claimTo } from "../../extensions/erc1155/drops/write/claimTo.js";
1918
import { setContractURI } from "../../extensions/marketplace/__generated__/IMarketplace/write/setContractURI.js";
2019
import { estimateGasCost } from "../../transaction/actions/estimate-gas-cost.js";
2120
import { sendAndConfirmTransaction } from "../../transaction/actions/send-and-confirm-transaction.js";
2221
import { sendBatchTransaction } from "../../transaction/actions/send-batch-transaction.js";
2322
import { waitForReceipt } from "../../transaction/actions/wait-for-tx-receipt.js";
2423
import { prepareTransaction } from "../../transaction/prepare-transaction.js";
25-
import { getAddress } from "../../utils/address.js";
2624
import { isContractDeployed } from "../../utils/bytecode/is-contract-deployed.js";
2725
import { hashMessage } from "../../utils/hashing/hashMessage.js";
2826
import { hashTypedData } from "../../utils/hashing/hashTypedData.js";
@@ -203,12 +201,6 @@ describe.runIf(process.env.TW_SECRET_KEY)(
203201
await confirmContractDeployment({ accountContract });
204202
const isDeployed = await isContractDeployed(accountContract);
205203
expect(isDeployed).toEqual(true);
206-
const balance = await balanceOf({
207-
contract,
208-
owner: getAddress(smartWalletAddress),
209-
tokenId: 0n,
210-
});
211-
expect(balance).toEqual(1n);
212204
});
213205

214206
it("can estimate a tx", async () => {

0 commit comments

Comments
 (0)