@@ -3,13 +3,14 @@ import { TEST_CLIENT } from "../../test/src/test-clients.js";
33import { TEST_ACCOUNT_B } from "../../test/src/test-wallets.js" ;
44import { typedData } from "../../test/src/typed-data.js" ;
55import { arbitrumSepolia } from "../chains/chain-definitions/arbitrum-sepolia.js" ;
6+ import { baseSepolia } from "../chains/chain-definitions/base-sepolia.js" ;
67import { sepolia } from "../chains/chain-definitions/sepolia.js" ;
78import { getContract } from "../contract/contract.js" ;
89import { setContractURI } from "../extensions/common/__generated__/IContractMetadata/write/setContractURI.js" ;
10+ import { mintTo } from "../extensions/erc20/write/mintTo.js" ;
911import { claimTo } from "../extensions/erc1155/drops/write/claimTo.js" ;
1012import { getAllActiveSigners } from "../extensions/erc4337/__generated__/IAccountPermissions/read/getAllActiveSigners.js" ;
1113import { sendTransaction } from "../transaction/actions/send-transaction.js" ;
12- import { setThirdwebDomains } from "../utils/domains.js" ;
1314import {
1415 DEFAULT_ACCOUNT_FACTORY_V0_6 ,
1516 ENTRYPOINT_ADDRESS_v0_6 ,
@@ -32,12 +33,12 @@ describe.runIf(
3233 let serverWallet : Engine . ServerWallet ;
3334
3435 beforeAll ( async ( ) => {
35- setThirdwebDomains ( {
36- rpc : "rpc.thirdweb-dev.com" ,
37- storage : "storage.thirdweb-dev.com" ,
38- bundler : "bundler.thirdweb-dev.com" ,
39- engineCloud : "engine.thirdweb-dev.com" ,
40- } ) ;
36+ // setThirdwebDomains({
37+ // rpc: "rpc.thirdweb-dev.com",
38+ // storage: "storage.thirdweb-dev.com",
39+ // bundler: "bundler.thirdweb-dev.com",
40+ // engineCloud: "engine.thirdweb-dev.com",
41+ // });
4142 serverWallet = Engine . serverWallet ( {
4243 client : TEST_CLIENT ,
4344 vaultAccessToken : process . env . VAULT_TOKEN as string ,
@@ -81,7 +82,7 @@ describe.runIf(
8182 } ) ;
8283 const claimTx = claimTo ( {
8384 contract : nftContract ,
84- to : TEST_ACCOUNT_B . address ,
85+ to : serverWallet . address ,
8586 tokenId : 0n ,
8687 quantity : 1n ,
8788 } ) ;
@@ -97,16 +98,15 @@ describe.runIf(
9798 } ) ;
9899
99100 it ( "should send a extension tx" , async ( ) => {
100- const nftContract = getContract ( {
101+ const tokenContract = getContract ( {
101102 client : TEST_CLIENT ,
102- chain : sepolia ,
103- address : "0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8 " ,
103+ chain : baseSepolia ,
104+ address : "0x87C52295891f208459F334975a3beE198fE75244 " ,
104105 } ) ;
105- const claimTx = claimTo ( {
106- contract : nftContract ,
107- to : TEST_ACCOUNT_B . address ,
108- tokenId : 0n ,
109- quantity : 1n ,
106+ const claimTx = mintTo ( {
107+ contract : tokenContract ,
108+ to : serverWallet . address ,
109+ amount : "0.001" ,
110110 } ) ;
111111 const tx = await sendTransaction ( {
112112 account : serverWallet ,
0 commit comments