Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    g. nicholas d'andrea
    @gnidan
    @JohnDeer89 you should follow @trufflesuite on Twitter, or subscribe to our release announce. this sort of thing will definitely be big news
    JohnDeer89
    @JohnDeer89
    I got it.
    g. nicholas d'andrea
    @gnidan
    alternatively @JohnDeer89 it looks like there's this open issue for code coverage trufflesuite/truffle#1320
    so i'll make sure we keep that up-to-date
    JohnDeer89
    @JohnDeer89
    Cool :)
    JohnDeer89
    @JohnDeer89
    Hello everybody. I am using truffle debugger to try to debug contracts that are compiled with solc 0.5.6, but the debugger does not work
    also with 0.5.5 there are some issues.
    What is the best compatible version of solc with debugger ?
    g. nicholas d'andrea
    @gnidan
    @JohnDeer89 can you open an issue detailing the problems you're running into? as far as I am aware, there should be no specific incompatibilities with 0.5.6, but I might be uninformed. note that the debugger does not officially support the optimizer, so you might have to turn that off if you have it enabled.
    also for future reference, support questions should go in https://gitter.im/ConsenSys/truffle or our new https://spectrum.chat/trufflesuite; this channel is intended for discussing truffle's development
    damianlluch
    @damianlluch

    Hi guys, I need your help please.
    I used these resources:

    https://github.com/openberry-ac/cryptovipers

    When I buy token it's fine, but it does not work when I transfer a token to another Metamask account.
    In the history I see "-countTransferTokens" and I also see that when I import the token in Metamask, the decimal precision value I see 0 and it does not allow me to modify it.

    Thank you

    Ayush Gupta
    @ayushgupta0610
    How to downgrade web3 version in truffle console?
    Lakshit Maheshwari
    @lakshit03_twitter
    Hi I am getting this error since morning when I try to deploy on rinkeby, Please help
    "Migrations" -- sender account not recognized.
    Rahul Bishnoi
    @nanspro
    Hello guys
    I am trying to deploy contracts onto mainnet through a remote node and when i do truffle migrate --network mainnet i get an error

    ``` Error: Error: Error: Deployment Failed

    "Migrations" could not deploy due to insufficient funds

    • Account: 0x097975c270f3C4b192D8cBa062337539135f431f
    • Balance: 0 wei
    • Message: sender doesn't have enough funds to send tx. The upfront cost is: 45000000000000000 and the sender's account only has: 0
    • Try:
      • Using an adequately funded account
        ```
    Do i have to use my own real eth to deploy to mainnet ?
    tyler
    @eggplantzzz
    @nanspro Yes indeed! To deploy to mainnet you will need to use real ether.
    Rahul Bishnoi
    @nanspro
    What does this error mean
    1_initial_migration.js
    ======================
    
       Deploying 'Migrations'
       ----------------------
    Error: Error: Error:  *** Deployment Failed ***
    
    "Migrations" -- VM Exception while processing transaction: Error: Returned error: This request is not implemented yet. Please create an issue on Github repo..
    
        at Object.run (/home/fnatic/.nvm/versions/node/v11.1.0/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:84:1)
        at process.internalTickCallback (internal/process/next_tick.js:77:7)
    I am trying to deploy a contract to ropsten, node running at localhost:8541 via parity client
    Daniel Ong
    @onggunhao
    Hi - I'm trying to contribute a simple PR to Truffle to allow truffle test to run an individual test, similar to how mocha -g does it. Doing it as a simple exercise to learn the repo
    Just to verify - I should start working from the next branch?
    This is the issue I'm working on trufflesuite/truffle#2080 (after a twitter convo w/ @gnidan )
    Daniel Ong
    @onggunhao
    A few things I'm experiencing:
    1. When following the contribute instructions in https://github.com/trufflesuite/truffle
    2. When I run yarn bootstrap, I get the error:
    error The workspace feature is currently experimental and needs to be manually enabled - please add "workspaces-experimental true" to your .yarnrc file
    1. Reading up a bit online, I see that I need to run yarn config to enable that
    Ah - after reading more, .yarnrc is a global config file?
    Daniel Ong
    @onggunhao
    Got it - fixed!
    ehildenb
    @ehildenb
    Hey all, let me know if this is the wrong place for this. We (Runtime Verification) have been prototyping adding the ability to use KEVM under the hood for Truffle instead of ethereum-js, and would like to upstream some refactorings to make it possible. Initially we were looking at having Truffle directly talk to KEVM with RPC, but it actually ended up being easier to refactor Ganache to make the calls instead (because we need the StateManager functionality). Anyway, we'd like to upstream this modularity if possible, and would appreciate any advice on how to proceed.
    damianlluch
    @damianlluch

    hi guys, I get this error in OS X with Truffle and not found any results for the error solution.
    any suggestions?

    truffle compile
    Warning: Both truffle-config.js and truffle.js were found. Using truffle-config.js.

    Compiling your contracts...

    Error: TypeError: Cannot read property 'includes' of null
    at VersionRange.load (/Users/damianlluch/.npm-global/lib/node_modules/truffle/build/webpack:/packages/truffle-compile/compilerSupplier/loadingStrategies/VersionRange.js:201:1)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    Truffle v5.0.24 (core: 5.0.24)
    Node v10.15.0

    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 ;)