Skip to content

Commit

Permalink
fix trace
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Sep 23, 2023
1 parent 2b1be8c commit 3e6ab07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/commands/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -65,7 +65,7 @@ const commandModule: CommandModule<Options, Options> = {

// 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;
Expand Down

0 comments on commit 3e6ab07

Please sign in to comment.