fix(cli,world): resolve table by just name #6831
Annotations
2 errors and 2 warnings
Build
Argument of type 'Omit<{ namespace: string; enums: { readonly [x: string]: string[]; }; userTypes: { readonly [x: string]: { internalType: AbiType; filePath: string; }; }; storeImportPath: string; userTypesFilename: string; codegenDirectory: string; codegenIndexFilename: string; tables: { readonly [x: string]: tableToV1<{ readonly type: "table" | "offchainTable"; readonly name: string; readonly namespace: string; readonly tableId: `0x${string}`; readonly schema: Schema; readonly key: readonly string[]; readonly codegen: TableCodegen; readonly deploy: TableDeploy; }>; }; v2: World; }, "v2"> & { systems: systemsToV1<Systems>; excludeSystems: readonly string[]; modules: readonly Omit<Module, "artifactPath">[]; worldContractName: string | undefined; postDeployScript: string; deploysDirectory: string; worldsFile: string; worldInterfaceName: string; worldgenDirectory: string; worldImportPath: string; v2: World; }' is not assignable to parameter of type '{ namespace: string; storeImportPath: string; tables: Record<string, RequireKeys<RequireKeys<{ offchainOnly: boolean; directory: string; tableIdArgument: boolean; storeArgument: boolean; keySchema: Record<string, string>; valueSchema: Record<string, string>; name?: string | undefined; dataStruct?: boolean | undefined; }, "dataStruct">, "name">>; enums: Record<string, string[]>; userTypes: Record<string, { filePath: string; internalType: "string" | "address" | "bool" | "bytes" | "bytes2" | "bytes1" | "bytes3" | "bytes4" | "bytes5" | "bytes6" | "bytes7" | "bytes8" | "bytes9" | "bytes10" | "bytes11" | "bytes12" | "bytes13" | "bytes14" | "bytes15" | "bytes16" | "bytes17" | "bytes18" | "bytes19" | "bytes20" | "bytes21" | "bytes22" | "bytes23" | "bytes24" | "bytes25" | "bytes26" | "bytes27" | "bytes28" | "bytes29" | "bytes30" | "bytes31" | "bytes32" | "int72" | "int120" | "int8" | "int16" | "int24" | "int32" | "int40" | "int48" | "int56" | "int64" | "int80" | "int88" | "int96" | "int104" | "int112" | "int128" | "int136" | "int144" | "int152" | "int160" | "int168" | "int176" | "int184" | "int192" | "int200" | "int208" | "int216" | "int224" | "int232" | "int240" | "int248" | "int256" | "uint72" | "uint120" | "uint8" | "uint16" | "uint24" | "uint32" | "uint40" | "uint48" | "uint56" | "uint64" | "uint80" | "uint88" | "uint96" | "uint104" | "uint112" | "uint128" | "uint136" | "uint144" | "uint152" | "uint160" | "uint168" | "uint176" | "uint184" | "uint192" | "uint200" | "uint208" | "uint216" | "uint224" | "uint232" | "uint240" | "uint248" | "uint256" | "uint8[]" | "uint16[]" | "uint24[]" | "uint32[]" | "uint40[]" | "uint48[]" | "uint56[]" | "uint64[]" | "uint72[]" | "uint80[]" | "uint88[]" | "uint96[]" | "uint104[]" | "uint112[]" | "uint120[]" | "uint128[]" | "uint136[]" | "uint144[]" | "uint152[]" | "uint160[]" | "uint168[]" | "uint176[]" | "uint184[]" | "uint192[]" | "uint200[]" | "uint208[]" | "uint216[]" | "uint224[]" | "uint232[]" | "uint240[]" | "uint248[]" | "uint256[]" | "int8[]" | "int16[]" | "int24[]" | "int32[]" | "int40[]" | "int48[]" | "int56[]" | "int64[]" | "int72[]" | "int80[]" | "int88[]" | "int96[]" | "int104[]" | "int112[]" | "int120[]" | "int128[]" | "int136[]" | "int144[]" | "int152[]" | "int160[]" | "int168[]" | "int176[]" | "int184[]" | "int192[]" | "int200[]" | "int208[]" | "int216[]" | "int224[]" | "int232[]" | "int240[]" | "int248[]" | "int256[]" | "bytes1[]" | "bytes2[]" | "bytes3[]" | "bytes4[]" | "bytes5[]" | "bytes6[]" | "bytes7[]" | "bytes8[]" | "bytes9[]" | "bytes10[]" | "bytes11[]" | "bytes12[]" | "bytes13[]" | "bytes14[]" | "bytes15[]" | "bytes16[]" | "bytes17[]" | "bytes18[]" | "bytes19[]" | "bytes20[]" | "bytes21[]" | "bytes22[]" | "bytes23[]" | "bytes24[]" | "bytes25[]" | "bytes26[]" | "bytes27[]" | "bytes28[]" | "bytes29[]" | "bytes30[]" | "bytes31[]" | "bytes32[]" | "bool[]" | "address[]"; }>; userTypesFilename: string; codegenDirectory: string; codegenIndexFilename: string; } & { worldImportPath: string; worldInterfaceName: string; systems: Record<string, { registerFunctionSelectors: boolean; name?: string | undefined; } & ({ openAccess: true; } | {
|
Build
Process completed with exit code 1.
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading