Skip to content

Commit

Permalink
merge into main (#2605)
Browse files Browse the repository at this point in the history
* Fix missing arrival when sending lords & donkeys (#2594)

* contracts: fix share points check

* contracts: fix share points check

* Add resource filter for contributions (#2596)

* Add resource filter for contributions

* Change % for specific resource contribution

* Fix missing donkeys in bridge step 2 (#2598)

* Fix missing donkeys in bridge step 2

* fix rerenders

* Remove filter

* Fix registration delay (#2602)

* Fix registration delay

* styling

* Open popup on load

* Add burned donkeys back (#2601)

* im (#2604)

---------

Co-authored-by: Credence <[email protected]>
Co-authored-by: Loaf <[email protected]>
  • Loading branch information
3 people authored Dec 26, 2024
1 parent 9798c65 commit ed50b46
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions client/src/dojo/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,28 @@ export async function setup(config: DojoConfig & { state: AppStore }) {

configManager.setDojo(components);

setLoading(LoadingStateKey.Events, true);
// setLoading(LoadingStateKey.Events, true);

await getEvents(
network.toriiClient,
network.contractComponents.events as any,
[],
[],
20000,
{
Keys: {
keys: [undefined],
pattern_matching: "VariableLen",
models: ["s0_eternum-GameEnded"],
},
},
false,
false,
)
// .finally(() => {
// setLoading(LoadingStateKey.Events, false);
// });

const eventSync = getEvents(
network.toriiClient,
network.contractComponents.events as any,
Expand All @@ -195,7 +216,7 @@ export async function setup(config: DojoConfig & { state: AppStore }) {
keys: [undefined],
pattern_matching: "VariableLen",
models: [
"s0_eternum-GameEnded",
// "s0_eternum-GameEnded",
"s0_eternum-HyperstructureFinished",
"s0_eternum-BattleClaimData",
"s0_eternum-BattleJoinData",
Expand Down

0 comments on commit ed50b46

Please sign in to comment.