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] Subgraphs failing with non-deterministic error when attempting to divide BigInt by 0 #5281

Open
1 of 3 tasks
chriswessels opened this issue Mar 14, 2024 · 0 comments
Open
1 of 3 tasks
Labels
bug Something isn't working subgraph errors

Comments

@chriswessels
Copy link
Member

Bug report

Subgraph deployment fails with a non-deterministic error that should be deterministic

Relevant log output

failed to process trigger: block #21586871 (0x158d…6bda), transaction b92f1e508502add12c1c3659e1c300cba3257ba467d21c3b7759a02c8ae5dd26: module instantiation failed: attempted to divide BigDecimal `86400` by zero wasm backtrace: 0: 0x4b99 - <unknown>!~lib/@graphprotocol/graph-ts/common/numbers/BigDecimal#div 1: 0x522d - <unknown>!start:src/modules/Rewards 2: 0xef4a - <unknown>!~start

IPFS hash

QmaqjayWnJntBFg5fr4TbvPHhVDG3xbbvuA4FCDaUuxz8X

Subgraph name or link to explorer

No response

Some information to help us out

  • Tick this box if this bug is caused by a regression found in the latest release.
  • Tick this box if this bug is specific to the hosted service.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

None

@chriswessels chriswessels added the bug Something isn't working label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working subgraph errors
Projects
None yet
Development

No branches or pull requests

2 participants