diff --git a/client/src/dojo/setup.ts b/client/src/dojo/setup.ts index 7a66384..ccf4459 100644 --- a/client/src/dojo/setup.ts +++ b/client/src/dojo/setup.ts @@ -30,10 +30,24 @@ export async function setup({ ...config }: Config) { // fetch all existing entities from torii // await getSyncEntities(toriiClient, contractModels as any, []); + const allExceptMintClause: torii.KeysClause = { + keys: [undefined], + pattern_matching: "FixedLen", + models: [ + "zKube-Game", + "zKube-Player", + "zKube-Tournament", + "zKube-Settings", + "zkube-Chest", + "zkube-Participation", + "zKube-Admin", + ], + }; + const sync = await getSyncEntities( toriiClient, contractComponents as any, - undefined, + { Keys: allExceptMintClause }, [], 30_000, false,