We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is on MacOS with PostgreSQL 15.
Clear the database.
cd ~/Library/Application\ Support/Postgres rm -rf var-15
Start the database UI and click Initialize.
Create fresh installation.
git clone https://github.com/latticexyz/mud.git && cd mud && pnpm install && pnpm build cd .. pnpm create mud@main app # I selected vanilla, but it shouldn't matter
Run the app.
cd app; pnpm dev
Wait until the app is initialized.
In a separate command line, run the indexer.
cd mud cd packages/store-indexer pnpm start:postgres:local
Wait until it is all caught up.
all caught up
Get the last block indexed from the indexer.
curl 'http://localhost:3001/trpc/findAll?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22chainId%22%3A31337%2C%22address%22%3A%220x5FbDB2315678afecb367f032d93F642f64180aa3%22%7D%7D%7D' | jq '.[0].result.data.json.blockNumber'
Wait a few minutes and run the same command again, see the results are unchanged.
To see in PostgreSQL:
psql
select * from __mud_internal.chain;
Again, you'll see an unchanged value.
The text was updated successfully, but these errors were encountered:
Thanks for the good repro steps! Fix is up: #1514
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This is on MacOS with PostgreSQL 15.
Clear the database.
Start the database UI and click Initialize.
Create fresh installation.
Run the app.
Wait until the app is initialized.
In a separate command line, run the indexer.
Wait until it is
all caught up
.Get the last block indexed from the indexer.
Wait a few minutes and run the same command again, see the results are unchanged.
To see in PostgreSQL:
psql
appselect * from __mud_internal.chain;
select * from __mud_internal.chain;
Again, you'll see an unchanged value.
The text was updated successfully, but these errors were encountered: