Skip to content

Commit

Permalink
remove network package
Browse files Browse the repository at this point in the history
  • Loading branch information
alvrs committed Aug 15, 2023
1 parent 7b3a674 commit 4c1a203
Show file tree
Hide file tree
Showing 76 changed files with 9 additions and 6,752 deletions.
7 changes: 7 additions & 0 deletions .changeset/late-geese-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@latticexyz/world": major
---

The `SnapSyncModule` is removed. The recommended way of loading the initial state of a MUD app is via the new [`store-indexer`](https://mud.dev/indexer). Loading state via contract getter functions is not recommended, as it's computationally heavy on the RPC, can't be cached, and is an easy way to shoot yourself in the foot with exploding RPC costs.

The `@latticexyz/network` package was deprecated and is now removed. All consumers should upgrade to the new sync stack from `@latticexyz/store-sync`.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"release:check": "changeset status --verbose --since=origin/main",
"release:publish": "pnpm install && pnpm build && changeset publish",
"release:version": "changeset version && pnpm install --lockfile-only && pnpx bun scripts/changelog.ts",
"sort-package-json": "npx sort-package-json package.json 'packages/*/package.json' 'templates/*/package.json' 'templates/*/packages/*/package.json' 'examples/*/package.json' 'examples/*/packages/*/package.json' 'integration/*/package.json' 'integration/*/packages/*/package.json' 'docs/package.json'",
"sort-package-json": "npx sort-package-json package.json 'packages/*/package.json' 'templates/*/package.json' 'templates/*/packages/*/package.json' 'examples/*/package.json' 'examples/*/packages/*/package.json' 'e2e/*/package.json' 'e2e/*/packages/*/package.json' 'docs/package.json'",
"test": "pnpm recursive run test"
},
"lint-staged": {
Expand Down
4 changes: 0 additions & 4 deletions packages/network/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions packages/network/.hg

This file was deleted.

7 changes: 0 additions & 7 deletions packages/network/.npmignore

This file was deleted.

653 changes: 0 additions & 653 deletions packages/network/CHANGELOG.md

This file was deleted.

177 changes: 0 additions & 177 deletions packages/network/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions packages/network/jest.config.js

This file was deleted.

9 changes: 0 additions & 9 deletions packages/network/jest.setup.ts

This file was deleted.

68 changes: 0 additions & 68 deletions packages/network/package.json

This file was deleted.

66 changes: 0 additions & 66 deletions packages/network/src/createBlockNumberStream.ts

This file was deleted.

Loading

0 comments on commit 4c1a203

Please sign in to comment.