-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'main' into react-external-wallet-example
- Loading branch information
Showing
188 changed files
with
9,799 additions
and
1,342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store-sync": patch | ||
--- | ||
|
||
Bumped the Postgres column size for `int32`, `uint32`, `int64`, and `uint64` types to avoid overflows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store-sync": patch | ||
--- | ||
|
||
Moved boolean array types to use array column types (instead of JSON columns) for the Postgres decoded indexer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store-sync": patch | ||
--- | ||
|
||
Moved numerical array types to use array column types (instead of JSON columns) for the Postgres decoded indexer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/store-sync": minor | ||
--- | ||
|
||
`createStoreSync` now [waits for idle](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback) between each chunk of logs in a block to allow for downstream render cycles to trigger. This means that hydrating logs from an indexer will no longer block until hydration completes, but rather allow for `onProgress` callbacks to trigger. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@latticexyz/gas-report": patch | ||
--- | ||
|
||
Fixed gas report parsing for foundry versions released after 2024-02-15. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@latticexyz/store": major | ||
"@latticexyz/store-sync": major | ||
--- | ||
|
||
Added `dynamicFieldIndex` to the `Store_SpliceDynamicData` event. This enables indexers to store dynamic data as a blob per dynamic field without a schema lookup. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
"@latticexyz/block-logs-stream": minor | ||
"@latticexyz/cli": minor | ||
"@latticexyz/common": minor | ||
"@latticexyz/config": minor | ||
"@latticexyz/dev-tools": minor | ||
"@latticexyz/faucet": minor | ||
"@latticexyz/protocol-parser": minor | ||
"@latticexyz/schema-type": minor | ||
"@latticexyz/store-indexer": minor | ||
"@latticexyz/store-sync": minor | ||
"@latticexyz/store": minor | ||
"@latticexyz/world": minor | ||
"create-mud": minor | ||
--- | ||
|
||
Upgraded all packages and templates to viem v2.7.12 and abitype v1.0.0. | ||
|
||
Some viem APIs have changed and we've updated `getContract` to reflect those changes and keep it aligned with viem. It's one small code change: | ||
|
||
```diff | ||
const worldContract = getContract({ | ||
address: worldAddress, | ||
abi: IWorldAbi, | ||
- publicClient, | ||
- walletClient, | ||
+ client: { public: publicClient, wallet: walletClient }, | ||
}); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Benchmarks | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
benchmarks: | ||
name: Run benchmarks | ||
runs-on: ubuntu-latest-16-cores | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup | ||
uses: ./.github/actions/setup | ||
|
||
- name: Build | ||
uses: ./.github/actions/build | ||
|
||
- name: Install end-to-end testing dependencies | ||
working-directory: ./e2e | ||
run: pnpm install | ||
|
||
- name: Clean end-to-end project | ||
working-directory: ./e2e | ||
run: pnpm run clean | ||
|
||
- name: Build end-to-end project | ||
working-directory: ./e2e | ||
run: pnpm run build | ||
|
||
- name: Generate bench bulk data | ||
working-directory: ./e2e | ||
run: pnpm run generate-bench-data-bulk | ||
|
||
- name: Generate bench query data | ||
working-directory: ./e2e | ||
run: pnpm run generate-bench-data-query | ||
|
||
- name: Run benchmarks | ||
run: pnpm run bench |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.