@latticexyz/gas-report
Advanced tools
Changelog
Version 2.2.9
Release date: Wed Sep 25 2024
feat(explorer): dozer integration (#3185) (@latticexyz/explorer)
Exploring worlds on Redstone and Garnet chains will now retrieve data from the hosted SQL indexer.
feat(explorer): local indexer inside explorer (#3229) (@latticexyz/explorer, create-mud)
Explorer now automatically starts a local indexer when using Anvil as the target chain.
If you previously had an indexer
entry in your mprocs.yaml
file, it can now be removed.
- indexer:
- cwd: packages/contracts
- shell: shx rm -rf $SQLITE_FILENAME && pnpm sqlite-indexer
- env:
- DEBUG: mud:*
- RPC_HTTP_URL: "http://127.0.0.1:8545"
- FOLLOW_BLOCK_TAG: "latest"
- SQLITE_FILENAME: "indexer.db"
feat(explorer): move filter state to url (#3225) (@latticexyz/explorer)
Table filters are now included as part of the URL. This enables deep links and improves navigating between pages without losing search state.
refactor(cli): adjust deploy order (#3222) (@latticexyz/cli)
Adjusted deploy order so that the world deploy happens before everything else to avoid spending gas on system contract deploys, etc. if a world cannot be created first.
Changelog
Version 2.2.8
Release date: Mon Sep 23 2024
feat(store-sync): remove unused generics (#3218) (@latticexyz/common, @latticexyz/store-sync)
Removed unused generics and ensure that we're only passing around the generics we need, when we need them. Hopefully this improves TS performance in MUD projects.
fix(create-mud): add missing three deps, fix types (#3221) (create-mud)
Fixed types in threejs template after dependency bump.
feat(cli): paginate world deploy logs (#3217) (@latticexyz/cli)
When deploying to an existing world, the deployer now paginates with fetchLogs
to find the world deployment.
feat(cli): paginate world deploy logs (#3217) (@latticexyz/block-logs-stream)
fetchLogs
now reduces the max block range for subsequent requests in its loop. For block out of range or response size errors, only the current request's block range is reduced until the request succeeds, then it resets to the max block range.fetchBlockLogs
to find all matching logs of the given block range, grouped by block number, in a single async call.publicClient
type and switched to tree shakable actions.fix(cli): wait for world init before transferring ownership (#3220) (@latticexyz/cli)
If the project is using a custom world, the deployer now waits for the init transaction to be confirmed before transferring ownership of the world.