File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11import { PodRacingContractArtifact , PodRacingContract } from "../../artifacts/PodRacing.js"
22import { generateSchnorrAccounts } from "@aztec/accounts/testing"
33import { SponsoredFeePaymentMethod } from '@aztec/aztec.js/fee/testing'
4- import { createEthereumChain , createExtendedL1Client } from '@aztec/ethereum' ;
4+ import { createEthereumChain } from '@aztec/ethereum/chain' ;
5+ import { createExtendedL1Client } from '@aztec/ethereum/client' ;
56import { getSponsoredFPCInstance } from "../../utils/sponsored_fpc.js" ;
67import { setupWallet } from "../../utils/setup_wallet.js" ;
78import { SponsoredFPCContract } from "@aztec/noir-contracts.js/SponsoredFPC" ;
@@ -44,7 +45,7 @@ describe("Accounts", () => {
4445 wallet = await setupWallet ( ) ;
4546
4647 sponsoredFPC = await getSponsoredFPCInstance ( ) ;
47- await wallet . registerContract ( { instance : sponsoredFPC , artifact : SponsoredFPCContract . artifact } ) ;
48+ await wallet . registerContract ( sponsoredFPC , SponsoredFPCContract . artifact ) ;
4849 sponsoredPaymentMethod = new SponsoredFeePaymentMethod ( sponsoredFPC . address ) ;
4950
5051 // create default ethereum clients
@@ -208,7 +209,7 @@ describe("Accounts", () => {
208209 } ) ,
209210 ) ;
210211
211- expect ( receiptAfterMined . contract . instance . address ) . toEqual ( deploymentData . address )
212+ expect ( receiptAfterMined . contract . address ) . toEqual ( deploymentData . address )
212213 } )
213214
214215} ) ;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ describe("Pod Racing Game", () => {
9696 wallet = await setupWallet ( ) ;
9797
9898 sponsoredFPC = await getSponsoredFPCInstance ( ) ;
99- await wallet . registerContract ( { instance : sponsoredFPC , artifact : SponsoredFPCContract . artifact } ) ;
99+ await wallet . registerContract ( sponsoredFPC , SponsoredFPCContract . artifact ) ;
100100 sponsoredPaymentMethod = new SponsoredFeePaymentMethod ( sponsoredFPC . address ) ;
101101
102102 // Create two player accounts
You can’t perform that action at this time.
0 commit comments