You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just installed @latticexyz/cli and made a simple config file
exeuting pnpm mud tablegen give me the following:
file:///home/wighawag/dev/local/mud/test-cli/node_modules/.pnpm/@[email protected]/node_modules/@latticexyz/cli/dist/commands-B5O3X52W.js:9
\u26A0\uFE0F CREATE2 deployer created at ${a.contractAddress} does not match the CREATE2 determinstic deployer we expected (${Se})`),a.contractAddress}import{waitForTransactionReceipt as gr}from"viem/actions";import{concatHex as Yt,getCreate2Address as Gt}from"viem";import{getBytecode as Qt}from"viem/actions";import{padHex as _t}from"viem";import Kt from"@latticexyz/world/out/IBaseWorld.sol/IBaseWorld.abi.json"assert{type:"json"};import{helloStoreEvent as Jt}from"@latticexyz/store";import{helloWorldEvent as qt}from"@latticexyz/world";var S=_t("0x",{size:32}),Q=parseInt("6000",16),ie=[Jt,qt],D=Kt,Ge=["2.0.0","2.0.1","2.0.2"],Qe=["2.0.0","2.0.1","2.0.2"];import{sendTransaction as Zt}from"@latticexyz/common";import Xt from"p-retry";async function Ze({client:e,deployerAddress:o,bytecode:t,deployedBytecodeSize:r,debugLabel:n="contract"}){if(t.includes("__$"))throw new Error(`Found unlinked public library in ${n} bytecode`);let s=Gt({from:o,salt:S,bytecode:t});return await Qt(e,{address:s,blockTag:"pending"})?(m("found",n,"at",s),[]):(r!=null&&(r>Q?console.warn(`
^^^^^^
SyntaxError: Unexpected identifier 'assert'
at compileSourceTextModule (node:internal/modules/esm/utils:338:16)
at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:102:18)
at #translate (node:internal/modules/esm/loader:437:12)
at ModuleLoader.loadAndTranslate (node:internal/modules/esm/loader:484:27)
at async ModuleJob._link (node:internal/modules/esm/module_job:115:19)
Node.js v22.12.0
Just installed @latticexyz/cli and made a simple config file
exeuting
pnpm mud tablegen
give me the following:reproduction repo: https://github.com/bug-reproduction/mud-node-22
The text was updated successfully, but these errors were encountered: