Skip to content

Commit

Permalink
:erge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Matth26 committed Nov 29, 2024
2 parents 73391af + 6ffa2b1 commit 77d341c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion client/src/dojo/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 77d341c

Please sign in to comment.