Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Willian Mitsuda
    @wmitsuda:matrix.org
    [m]
    I found out to be nearly impossible to pin Sourcify ipfs root without following those tips
    chadflem
    @chadflem:matrix.org
    [m]
    hey yall, I'm having some issues verifying contracts that were deployed from a factory. I managed to verify the contracts used for the factory https://repo.sourcify.dev/contracts/full_match/10/0x1eB3f4a379e7BfAf57331FC9BCb5b4763122E48B/ , (which also includes the source for the address I'm trying to verify 0xA067443b7f4A00e2c582f1e6aDf3F3a090C568AE, the ChainlinkTrigger.sol file here https://repo.sourcify.dev/contracts/full_match/10/0x1eB3f4a379e7BfAf57331FC9BCb5b4763122E48B/sources/src/). Has anyone ran into this before?
    Side question would be, is there infra in place such that I would expect the contracts deployed from the factory to also be verified, since that byte code was verified when verifying the factory?
    1 reply
    Also worth mentioning, I tried verifying using forge and manually through the ui as well, no luck
    kuzdogan
    @kuzdogan:matrix.org
    [m]
    Problem is, for contracts with immutables we check the creation tx and the creation tx does not contain the creation bytecode
    Let me know how we can make the tx more clear about this, if it is not clear
    2 replies
    chadflem
    @chadflem:matrix.org
    [m]
    heh my bad, admittedly I didn’t check that page. Good to know though, thanks
    chadflem
    @chadflem:matrix.org
    [m]
    hah got it. hmm from a ux perspective I kinda just expected it to work by following the ui wizard. I think if you linked to the verify docs right on the verify page I wouldve taken a look. I think mostly just an oversight from my end though!
    djrhails
    @djrhails:matrix.org
    [m]

    Hey - curious what the least obnoxious way to go about bumping the number of ethereum mainnet contracts (or even if that is desired!).

    I've got a few source code datasets which combined look like they can take the number of verified contracts up to a comparable level with etherscan 296k mainnet vs 43k sourcify.

    ligi³
    @ligi:matrix.org
    [m]
    desired for sure - what is your source for the dataset?
    1 reply
    kuzdogan
    @kuzdogan:matrix.org
    [m]
    Also do you have the metadata files too? They are required
    1 reply
    djrhails
    @djrhails:matrix.org
    [m]

    For context, out of the top 10,000 smart contracts (by incoming txn calls), sourcify only knows about 543.
    Etherscan is harder to enumerate, but in the top 731, they know of 555.

    So even low-hanging fruit of the most talked to contracts seems valuable.

    1 reply
    For an extreme example, USDT isn't verified!
    ImJosh17
    @ImJosh17
    Hey i'm having issues setting up Sourcify .. Specifically i cannot understand how to set up the .env variables (the walktrough is pretty poor...) can anyone help?
    ImJosh17
    @ImJosh17

    Also i'm having issues verifying a contract by address the error is the following:

    {"name":"VerificationService","hostname":"Air-di-Joshua.homenet.telecomitalia.it","pid":48008,"level":30,"loc":"[POST:VERIFICATION_BY_ADDRESS_FAILED]","address":"0xB13D6c918a9F3d8e8d0A78BB11807dcd14C50361","msg":"Could not find file in repository","time":"2022-08-31T10:14:07.958Z","v":0}

    Srinivas Kota (Sai)
    @jessepinkman9900

    Hello everyone,
    just got my chain listed on https://github.com/ethereum-lists/chains
    when will chains.json next get updated on https://github.com/ethereum/sourcify? is there any way to speed this up?

    Thank you for the help in advance!

    briggssaint4
    @briggssaint4:matrix.org
    [m]
    ligi³
    @ligi:matrix.org
    [m]
    briggssaint4: more like ban you now ..
    ImJosh17
    @ImJosh17

    Also i'm having issues verifying a contract by address the error is the following:

    {"name":"VerificationService","hostname":"Air-di-Joshua.homenet.telecomitalia.it","pid":48008,"level":30,"loc":"[POST:VERIFICATION_BY_ADDRESS_FAILED]","address":"0xB13D6c918a9F3d8e8d0A78BB11807dcd14C50361","msg":"Could not find file in repository","time":"2022-08-31T10:14:07.958Z","v":0}

    PLS

    ligi³
    @ligi:matrix.org
    [m]
    @ImJosh17: please provide more information on what you actually do
    ImJosh17
    @ImJosh17
    Right, i actually need to verify a contract which has been deployed on a proprietary test network (EVM Based).. When i try to connect to Sourcify server tho, the response is the one i posted earlier.. The thing that scares me the most is that Sourcify "Could not find the file in repository".. And so i'm asking what am i missing?
    briggssaint4
    @briggssaint4:matrix.org
    [m]
    ImJosh17
    @ImJosh17

    Right, i actually need to verify a contract which has been deployed on a proprietary test network (EVM Based).. When i try to connect to Sourcify server tho, the response is the one i posted earlier.. The thing that scares me the most is that Sourcify "Could not find the file in repository".. And so i'm asking what am i missing?

    No news then? I'm really struggling with that even today

    Srinivas Kota (Sai)
    @jessepinkman9900

    Hello everyone,
    just got my chain listed on https://github.com/ethereum-lists/chains
    when will chains.json next get updated on https://github.com/ethereum/sourcify? is there any way to speed this up?

    Thank you for the help in advance!

    would be grateful for any help pls

    kuzdogan
    @kuzdogan:matrix.org
    [m]
    It's already updated and you have to rebase, mentioned you in the PR @jessepinkman9900
    @ImJosh17: sure, where are you struggling? Happy to help and improve the docs
    ImJosh17
    @ImJosh17
    @kuzdogan:matrix.org i manage to deploy the Sourcify server but then it's not clear for me how do i have to set up the repository since i have my own chain (and I am not sure about listing my chain, i mean what does this imply?). I tried to understand the docs but surely i'm missing something..
    1 reply
    Srinivas Kota (Sai)
    @jessepinkman9900

    @kuzdogan:matrix.org i caused some confusion by replying on a random PR.

    My PR to add a new chain just got approved on chain-list yesterday
    ethereum-lists/chains#1527

    So now ethereum/sourcify chains.json needs to get updated with the new chain that I added in ethereal-lists/chains. i wanted to ask when this merge will happen next

    2 replies
    xiaohanzhu
    @xiaohanzhu
    @kuzdogan:matrix.org we found an issue for uploading a local json/zip file for verification. If we upload the same file from mac, it works. If we upload from windows, it doesn't work
    I believe you guys had similar issues before
    could you take a look?
    also how do we make our chain supporting monitoring feature
    1 reply
    Kim King
    @adaaag:matrix.org
    [m]
    Hi
    may I ask how I dismiss soursify on remix? it change my file explorer
    ligi³
    @ligi:matrix.org
    [m]
    you can deactivate the plugin in the plugin section
    kuzdogan
    @kuzdogan:matrix.org
    [m]
    Responded to you question in the PR @xiaohanzhu
    AndikaShidiqPratma
    @AndikaShidiqPratma
    /invite @kuzdogan:matrix.org
    Willian Mitsuda
    @wmitsuda:matrix.org
    [m]
    Hi, just sharing some info, I remember in Amsterdam we discussed about supporting vyper
    Just discovered they recently started attaching the vyper version as metadata in the bytecode
    ImJosh17
    @ImJosh17

    @kuzdogan:matrix.org After Today's call (we are the guys trying to locally run sourcify) my colleague and I are still having some issues during the setup.. We keep getting the 404 error saying "Could not find file in repository" when we try to verify a contract (which has already been deployed on our network). This is exactly what we get:

    {"name":"VerificationService","hostname":"Air-di-Joshua.homenet.telecomitalia.it","pid":7661,"level":30,"loc":"[POST:VERIFICATION_BY_ADDRESS_FAILED]","address":"0xB13D6c918a9F3d8e8d0A78BB11807dcd14C50361","msg":"Could not find file in repository","time":"2022-09-05T12:35:53.828Z","v":0}

    My concern is about the repository path which is something similar to: /Users/Sourcify/ContractRepo. Inside the repository there is nothing (as I understood today sourcify should create the structure under the local repository, but still i might have misunderstood).

    Any help is appriciated! Thanks in advance !

    2 replies
    Srinivas Kota (Sai)
    @jessepinkman9900
    how does the review process work for a PR on the repo?
    2 replies
    xiaohanzhu
    @xiaohanzhu
    @kuzdogan:matrix.org have you had a chance to take a look at the windows issue?
    3 replies
    xiaohanzhu
    @xiaohanzhu
    also we ran into time out when trying to verify a contract. Do you have any suggestions on what might be the issue
    1 reply
    62a9d9336050082b536dc32eeec6cb3.png
    89265c0c7a7ef7b7a257344f5616040.png
    kuzdogan
    @kuzdogan:matrix.org
    [m]
    GW timeouts usually come up with the ipfs gateways but normally it should just say file not found
    xiaohanzhu
    @xiaohanzhu
    The contract was in fact verified afterwards even with the above error
    Since we are using hosted sourcify.dev, it probably worthwhile to check your configurations
    marcocastignoli
    @marcocastignoli:matrix.org
    [m]
    hello @xiaohanzhu, can you give me more information about the contract you are trying to verify? I'd like to reproduce the error, thanks.