RoosterShip / mud_example

An Example MUD project with a NodeJS server
MIT License
0 stars 0 forks source link

Error when running #1

Open cjimison opened 6 months ago

cjimison commented 6 months ago

There is a current error when running pnpm dev

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getNonceManagerId.ts:14:26 - error TS2339: Property 'chain' does not exist on type 'never'.
  The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

14   const chainId = client.chain?.id ?? (await getChainId(client));
                            ~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getFeeRef.ts:7:55 - error TS2339: Property 'chain' does not exist on type 'never'.
  The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

7   const chainId = opts.args?.chain?.id ?? opts.client.chain?.id ?? (await getChainId(opts.client));
                                                        ~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/writeContract.ts:58:48 - error TS2339: Property 'account' does not exist on type 'never'.
  The intersection 'Client<Transport, chain, account>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

58   const rawAccount = request.account ?? client.account;
                                                  ~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/writeContract.ts:64:24 - error TS2339: Property 'chain' does not exist on type 'never'.
  The intersection 'Client<Transport, chain, account>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

64   const chain = client.chain;
                          ~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/writeContract.ts:72:5 - error TS2322: Type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to type 'never'.
  The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

72     client: opts.publicClient ?? client,
       ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/createNonceManager.ts:10:3
    10   client: Client;
         ~~~~~~
    The expected type comes from property 'client' which is declared here on type 'CreateNonceManagerOptions'

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/writeContract.ts:79:5 - error TS2322: Type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to type 'never'.
  The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

79     client: opts.publicClient ?? client,
       ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/createFeeRef.ts:5:3
    5   client: Client;
        ~~~~~~
    The expected type comes from property 'client' which is declared here on type 'CreateFeeRefOptions'

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:51:3 - error TS2344: Type '{ public: TPublicClient; wallet: TWalletClient; }' does not satisfy the constraint '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'.
  Type '{ public: TPublicClient; wallet: TWalletClient; }' is not assignable to type '{ public: never; wallet?: never; }'.
    Types of property 'public' are incompatible.
      Type 'TPublicClient' is not assignable to type 'never'.
        The intersection 'Client<TTransport, TChain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.
          Type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to type 'never'.

51   { public: TPublicClient; wallet: TWalletClient },
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:81:33 - error TS2344: Type '{ public: TPublicClient; wallet: TWalletClient; }' does not satisfy the constraint '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'.
  Type '{ public: TPublicClient; wallet: TWalletClient; }' is not assignable to type '{ public: never; wallet?: never; }'.
    Types of property 'public' are incompatible.
      Type 'TPublicClient' is not assignable to type 'never'.
        The intersection 'Client<Transport, Chain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.
          Type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to type 'never'.

