Git Product home page Git Product logo

Comments (4)

rkalis avatar rkalis commented on June 2, 2024

Hey, thanks for the report. Do you have a repository that I can use to reproduce the issue?

from truffle-plugin-verify.

rkalis avatar rkalis commented on June 2, 2024

Also are you by any chance using viaIR? That is currently a known bug (see #181)

from truffle-plugin-verify.

metadimensions avatar metadimensions commented on June 2, 2024

Not using ViaIR - actually the contract is already deployed on mainnet by a different dev person I couldn't find exact solidity code tried to debug this on the etherscan compiler but getting Bytecode error so trying this using Truffle verify.

from truffle-plugin-verify.

rkalis avatar rkalis commented on June 2, 2024

Oof yeah in that case it's going to be very hard to debug this because it needs to have the exact right source code to match. And the API response that we get from Etherscan doesn't really give you enough details to work with.

You could try using this Truffle plugin to generate the Input JSON and then upload that into the Etherscan verification form. That might give you slightly better error messages. But still if you don't know exactly which code + compiler settings were used to deploy the contract it'll be very difficult to verify the source code.

Sorry I can't be of more assistance here. Best of luck!

from truffle-plugin-verify.

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.