by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    chriseth
    @chriseth
    @eggplantzzz by the way - has something come out of the effort to allow users to upload their metadata at the time of deployment?
    We updated the swarm hash sued by solidity but we are still finalizing the naming
    chriseth
    @chriseth
    @gnidan ping
    g. nicholas d'andrea
    @gnidan
    hey @chriseth
    I'll DM you
    chriseth
    @chriseth
    thanks!
    chriseth
    @chriseth
    I was always assuming that truffle does not send absolute paths to the Solidity compiler. Is this really necessary? Wouldn't it be enough to use the path relative to the project root?
    g. nicholas d'andrea
    @gnidan
    @chriseth we can change to that behavior but it might break @rkalis's etherscan verify plugin, will have to check.
    chriseth
    @chriseth
    that would be great!
    teynoe
    @teynoe
    Does anyone know why I keep getting Config not defined error?

    require("babel-register");
    require("babel-polyfill");
    require("dotenv"),config();

    module.exports = {
    networks: {
    development: {
    host: "127.0.0.1",
    port: 7547,
    network_id: "*"
    }
    },
    contracts_directory: './source/contracts/',
    contracts_build_directory: './src/abis/',
    compilers: {
    solc: {
    optimizer: {
    enabled: true,
    runs: 200
    }
    }
    }
    }

    Alex Coventry
    @coventry
    This message was deleted
    tyler
    @eggplantzzz
    @teynoe What are you doing to get that?
    iaco96
    @iaco96
    Hi everyone, I'm realizing my first Dapp and I need your help. I have 2 contracts and I have to deploy them in different times, so I created two migration files: 2_first_contract, 3_second_contract and obviously the 1_initial_migration file. The first contract can be deployed at the beginning of my application, so I can run the truffle migrate -f 1 --to 2 ( I saw in this way I can run the 1_initial_migration and 2_first_contract files. It is correct?). But the second contract must be activated only after a user completes some operations, so I have to run the 3_second_contract automatically. How can I do that?
    tyler
    @eggplantzzz
    Sounds like you need to do your initial migration and then run a separate script later on after something happens.
    Diego696
    @Diego696
    Hello everybody.
    Is someone using Truffle Suit and interacting with the contracts with Python?
    I have some problems to use the Eeb3.py and the Truffle.
    Thanks a lot :)
    tyler
    @eggplantzzz
    Sorry @Diego696, Truffle only supports Node.js :(
    Diego696
    @Diego696
    @eggplantzzz Thanks :)
    Jacques Wagener
    @jacqueswww
    g. nicholas d'andrea
    @gnidan
    Brownie is neat and employs some very unique solutions
    Diego696
    @Diego696
    @jacqueswww Thanks ;)
    Hadrien Croubois
    @Amxx
    Hello, anyway I could have some answer about this issue with ganache ? trufflesuite/ganache-cli#700
    g. nicholas d'andrea
    @gnidan
    @Amxx I'd be surprised if anyone from the ganache team hangs out in gitter. you might have more luck on spectrum, or just wait until they get back to your issue (their time is taken up significantly with the upcoming Corda work... our apologies for any delays)
    I'll let them know in our internal slack, at least
    Hadrien Croubois
    @Amxx
    thanks
    Emmanuel Odianosen .O.
    @emmaodia
    Hi. When I run truffle migrate --network kovan , I get this error: "Migrations" -- sender account not recognized. How do I fix this?
    tyler
    @eggplantzzz
    @emmaodia Is your project around somewhere to look at?
    Emmanuel Odianosen .O.
    @emmaodia
    No. It is on my machine and I'm trying to deploy it. Do you have an idea why such an error could happens though when migrating to Kovan? @eggplantzzz
    tyler
    @eggplantzzz
    You have to make sure you have access to the address you are running the migrations from.
    So typically when creating your provider you will need to provide a mnemonic or private keys that will allow you to send the transactions from a certain address
    It looks like perhaps you are incorrectly doing this in your truffle-config.js
    You can check out the docs for @truffle/hdwallet-provider which explains how to do this. https://github.com/trufflesuite/truffle/tree/develop/packages/hdwallet-provider
    Emmanuel Odianosen .O.
    @emmaodia
    Thank you @eggplantzzz The documentation helped! I have fixed it now. Apparently, I was not parsing the mnemonic correctly. Thank you very much.
    tyler
    @eggplantzzz
    No problem!
    horca17
    @horca17
    I am using ZoKrates and when I deploy the Verifier.sol using Ganache (v.2.3) and Ganache-cli (v6.8.1 -ganache-core: 2.9.1), it works OK, but when I try to run the proof on verifyTx (function of Verifier.sol) works OK on Ganache-cli but on Ganache I have the following error: transact to Verifier.verifyTx errored: VM Exception while processing transaction: invalid opcode. May be is a well known error, but I am not able to make it work. I tried on Javascript VM, and also using Metamask on all Ethereum testnet networks, and on all of them it works OK. Let me know please if you can help me, thanks.
    g. nicholas d'andrea
    @gnidan
    @horca17 you may try again later today, since there was a problem with ganache-core 2.9.1 and we're about to release with support for ganache-core 2.9.2
    g. nicholas d'andrea
    @gnidan
    @horca17 and Truffle v5.1.9 is out now, if you want to give that a try (not sure if it will fix your issue, but I know ganache-core 2.9.1 had a bug)
    horca17
    @horca17
    @gnidan Hello, thanks, I upgrade both ganache and Truffle but with same mistakes than before. Will keep working.
    g. nicholas d'andrea
    @gnidan
    @horca17
    you might want to open an issue for this on ganache's repo, they might be able to help
    horca17
    @horca17
    Screen Shot 2020-01-17 at 20.55.07.png
    Screen Shot 2020-01-17 at 21.01.56.png
    Screen Shot 2020-01-17 at 20.58.43.png
    horca17
    @horca17
    I am working with Zokrates and deploy Verifier.sol using Truffle to RSK, Ropsten and Ganache-cli. Then I am running the proof on verifyTx and as you can see I obtain different results. I am trying to develop a product using RSK but as you can see I am not getting any event data and any log. Any idea where it could be the problem?
    DecentralizedPlanetarian.eth
    @ConnorSB13_twitter
    Hey, if there is any truffle dev available for a 5 min call it would be greatly appreciated. There is a limitation that I may have found that I wish to discuss further
    g. nicholas d'andrea
    @gnidan
    @ConnorSB13_twitter please describe your issue a bit!
    chriseth
    @chriseth
    @gnidan now that Solidity's metadata includes the license - can we talk about truffle auto-publishing source and metadata to ipfs again? :)
    g. nicholas d'andrea
    @gnidan
    @chriseth oh hey :) that does address the problem of knowing when it's safe to autopublish
    anyway @chriseth I know that @eggplantzzz is looking to work on this soon, we're just finishing up some other work first
    chriseth
    @chriseth
    cool!