by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Rob
    @ryestew
    Send comments if you like
    Franziska Heintel
    @franzihei
    Adding my comments now @ryestew
    looks great overall!
    Franziska Heintel
    @franzihei
    finished with my comments @ryestew :)
    Rob
    @ryestew
    @franzihei - thanks so much for you comments! Its published
    g. nicholas d'andrea
    @gnidan

    truffle / sourcify support update: we just released v5.1.32, which extends truffle debug --fetch-external to support fetching contracts from your repository.

    (I know this is consume-side @ligi, publish-side is still to come [there's some precursor work that's currently in progress])

    1 reply
    ligi
    @ligi
    @gnidan great - thanks for the update!
    @edisinovcic there is a problem with the DNS config currently: https://gist.github.com/ligi/19e65c8201880930f832f8e5bdf7283a
    so I could just set up sourcify.dev but nothing else
    Edi Sinovcic
    @edisinovcic
    sourcify-dns.png
    sourcify-dns.png
    @ligi updated to dns only, not proxied anymore
    chriseth
    @chriseth
    @gnidan that's great news! Wolud be good to have an ipfs that is more easy to use...
    ligi
    @ligi
    topics for todays sync here: sourcifyeth/org#6
    Please add your topics
    chriseth
    @chriseth
    sorry, have to skip today unless you need me
    Edi Sinovcic
    @edisinovcic
    ok
    Edi Sinovcic
    @edisinovcic
    Is jitsy working?
    Edi Sinovcic
    @edisinovcic
    @ligi @chriseth whitelist in the end does not work so I've reverted to without it.
    chriseth
    @chriseth
    what was this about?
    Are we monitoring goerly (ref :point_up: June 29, 2020 6:51 PM )?
    Edi Sinovcic
    @edisinovcic
    About infura id, there is an option to whitelist addresses and domains
    chriseth
    @chriseth
    ah ok!
    Edi Sinovcic
    @edisinovcic

    Are we monitoring goerly (ref :point_up: June 29, 2020 6:51 PM )?

    Yes we are.

    Alex Beregszaszi
    @axic
    But unfortunately it does not support literal sources in metadata :(
    Edi Sinovcic
    @edisinovcic
    @axic did you deploy it on testnet and if you can give me source files so I can check step by step in the debugger it would be great.
    Edi Sinovcic
    @edisinovcic

    Hi, I've added topics for today sync: sourcifyeth/org#7

    Add anything you think is missing.

    cgewecke
    @cgewecke
    | But unfortunately it does not support literal sources in metadata :(
    @axic It should be supporting literal sources. Do you remember the address of the contract you deployed? On goerli.
    chriseth
    @chriseth
    do we have a meeting no?
    Alex Beregszaszi
    @axic
    Edi Sinovcic
    @edisinovcic
    This is url to it
    Alex Beregszaszi
    @axic
    @edisinovcic @cgewecke the source for reproducing is at https://github.com/axic/eth2-deposit-contract (change the Makefile to include —metadata and run make, also needs the solc 0.6.8 release)
    cgewecke
    @cgewecke
    @axic I have the source, I need the address it's deployed at.
    Edi Sinovcic
    @edisinovcic
    @cgewecke are you joining a call?
    Alex Beregszaszi
    @axic
    cgewecke
    @cgewecke
    Or if you don't have it I'll just redeploy and check...
    @edi yes one sec
    Edi Sinovcic
    @edisinovcic
    Sure ;)
    cgewecke
    @cgewecke
    @axic Thanks!
    cgewecke
    @cgewecke

    @axic Looked at this and it looks like the metadata you linked to in the solidity gitter doesn't match the contract published to goerli. For example, the optimization settings and compiler version are different. The code also looks different in some places.

    Recompiled the source at etherscan with the settings listed there and was able to get a "partial match" using the generated metadata: http://contractrepo.komputing.org/partial_matches/5/0x16e82D77882A663454Ef92806b7DeCa1D394810f/

    The match is not "perfect" because the metadata I generated contains filepath info from my local system...but the bytecode matches (minus the metadata hash itself).
    Alex Beregszaszi
    @axic
    It is supposed to be the code from the repository as that is the one which was verified. Not sure who deployed the one on goerli and how they generated it.
    Screenshot 2020-07-06 at 23.01.08.png
    Yes you are correct this is not what it is supposed to be :)
    Sorry for the confusion, it never occurred to me they could have deployed something manually compiled and not the actual bytecode which passed verification.
    cgewecke
    @cgewecke
    Oh no problem! Thanks so much for trying it out :)
    chriseth
    @chriseth
    By the way, here is an output from truffle containing the metadata: https://github.com/CirclesUBI/circles-contracts/blob/master/build/contracts/ERC20.json
    and truffle puts it in build/contracts/<contractName>.json