Git Product home page Git Product logo

Comments (6)

iVoider avatar iVoider commented on July 25, 2024 1

Are you sure this isn't just this problem?:

#64 (comment)

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.

from ityfuzz.

iVoider avatar iVoider commented on July 25, 2024 1

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.
/ityfuzz/cli/target/release/cli -c BSC --onchain --onchain-block-number 29693964 -f -i --selfdestruct-oracle -p --run-forever --target 0x9e9b768174ef24233bf8ac2f4131f10ff5e72dee

from ityfuzz.

iVoider avatar iVoider commented on July 25, 2024

Wrapping is not enough, I guess pair oracle should be turned off in case if pair list is empty.
Otherwise pop from empty list happens here in some contracts:
endpoints.rs 948:

let mut peg_info = self
            .get_pair_pegged(token, network, block)
            .get(0)
            .unwrap()
            .clone();

from ityfuzz.

rappie avatar rappie commented on July 25, 2024

Are you sure this isn't just this problem?:

#64 (comment)

from ityfuzz.

ByteSecurity avatar ByteSecurity commented on July 25, 2024

Hey bro, give this PR a try and see if it can solve the problem.#110

from ityfuzz.

ByteSecurity avatar ByteSecurity commented on July 25, 2024

fix #110

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
invalid type: null
Don't show null deps

Thanks a lot

from ityfuzz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.