81 >): GetContractReturnType<TAbi, { public: TPublicClient; wallet: TWalletClient }, TAddress> {
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:86:7 - error TS2322: Type 'TPublicClient' is not assignable to type 'never'.
  The intersection 'Client<Transport, Chain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

86       public: publicClient,
         ~~~~~~

  ../../node_modules/.pnpm/viem@2.9.20_typescript@5.4.2_zod@3.23.8/node_modules/viem/_types/actions/getContract.d.ts:17:5
    17     public?: Client<TTransport, TChain> | undefined;
           ~~~~~~
    The expected type comes from property 'public' which is declared here on type '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:87:7 - error TS2322: Type 'TWalletClient' is not assignable to type 'never'.
  The intersection 'Client<Transport, Chain, Account>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.
    Type '{ account: TAccount; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 24 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) =...' is not assignable to type 'never'.

87       wallet: walletClient,
         ~~~~~~

  ../../node_modules/.pnpm/viem@2.9.20_typescript@5.4.2_zod@3.23.8/node_modules/viem/_types/actions/getContract.d.ts:18:5
    18     wallet: Client<TTransport, TChain, TAccount>;
           ~~~~~~
    The expected type comes from property 'wallet' which is declared here on type '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:89:48 - error TS2344: Type '{ public: TPublicClient; wallet: TWalletClient; }' does not satisfy the constraint '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'.
  Type '{ public: TPublicClient; wallet: TWalletClient; }' is not assignable to type '{ public: never; wallet?: never; }'.
    Types of property 'public' are incompatible.
      Type 'TPublicClient' is not assignable to type 'never'.
        The intersection 'Client<Transport, Chain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

89   }) as unknown as GetContractReturnType<TAbi, { public: TPublicClient; wallet: TWalletClient }, TAddress> & {
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:121:28 - error TS2589: Type instantiation is excessively deep and possibly infinite.

121             const result = writeContract(walletClient, request, { publicClient });
                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:121:42 - error TS2345: Argument of type 'TWalletClient' is not assignable to parameter of type 'never'.
  The intersection 'Client<Transport, TChain, TAccount>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

121             const result = writeContract(walletClient, request, { publicClient });
                                             ~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/getContract.ts:137:61 - error TS2344: Type '{ public: TPublicClient; wallet: TWalletClient; }' does not satisfy the constraint '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'.
  Type '{ public: TPublicClient; wallet: TWalletClient; }' is not assignable to type '{ public: never; wallet?: never; }'.
    Types of property 'public' are incompatible.
      Type 'TPublicClient' is not assignable to type 'never'.
        The intersection 'Client<Transport, Chain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

137   return contract as unknown as GetContractReturnType<TAbi, { public: TPublicClient; wallet: TWalletClient }, TAddress>;
                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/sendTransaction.ts:47:48 - error TS2339: Property 'account' does not exist on type 'never'.
  The intersection 'Client<Transport, chain, account>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

47   const rawAccount = request.account ?? client.account;
                                                  ~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/sendTransaction.ts:53:24 - error TS2339: Property 'chain' does not exist on type 'never'.
  The intersection 'Client<Transport, chain, account>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

53   const chain = client.chain;
                          ~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/sendTransaction.ts:56:5 - error TS2322: Type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to type 'never'.
  The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

56     client: opts.publicClient ?? client,
       ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/createNonceManager.ts:10:3
    10   client: Client;
         ~~~~~~
    The expected type comes from property 'client' which is declared here on type 'CreateNonceManagerOptions'

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/sendTransaction.ts:63:5 - error TS2322: Type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to type 'never'.
  The intersection 'Client' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

63     client: opts.publicClient ?? client,
       ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/createFeeRef.ts:5:3
    5   client: Client;
        ~~~~~~
    The expected type comes from property 'client' which is declared here on type 'CreateFeeRefOptions'

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/sendTransaction.ts:75:16 - error TS2345: Argument of type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...' is not assignable to parameter of type 'never'.
  The intersection 'Client<Transport, chain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

75     await call(opts.publicClient ?? client, {
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+protocol-parser@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/protocol-parser/src/encodeRecord.ts:21:47 - error TS2345: Argument of type 'DynamicPrimitiveType' is not assignable to parameter of type 'readonly (number | bigint | boolean | `0x${string}`)[]'.
  Type 'string' is not assignable to type 'readonly (number | bigint | boolean | `0x${string}`)[]'.

21     encodeField(valueSchema.dynamicFields[i], value).replace(/^0x/, ""),
                                                 ~~~~~

../../node_modules/.pnpm/@latticexyz+protocol-parser@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/protocol-parser/src/encodeValueArgs.ts:26:23 - error TS2345: Argument of type 'DynamicPrimitiveType' is not assignable to parameter of type 'readonly (number | bigint | boolean | `0x${string}`)[]'.

26     encodeField(type, value[name] as DynamicPrimitiveType),
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/ts/config/experimental/resolveConfig.ts:15:7 - error TS2344: Type 'TStoreConfig["tables"][TableKey]' does not satisfy the constraint 'TableConfig<StringForUnion, StringForUnion>'.
  Type 'TStoreConfig["tables"][keyof TStoreConfig["tables"] & string]' is not assignable to type 'TableConfig<StringForUnion, StringForUnion>'.
    Type 'TStoreConfig["tables"][string]' is not assignable to type 'TableConfig<StringForUnion, StringForUnion>'.
      Type 'RequireKeys<RequireKeys<{ name?: string; keySchema?: Record<string, string>; valueSchema?: Record<string, string>; offchainOnly?: boolean; directory?: string; tableIdArgument?: boolean; storeArgument?: boolean; dataStruct?: boolean; }, "dataStruct">, "name">' is not assignable to type 'TableConfig<StringForUnion, StringForUnion>'.
        Property 'valueSchema' is optional in type 'RequireKeys<RequireKeys<{ name?: string; keySchema?: Record<string, string>; valueSchema?: Record<string, string>; offchainOnly?: boolean; directory?: string; tableIdArgument?: boolean; storeArgument?: boolean; dataStruct?: boolean; }, "dataStruct">, "name">' but required in type 'TableConfig<StringForUnion, StringForUnion>'.

15       TStoreConfig["tables"][TableKey],
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/ts/config/experimental/resolveConfig.ts:84:7 - error TS2345: Argument of type 'RequireKeys<RequireKeys<{ name?: string; keySchema?: Record<string, string>; valueSchema?: Record<string, string>; offchainOnly?: boolean; directory?: string; tableIdArgument?: boolean; storeArgument?: boolean; dataStruct?: boolean; }, "dataStruct">, "name">' is not assignable to parameter of type 'TableConfig<StringForUnion, StringForUnion>'.

84       config.tables[key],
         ~~~~~~~~~~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:16:9 - error TS2322: Type 'string' is not assignable to type 'never'.

16         tableId: "ResourceId",
           ~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:16:9
    16         tableId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'tableId' which is declared here on type '{ readonly tableId: never; readonly hooks: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:17:9 - error TS2322: Type 'string' is not assignable to type 'never'.

17         hooks: "bytes21[]",
           ~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:17:9
    17         hooks: "bytes21[]",
               ~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'hooks' which is declared here on type '{ readonly tableId: never; readonly hooks: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:23:9 - error TS2322: Type 'string' is not assignable to type 'never'.

23         tableId: "ResourceId",
           ~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:23:9
    23         tableId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'tableId' which is declared here on type '{ readonly tableId: never; readonly fieldLayout: never; readonly keySchema: never; readonly valueSchema: never; readonly abiEncodedKeyNames: never; readonly abiEncodedFieldNames: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:24:9 - error TS2322: Type 'string' is not assignable to type 'never'.

24         fieldLayout: "FieldLayout",
           ~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:24:9
    24         fieldLayout: "FieldLayout",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'fieldLayout' which is declared here on type '{ readonly tableId: never; readonly fieldLayout: never; readonly keySchema: never; readonly valueSchema: never; readonly abiEncodedKeyNames: never; readonly abiEncodedFieldNames: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:25:9 - error TS2322: Type 'string' is not assignable to type 'never'.

25         keySchema: "Schema",
           ~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:25:9
    25         keySchema: "Schema",
               ~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'keySchema' which is declared here on type '{ readonly tableId: never; readonly fieldLayout: never; readonly keySchema: never; readonly valueSchema: never; readonly abiEncodedKeyNames: never; readonly abiEncodedFieldNames: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:26:9 - error TS2322: Type 'string' is not assignable to type 'never'.

26         valueSchema: "Schema",
           ~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:26:9
    26         valueSchema: "Schema",
               ~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'valueSchema' which is declared here on type '{ readonly tableId: never; readonly fieldLayout: never; readonly keySchema: never; readonly valueSchema: never; readonly abiEncodedKeyNames: never; readonly abiEncodedFieldNames: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:27:9 - error TS2322: Type 'string' is not assignable to type 'never'.

27         abiEncodedKeyNames: "bytes",
           ~~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:27:9
    27         abiEncodedKeyNames: "bytes",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'abiEncodedKeyNames' which is declared here on type '{ readonly tableId: never; readonly fieldLayout: never; readonly keySchema: never; readonly valueSchema: never; readonly abiEncodedKeyNames: never; readonly abiEncodedFieldNames: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:28:9 - error TS2322: Type 'string' is not assignable to type 'never'.

28         abiEncodedFieldNames: "bytes",
           ~~~~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:28:9
    28         abiEncodedFieldNames: "bytes",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'abiEncodedFieldNames' which is declared here on type '{ readonly tableId: never; readonly fieldLayout: never; readonly keySchema: never; readonly valueSchema: never; readonly abiEncodedKeyNames: never; readonly abiEncodedFieldNames: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:34:9 - error TS2322: Type 'string' is not assignable to type 'never'.

34         resourceId: "ResourceId",
           ~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:34:9
    34         resourceId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'resourceId' which is declared here on type '{ readonly resourceId: never; readonly exists: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:35:9 - error TS2322: Type 'string' is not assignable to type 'never'.

35         exists: "bool",
           ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:35:9
    35         exists: "bool",
               ~~~~~~~~~~~~~~
    The expected type comes from property 'exists' which is declared here on type '{ readonly resourceId: never; readonly exists: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:42:9 - error TS2322: Type 'string' is not assignable to type 'never'.

42         resourceId: "ResourceId",
           ~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:42:9
    42         resourceId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'resourceId' which is declared here on type '{ readonly resourceId: never; readonly hooks: never; }'

../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:43:9 - error TS2322: Type 'string' is not assignable to type 'never'.

43         hooks: "bytes21[]",
           ~~~~~

  ../../node_modules/.pnpm/@latticexyz+store@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/store/mud.config.ts:43:9
    43         hooks: "bytes21[]",
               ~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'hooks' which is declared here on type '{ readonly resourceId: never; readonly hooks: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:16:9 - error TS2322: Type 'string' is not assignable to type 'never'.

16         namespaceId: "ResourceId",
           ~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:16:9
    16         namespaceId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'namespaceId' which is declared here on type '{ readonly namespaceId: never; readonly owner: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:17:9 - error TS2322: Type 'string' is not assignable to type 'never'.

17         owner: "address",
           ~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:17:9
    17         owner: "address",
               ~~~~~~~~~~~~~~~~
    The expected type comes from property 'owner' which is declared here on type '{ readonly namespaceId: never; readonly owner: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:23:9 - error TS2322: Type 'string' is not assignable to type 'never'.

23         resourceId: "ResourceId",
           ~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:23:9
    23         resourceId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'resourceId' which is declared here on type '{ readonly resourceId: never; readonly caller: never; readonly access: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:24:9 - error TS2322: Type 'string' is not assignable to type 'never'.

24         caller: "address",
           ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:24:9
    24         caller: "address",
               ~~~~~~~~~~~~~~~~~
    The expected type comes from property 'caller' which is declared here on type '{ readonly resourceId: never; readonly caller: never; readonly access: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:25:9 - error TS2322: Type 'string' is not assignable to type 'never'.

25         access: "bool",
           ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:25:9
    25         access: "bool",
               ~~~~~~~~~~~~~~
    The expected type comes from property 'access' which is declared here on type '{ readonly resourceId: never; readonly caller: never; readonly access: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:31:9 - error TS2322: Type 'string' is not assignable to type 'never'.

31         moduleAddress: "address",
           ~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:31:9
    31         moduleAddress: "address",
               ~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'moduleAddress' which is declared here on type '{ readonly moduleAddress: never; readonly argumentsHash: never; readonly isInstalled: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:32:9 - error TS2322: Type 'string' is not assignable to type 'never'.

32         argumentsHash: "bytes32", // Hash of the params passed to the `install` function
           ~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:32:9
    32         argumentsHash: "bytes32", // Hash of the params passed to the `install` function
               ~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'argumentsHash' which is declared here on type '{ readonly moduleAddress: never; readonly argumentsHash: never; readonly isInstalled: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:33:9 - error TS2322: Type 'string' is not assignable to type 'never'.

33         isInstalled: "bool",
           ~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:33:9
    33         isInstalled: "bool",
               ~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'isInstalled' which is declared here on type '{ readonly moduleAddress: never; readonly argumentsHash: never; readonly isInstalled: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:39:9 - error TS2322: Type 'string' is not assignable to type 'never'.

39         delegator: "address",
           ~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:39:9
    39         delegator: "address",
               ~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'delegator' which is declared here on type '{ readonly delegator: never; readonly delegatee: never; readonly delegationControlId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:40:9 - error TS2322: Type 'string' is not assignable to type 'never'.

40         delegatee: "address",
           ~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:40:9
    40         delegatee: "address",
               ~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'delegatee' which is declared here on type '{ readonly delegator: never; readonly delegatee: never; readonly delegationControlId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:41:9 - error TS2322: Type 'string' is not assignable to type 'never'.

41         delegationControlId: "ResourceId",
           ~~~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:41:9
    41         delegationControlId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'delegationControlId' which is declared here on type '{ readonly delegator: never; readonly delegatee: never; readonly delegationControlId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:47:9 - error TS2322: Type 'string' is not assignable to type 'never'.

47         namespaceId: "ResourceId",
           ~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:47:9
    47         namespaceId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'namespaceId' which is declared here on type '{ readonly namespaceId: never; readonly delegationControlId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:48:9 - error TS2322: Type 'string' is not assignable to type 'never'.

48         delegationControlId: "ResourceId",
           ~~~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:48:9
    48         delegationControlId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'delegationControlId' which is declared here on type '{ readonly namespaceId: never; readonly delegationControlId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:54:9 - error TS2322: Type 'string' is not assignable to type 'never'.

54         namespaceId: "ResourceId",
           ~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:54:9
    54         namespaceId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'namespaceId' which is declared here on type '{ readonly namespaceId: never; readonly balance: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:55:9 - error TS2322: Type 'string' is not assignable to type 'never'.

55         balance: "uint256",
           ~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:55:9
    55         balance: "uint256",
               ~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'balance' which is declared here on type '{ readonly namespaceId: never; readonly balance: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:61:9 - error TS2322: Type 'string' is not assignable to type 'never'.

61         systemId: "ResourceId",
           ~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:61:9
    61         systemId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'systemId' which is declared here on type '{ readonly systemId: never; readonly system: never; readonly publicAccess: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:62:9 - error TS2322: Type 'string' is not assignable to type 'never'.

62         system: "address",
           ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:62:9
    62         system: "address",
               ~~~~~~~~~~~~~~~~~
    The expected type comes from property 'system' which is declared here on type '{ readonly systemId: never; readonly system: never; readonly publicAccess: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:63:9 - error TS2322: Type 'string' is not assignable to type 'never'.

63         publicAccess: "bool",
           ~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:63:9
    63         publicAccess: "bool",
               ~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'publicAccess' which is declared here on type '{ readonly systemId: never; readonly system: never; readonly publicAccess: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:72:9 - error TS2322: Type 'string' is not assignable to type 'never'.

72         system: "address",
           ~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:72:9
    72         system: "address",
               ~~~~~~~~~~~~~~~~~
    The expected type comes from property 'system' which is declared here on type '{ readonly system: never; readonly systemId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:73:9 - error TS2322: Type 'string' is not assignable to type 'never'.

73         systemId: "ResourceId",
           ~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:73:9
    73         systemId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'systemId' which is declared here on type '{ readonly system: never; readonly systemId: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:79:9 - error TS2322: Type 'string' is not assignable to type 'never'.

79         systemId: "ResourceId",
           ~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:79:9
    79         systemId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'systemId' which is declared here on type '{ readonly systemId: never; readonly value: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:80:9 - error TS2322: Type 'string' is not assignable to type 'never'.

80         value: "bytes21[]",
           ~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:80:9
    80         value: "bytes21[]",
               ~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'value' which is declared here on type '{ readonly systemId: never; readonly value: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:86:9 - error TS2322: Type 'string' is not assignable to type 'never'.

86         worldFunctionSelector: "bytes4",
           ~~~~~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:86:9
    86         worldFunctionSelector: "bytes4",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'worldFunctionSelector' which is declared here on type '{ readonly worldFunctionSelector: never; readonly systemId: never; readonly systemFunctionSelector: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:87:9 - error TS2322: Type 'string' is not assignable to type 'never'.

87         systemId: "ResourceId",
           ~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:87:9
    87         systemId: "ResourceId",
               ~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'systemId' which is declared here on type '{ readonly worldFunctionSelector: never; readonly systemId: never; readonly systemFunctionSelector: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:88:9 - error TS2322: Type 'string' is not assignable to type 'never'.

88         systemFunctionSelector: "bytes4",
           ~~~~~~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:88:9
    88         systemFunctionSelector: "bytes4",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'systemFunctionSelector' which is declared here on type '{ readonly worldFunctionSelector: never; readonly systemId: never; readonly systemFunctionSelector: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:96:9 - error TS2322: Type 'string' is not assignable to type 'never'.

96         functionSelector: "bytes4",
           ~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:96:9
    96         functionSelector: "bytes4",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'functionSelector' which is declared here on type '{ readonly functionSelector: never; readonly functionSignature: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:97:9 - error TS2322: Type 'string' is not assignable to type 'never'.

97         functionSignature: "string",
           ~~~~~~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:97:9
    97         functionSignature: "string",
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The expected type comes from property 'functionSignature' which is declared here on type '{ readonly functionSelector: never; readonly functionSignature: never; }'

../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:103:9 - error TS2322: Type 'string' is not assignable to type 'never'.

103         value: "address",
            ~~~~~

  ../../node_modules/.pnpm/@latticexyz+world@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2/node_modules/@latticexyz/world/mud.config.ts:103:9
    103         value: "address",
                ~~~~~~~~~~~~~~~~
    The expected type comes from property 'value' which is declared here on type '{ readonly value: never; }'

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/common.ts:130:43 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

130 export const schemasTableId = storeTables.Tables.tableId;
                                              ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/common.ts:132:18 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

132   ...storeTables.Tables,
                     ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/common.ts:134:40 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

134   keySchema: flattenSchema(storeTables.Tables.keySchema),
                                           ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/common.ts:135:42 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

135   valueSchema: flattenSchema(storeTables.Tables.valueSchema),
                                             ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/isTableRegistrationLog.ts:9:82 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

9   return log.eventName === "Store_SetRecord" && log.args.tableId === storeTables.Tables.tableId;
                                                                                   ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/tableToLog.ts:20:28 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

20       tableId: storeTables.Tables.tableId,
                              ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/tableToLog.ts:21:53 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

21       keyTuple: encodeKey(flattenSchema(storeTables.Tables.keySchema), { tableId: table.tableId }),
                                                       ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/tableToLog.ts:22:52 - error TS2339: Property 'Tables' does not exist on type '{ store__StoreHooks: ResolvedTableConfig<tableToV1<{ readonly tableId: `0x${string}`; readonly name: "store__StoreHooks"; readonly namespace: ""; readonly type: "table"; readonly key: readonly ["tableId"]; readonly schema: { readonly tableId: { ...; }; readonly hooks: { ...; }; }; readonly codegen: { ...; }; readonl...'.

22       ...encodeValueArgs(flattenSchema(storeTables.Tables.valueSchema), {
                                                      ~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/trpc-indexer/createAppRouter.ts:19:55 - error TS2322: Type '{ tableId?: `0x${string}`; key0?: `0x${string}`; key1?: `0x${string}`; }[]' is not assignable to type 'readonly SyncFilter[]'.
  Type '{ tableId?: `0x${string}`; key0?: `0x${string}`; key1?: `0x${string}`; }' is not assignable to type 'SyncFilter'.
    Property 'tableId' is optional in type '{ tableId?: `0x${string}`; key0?: `0x${string}`; key1?: `0x${string}`; }' but required in type 'SyncFilter'.

19       return queryAdapter.getLogs({ chainId, address, filters });
                                                         ~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/trpc-indexer/common.ts:15:14
    15     readonly filters?: readonly SyncFilter[];
                    ~~~~~~~
    The expected type comes from property 'filters' which is declared here on type '{ readonly chainId: number; readonly address?: `0x${string}`; readonly filters?: readonly SyncFilter[]; }'

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/trpc-indexer/createAppRouter.ts:25:55 - error TS2322: Type '{ tableId?: `0x${string}`; key0?: `0x${string}`; key1?: `0x${string}`; }[]' is not assignable to type 'readonly SyncFilter[]'.

25       return queryAdapter.findAll({ chainId, address, filters });
                                                         ~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/trpc-indexer/common.ts:8:53
    8   findAll: (opts: { chainId: number; address?: Hex; filters?: readonly SyncFilter[] }) => Promise<{
                                                          ~~~~~~~
    The expected type comes from property 'filters' which is declared here on type '{ chainId: number; address?: `0x${string}`; filters?: readonly SyncFilter[]; }'

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/fetchAndStoreLogs.ts:16:67 - error TS2769: No overload matches this call.
  Overload 1 of 2, '(predicate: (value: Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>, index: number, array: Log<...>[]) => value is Log<...>, thisArg?: any): Log<...>[]', gave the following error.
    Argument of type '(log: StoreEventsLog) => boolean' is not assignable to parameter of type '(value: Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>, in...'.
      Types of parameters 'log' and 'value' are incompatible.
        Type 'Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>' is not assignable to type 'StoreEventsLog'.
          Type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...' is not assignable to type 'StoreEventsLog'.
            Type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...' is not assignable to type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...'. Two different types with this name exist, but they are unrelated.
              Type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...' is not assignable to type '{ args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}`; dynamicData: `0x${string}`; }; eventName: "Store_SetRecord"; topics: [`0x${string}`, `0x${string}`]; }'.
                Types of property 'topics' are incompatible.
                  Type '[`0x${string}`]' is not assignable to type '[`0x${string}`, `0x${string}`]'.
                    Source has 1 element(s) but target requires 2.
  Overload 2 of 2, '(predicate: (value: Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>, index: number, array: Log<...>[]) => unknown, thisArg?: any): Log<...>[]', gave the following error.
    Argument of type '(log: StoreEventsLog) => boolean' is not assignable to parameter of type '(value: Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>, in...'.
      Types of parameters 'log' and 'value' are incompatible.
        Type 'Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>' is not assignable to type 'StoreEventsLog'.
cjimison commented 6 months ago

rest

16     const blocks = groupLogsByBlockNumber(logFilter ? logs.filter(logFilter) : logs, toBlock);
                                                                     ~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/fetchAndStoreLogs.ts:18:28 - error TS2345: Argument of type '{ blockNumber: bigint; logs: Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...' is not assignable to parameter of type 'StorageAdapterBlock'.
  Types of property 'logs' are incompatible.
    Type 'Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>[]' is not assignable to type 'readonly ((Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLe...'.
      Type 'Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...; }], unknown>' is not assignable to type '(Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x...'.
        Type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...' is not assignable to type '(Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x...'.
          Type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...' is not assignable to type 'Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x$...'.
            Type '{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x${string}...' is not assignable to type 'Partial<{ address: `0x${string}`; blockHash: `0x${string}`; blockNumber: bigint; data: `0x${string}`; logIndex: number; transactionHash: `0x${string}`; transactionIndex: number; removed: boolean; } & { args: { tableId: `0x${string}`; keyTuple: readonly `0x${string}`[]; staticData: `0x${string}`; encodedLengths: `0x$...'.
              Types of property 'topics' are incompatible.
                Type '[`0x${string}`]' is not assignable to type '[`0x${string}`, `0x${string}`]'.

18       await storageAdapter(block);
                              ~~~~~

../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/fetchAndStoreLogs.ts:19:13 - error TS2322: Type '{ blockNumber: bigint; logs: Log<bigint, number, false, undefined, true, readonly [{ readonly name: "Store_SetRecord"; readonly type: "event"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "tableId"; readonly indexed: true; }, { ...; }, { ...; }, { ...; }, { ...; }]; }, { ...; }, { ...; }, { ...' is not assignable to type 'StorageAdapterBlock'.

19       yield block;
               ~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/chains/garnet.ts:51:12 - error TS1360: Type '{ readonly id: 17069; readonly sourceId: 17000; readonly name: "Garnet Holesky"; readonly testnet: true; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; ... 6 more ...; readonly serializers: { ...; }; }' does not satisfy the expected type 'MUDChain'.
  Type '{ readonly id: 17069; readonly sourceId: 17000; readonly name: "Garnet Holesky"; readonly testnet: true; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; ... 6 more ...; readonly serializers: { ...; }; }' is not assignable to type 'Chain'.
    The types returned by 'serializers.transaction(...)' are incompatible between these types.
      Type '`0x02${string}` | `0x01${string}` | `0x03${string}` | TransactionSerializedLegacy | `0x7e${string}`' is not assignable to type 'TransactionSerialized<_transactionType, (_transactionType extends "eip1559" ? `0x02${string}` : never) | (_transactionType extends "eip2930" ? `0x01${string}` : never) | (_transactionType extends "eip4844" ? `0x03${string}` : never) | (_transactionType extends "legacy" ? TransactionSerializedLegacy : never)>'.
        Type '`0x02${string}`' is not assignable to type 'TransactionSerialized<_transactionType, (_transactionType extends "eip1559" ? `0x02${string}` : never) | (_transactionType extends "eip2930" ? `0x01${string}` : never) | (_transactionType extends "eip4844" ? `0x03${string}` : never) | (_transactionType extends "legacy" ? TransactionSerializedLegacy : never)>'.

51 } as const satisfies MUDChain;
              ~~~~~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/chains/redstone.ts:50:12 - error TS1360: Type '{ readonly id: 690; readonly sourceId: 1; readonly name: "Redstone"; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; readonly rpcUrls: { readonly default: { ...; }; }; ... 5 more ...; readonly serializers: { ...; }; }' does not satisfy the expected type 'MUDChain'.
  Type '{ readonly id: 690; readonly sourceId: 1; readonly name: "Redstone"; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; readonly rpcUrls: { readonly default: { ...; }; }; ... 5 more ...; readonly serializers: { ...; }; }' is not assignable to type 'Chain'.
    Types of property 'serializers' are incompatible.
      Type '{ readonly transaction: (transaction: OpStackTransactionSerializable, signature?: Signature) => `0x02${string}` | `0x01${string}` | `0x03${string}` | TransactionSerializedLegacy | `0x7e${string}`; }' is not assignable to type 'ChainSerializers<ChainFormatters>'.

50 } as const satisfies MUDChain;
              ~~~~~~~~~

../client/src/mud/supportedChains.ts:19:57 - error TS2322: Type '{ readonly id: 690; readonly sourceId: 1; readonly name: "Redstone"; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; readonly rpcUrls: { readonly default: { ...; }; }; ... 5 more ...; readonly serializers: { ...; }; }' is not assignable to type 'MUDChain'.
  Type '{ readonly id: 690; readonly sourceId: 1; readonly name: "Redstone"; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; readonly rpcUrls: { readonly default: { ...; }; }; ... 5 more ...; readonly serializers: { ...; }; }' is not assignable to type 'Chain'.
    Types of property 'serializers' are incompatible.
      Type '{ readonly transaction: (transaction: OpStackTransactionSerializable, signature?: Signature) => `0x02${string}` | `0x01${string}` | `0x03${string}` | TransactionSerializedLegacy | `0x7e${string}`; }' is not assignable to type 'ChainSerializers<ChainFormatters>'.

19 export const supportedChains: MUDChain[] = [mudFoundry, redstone, garnet];
                                                           ~~~~~~~~

../client/src/mud/supportedChains.ts:19:67 - error TS2322: Type '{ readonly id: 17069; readonly sourceId: 17000; readonly name: "Garnet Holesky"; readonly testnet: true; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; ... 6 more ...; readonly serializers: { ...; }; }' is not assignable to type 'MUDChain'.
  Type '{ readonly id: 17069; readonly sourceId: 17000; readonly name: "Garnet Holesky"; readonly testnet: true; readonly nativeCurrency: { readonly name: "Ether"; readonly symbol: "ETH"; readonly decimals: 18; }; ... 6 more ...; readonly serializers: { ...; }; }' is not assignable to type 'Chain'.
    Types of property 'serializers' are incompatible.
      Type '{ readonly transaction: (transaction: OpStackTransactionSerializable, signature?: Signature) => `0x02${string}` | `0x01${string}` | `0x03${string}` | TransactionSerializedLegacy | `0x7e${string}`; }' is not assignable to type 'ChainSerializers<ChainFormatters>'.

19 export const supportedChains: MUDChain[] = [mudFoundry, redstone, garnet];
                                                                     ~~~~~~

../client/src/mud/getNetworkConfig.ts:50:88 - error TS2339: Property 'env' does not exist on type 'ImportMeta'.

50   const chainId = Number(params.get("chainId") || params.get("chainid") || import.meta.env.VITE_CHAIN_ID || 31337);

    ~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/actions/writeObserver.ts:28:28 - error TS2339: Property 'chain' does not exist on type 'never'.
  The intersection 'Client<Transport, TChain, TAccount>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

28       const id = `${client.chain.id}:${client.account.address}:${nextWriteId++}`;
                              ~~~~~

../../node_modules/.pnpm/@latticexyz+common@2.0.11_@aws-sdk+client-kms@3.576.0_asn1.js@5.4.1_typescript@5.4.2_zod@3.23.8/node_modules/@latticexyz/common/src/actions/writeObserver.ts:28:47 - error TS2339: Property 'account' does not exist on type 'never'.
  The intersection 'Client<Transport, TChain, TAccount>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

28       const id = `${client.chain.id}:${client.account.address}:${nextWriteId++}`;
                                                 ~~~~~~~

../contracts/mud.config.ts:8:9 - error TS2322: Type 'string' is not assignable to type 'never'.

8         value: "uint32",
          ~~~~~

  ../contracts/mud.config.ts:8:9
    8         value: "uint32",
              ~~~~~~~~~~~~~~~
    The expected type comes from property 'value' which is declared here on type '{ value: never; }'

../client/src/mud/setupNetwork.ts:77:15 - error TS2322: Type '{ account: { address: undefined; type: "json-rpc"; }; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (...' is not assignable to type 'never'.
  The intersection 'Client<Transport, Chain>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

77     client: { public: publicClient, wallet: burnerWalletClient },
                 ~~~~~~

  ../../node_modules/.pnpm/viem@2.9.20_typescript@5.4.2_zod@3.23.8/node_modules/viem/_types/actions/getContract.d.ts:17:5
    17     public?: Client<TTransport, TChain> | undefined;
           ~~~~~~
    The expected type comes from property 'public' which is declared here on type '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'

../client/src/mud/setupNetwork.ts:77:37 - error TS2322: Type 'Client<FallbackTransport, MUDChain, PrivateKeyAccount, [{ Method: "eth_accounts"; Parameters?: undefined; ReturnType: `0x${string}`[]; }, ... 19 more ..., any], { ...; } & ... 1 more ... & WalletActions<...>>' is not assignable to type 'never'.
  The intersection 'Client<Transport, Chain, Account>' was reduced to 'never' because property 'cacheTime' has conflicting types in some constituents.

77     client: { public: publicClient, wallet: burnerWalletClient },
                                       ~~~~~~

  ../../node_modules/.pnpm/viem@2.9.20_typescript@5.4.2_zod@3.23.8/node_modules/viem/_types/actions/getContract.d.ts:18:5
    18     wallet: Client<TTransport, TChain, TAccount>;
           ~~~~~~
    The expected type comes from property 'wallet' which is declared here on type '{ public?: never; wallet: never; } | { public: never; wallet?: never; }'

../client/src/mud/setupNetwork.ts:90:5 - error TS2322: Type '{ account: { address: undefined; type: "json-rpc"; }; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (...' is not assignable to type '{ account: undefined; batch?: { multicall?: boolean | { batchSize?: number; wait?: number; }; }; cacheTime: number; ccipRead?: false | { request?: (parameters: CcipRequestParameters) => Promise<...>; }; ... 55 more ...; extend: <const client extends { ...; } & ExactPartial<...>>(fn: (client: Client<...>) => client) ...'.
  Types of property 'account' are incompatible.
    Type '{ address: undefined; type: "json-rpc"; }' is not assignable to type 'undefined'.

90     publicClient,
       ~~~~~~~~~~~~

  ../../node_modules/.pnpm/@latticexyz+store-sync@2.0.11_react@18.3.1_typescript@5.4.2/node_modules/@latticexyz/store-sync/src/common.ts:70:3
    70   publicClient: PublicClient;
         ~~~~~~~~~~~~
    The expected type comes from property 'publicClient' which is declared here on type 'SyncToRecsOptions<{ readonly tables: { readonly app__Counter: { readonly tableId: `0x${string}`; readonly name: "app__Counter"; readonly namespace: ""; readonly type: "table"; readonly key: readonly []; readonly schema: { readonly value: { readonly type: never; readonly internalType: "uint32"; }; }; readonly codegen...'

../client/src/mud/createSystemCalls.ts:43:36 - error TS2339: Property 'write' does not exist on type '{ address: `0x${string}`; abi: [{ type: "function"; name: "app__increment"; inputs: []; outputs: [{ name: ""; type: "uint32"; internalType: "uint32"; }]; stateMutability: "nonpayable"; }, { type: "function"; name: "batchCall"; inputs: [...]; outputs: [...]; stateMutability: "nonpayable"; }, ... 98 more ..., { ...; }...'.

43     const tx = await worldContract.write.app__increment();
                                      ~~~~~

Found 88 errors.

 ELIFECYCLE  Command failed with exit code 1.