diff --git a/packages/cli/src/commands/trace.ts b/packages/cli/src/commands/trace.ts index 8762d5072c..e21ff7ba90 100644 --- a/packages/cli/src/commands/trace.ts +++ b/packages/cli/src/commands/trace.ts @@ -7,7 +7,7 @@ import { MUDError } from "@latticexyz/common/errors"; import { cast, getRpcUrl, getSrcDirectory } from "@latticexyz/common/foundry"; import { StoreConfig } from "@latticexyz/store"; import { resolveWorldConfig, WorldConfig } from "@latticexyz/world"; -import IBaseWorldData from "@latticexyz/world/out/IBaseWorld.sol/IBaseWorld.abi.json" assert { type: "json" }; +import IBaseWorldAbi from "@latticexyz/world/out/IBaseWorld.sol/IBaseWorld.abi.json" assert { type: "json" }; import worldConfig from "@latticexyz/world/mud.config.js"; import { tableIdToHex } from "@latticexyz/common"; import { getChainId, getExistingContracts } from "../utils"; @@ -65,7 +65,7 @@ const commandModule: CommandModule = { // Create World contract instance from deployed address const provider = new ethers.providers.StaticJsonRpcProvider(rpc); - const WorldContract = new ethers.Contract(worldAddress, IBaseWorldData.abi, provider); + const WorldContract = new ethers.Contract(worldAddress, IBaseWorldAbi, provider); // TODO account for multiple namespaces (https://github.com/latticexyz/mud/issues/994) const namespace = mudConfig.namespace;