-
Notifications
You must be signed in to change notification settings - Fork 152
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
Prevent execution to stop when pair that doesn't exist encountered #100
Comments
Wrapping is not enough, I guess pair oracle should be turned off in case if pair list is empty.
|
Are you sure this isn't just this problem?: |
No, this occurs even on blocks synced by graphapi. And my little fix helps in 90% such cases, as some pairs exists for such contracts. |
Hey bro, give this PR a try and see if it can solve the problem.#110 |
Nope. See another example, when it fails with original missing data exception. |
The reason for this error is that graphapi returned a value with "null", which caused serde_json to be unable to parse it. The same question arises in Thanks a lot |
This happens with lots of contracts on all chains like: 0xFFE811714ab35360b67eE195acE7C10D93f89D8C (BSC).
thread 'main' panicked at 'called
Result::unwrap()on an
Errvalue: Error("missing field
data", line: 1, column: 234)', /ityfuzz/src/evm/onchain/endpoints.rs:734:69
I had tried to use latest blocks avaliable on api, but problem remains.
Can we just omit such pair like this?
https://github.com/iVoider/ityfuzz/tree/pair-fix
The text was updated successfully, but these errors were encountered: