Skip to content
New issue

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

fix(cli): add retry to getLogs when getting resource ID's #2709

Merged
merged 6 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: changeset
yonadaa committed Apr 23, 2024
commit 6da9640293e055d40bbbcb776dd299f1bfd211e6
5 changes: 5 additions & 0 deletions .changeset/five-pots-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@latticexyz/cli": patch
---

Fixed `""block is out of range"` errors in the deployer by adding retry logic to the `getLogs` call in the `getResourceIds` function. Previously, fetching the logs could fail if the RPC was out of sync.
yonadaa marked this conversation as resolved.
Show resolved Hide resolved