From 6805913acb29429e6d5d48ad8d86f57c289f79b7 Mon Sep 17 00:00:00 2001 From: SleepingShell Date: Tue, 23 May 2023 14:53:52 -0500 Subject: [PATCH] Fix test --- test/utils/TestWorld.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils/TestWorld.ts b/test/utils/TestWorld.ts index 54d4650..e527167 100644 --- a/test/utils/TestWorld.ts +++ b/test/utils/TestWorld.ts @@ -73,7 +73,7 @@ export async function initializeWorld({ hre ); - const contract = await hre.ethers.getContractAt('DarkForest', diamond.address); + const contract = await hre.ethers.getContractAt('DarkForest', diamond.address) as DarkForest; await deployer.sendTransaction({ to: contract.address,