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

bug: proposal update is blocking indexing #503

Closed
bonustrack opened this issue Jul 18, 2024 · 0 comments · Fixed by #556
Closed

bug: proposal update is blocking indexing #503

bonustrack opened this issue Jul 18, 2024 · 0 comments · Fixed by #556
Assignees
Labels
area: API bug Something isn't working

Comments

@bonustrack
Copy link
Member

I did this hotfix because the proposal update event was blocking indexing in the API with this error:

{"level":50,"time":1721314857665,"component":"checkpoint","blockNumber":659288,"err":{"type":"TypeError","message":"Cannot read properties of undefined (reading 'execution_strategy')","stack":"TypeError: Cannot read properties of undefined (reading 'execution_strategy')\n    at Object.handleUpdate (/workspace/apps/api/dist/src/writer.js:362:89)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async StarknetProvider.handleTx (/workspace/node_modules/@snapshot-labs/checkpoint/dist/src/providers/starknet/provider.js:174:29)\n    at async StarknetProvider.handleBlock (/workspace/node_modules/@snapshot-labs/checkpoint/dist/src/providers/starknet/provider.js:86:13)\n    at async StarknetProvider.processBlock (/workspace/node_modules/@snapshot-labs/checkpoint/dist/src/providers/starknet/provider.js:55:9)\n    at async Checkpoint.next (/workspace/node_modules/@snapshot-labs/checkpoint/dist/src/checkpoint.js:303:37)\n    at async Checkpoint.start (/workspace/node_modules/@snapshot-labs/checkpoint/dist/src/checkpoint.js:160:16)"},"msg":"error occurred during block processing"}

https://github.com/snapshot-labs/sx-monorepo/pull/502/files

This is something we should fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants