Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • 20:31

    haltman-at on panopticon-cli

    Add CLI startup code for debugg… Add fetchStorage integration to… (compare)

  • 20:13
    lsqproduction closed #5495
  • 20:13
    lsqproduction commented #5495
  • 20:09

    lsqproduction on v5.5.32


  • 20:03
    dongmingh commented #5573
  • 19:53

    lsqproduction on master

    remove property that seems to b… Eliminate circular dependency b… WIP - make first pass at conver… and 48 more (compare)

  • 19:51

    lsqproduction on develop

    Publish - @truffle/compile-so… (compare)

  • 18:53
    cds-amal synchronize #5579
  • 18:53

    cds-amal on replception

    core(console): use regex to spl… (compare)

  • 18:31
    cds-amal synchronize #5579
  • 18:31

    cds-amal on replception

    core(test): remove console.log core(console): further process … (compare)

  • 16:46

    eggplantzzz on replception

    Update packages/core/lib/consol… (compare)

  • 16:46
    eggplantzzz synchronize #5579
  • 16:38
    eggplantzzz synchronize #5573
  • 16:38

    eggplantzzz on artifacts-clobbering

    improve method for detecting co… (compare)

  • 16:12
    eggplantzzz synchronize #5573
  • 16:12

    eggplantzzz on artifacts-clobbering

    add warning to alert users abou… (compare)

  • 14:27
    cds-amal commented #4306
  • 14:24
    cds-amal commented #4306
  • 13:40
    kwakyebrilliant commented #4306
Mac-Oya Makoya

ℹ 「wdm」: Compiled successfully.

I hope this will be a nice journey

Philip Scott
Hi folks - quick question, my organisation has a complicated scripted docker setup - one of which starts the ganache-cli docker image up. Is it possible to connect the nice GUI to an already-running server or am I stuck with figuring out the json-rpc to poke around in the blockchain it generates?
2 replies

Hello everyone, is there a way to debug step-by-step javascript test? Not the solidity calls with await debug(etc...)?
I am using Visual Studio Code.

Also, how can I debug an exception when Error - out of gas happens? (await debug in js is just skipped)


I am calling web3.currentProvider.send().

    const params = [permitParams, defaultAccount];
    const method = 'eth_signTypedData';

    var result = await web3.currentProvider.send({
    }, function(err, result) {

in a truffle test.

I get the following error:
'cannot sign data; no private key'

How can I test eth_signTypedData with truffle test?

Roberto Chan
Hello, I been playing with @drizzle/vue-plugin. Is there a way to get a call back or do wait for a cacheSend ?
hi people
I reinstalled OS recently, and I see I cannot add 2nd walle on metamask trough 12 words phrase, when I lock account and import trough prhase it deletes my previous wallet
and on Import (why unlocked) I only have option to import trough key or json
before I had multiple wallets imported trough 12 words..... what I'm doing wrong?
Hi, I am having an issue while deploying my smart contract, When I use the command "truffle compile" on my terminal, it gives me error which is "cannot find module babel-register" Can someone please help me? Thanks
Peter Kruty
Hi Folks, I found that hdwallet-provider could work in browser, but when I try to use it I get an error with missing Buffer
"ReferenceError: Buffer is not defined"
at Object../node_modules/@truffle/hdwallet-provider/node_modules/ethereumjs-util/dist/secp256k1v3-lib/der.js .
I understand this can be fixed with Buffer polyfill, I just don't know how exactly, I can't find webpack.config.js anywhere. Any hints?
Dan T
Hello, new developer here. I started a new project using the files from truffle pet shop tutorial as a base and I now want to upgrade to a later version of web3. What is the best way of doing this without breaking too many things?
Evan C Pease
Hi, I'm trying to deploy a contract to mainnet
The dry run shows gas fees that are well within what's in the wallet
but the deploy fails with insufficient funds
didn't find any sensible answers on initial google searches
any ideas?
Hi guys, I have a problem with a React Truffle Box. I deploy the contracts, the site runs I get a transaction but the gas is not set and no matter if I decline or change gas the number that should change does not
Wong Tao Zhe
Hi I'm a new developer here. I got a transaction exited with an error (status 0) when running truffle migrate --network rinkeby to upgrade my smart contract.
Any idea what's the issue? Thanks in advance
Priyanshu Rajput

Hi, I am having an issue while deploying my smart contract, When I use the command "truffle compile" on my terminal, it gives me error which is "cannot find module babel-register" Can someone please help me? Thanks

Same issue. Please help


Hello, I am new to blockchain and am trying to walk through the PetShop tutorial. I have deployed Hyperedger Besu on an AWS machine and am trying to migrate my contracts over there,
https://github.com/dappuniversity/nft but it keep failing. The output error is :Error: Deployment Failed

"Migrations" -- Returned error: The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu..1_initial_migration.js

Deploying 'Migrations'

Error: Deployment Failed

"Migrations" -- Returned error: The method eth_sendTransaction is not supported. Use eth_sendRawTransaction to send a signed transaction to Besu..

at /usr/local/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:365:1
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at Migration._deploy (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:70:1)
at Migration._load (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:56:1)
at Migration.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:217:1)
Does anyone has any problems with avalanche deployments? I am having the same issue as the person here trufflesuite/truffle#4028 but updating the truffle hd provider doesn't work in my case
<< everyone is optimistic about the rise and fall of the cryptos. personally, you can all agree with me that the bitcoin price is going to exceed its current value to $71,415 in February 2022, panelists have also predicted the bitcoin price to skyrocket to an average of $249,578 by the year 2024 which could also influence the price of altcoins. it's never too late to buy and hold of Ethereum/Bitcoin now is the right time. I personally have sustained over $567,000 since last year still now copying advance trade signals and indicating stop lost and manage risk following a mentorship and a blockchain specialist https://declanbrock.com/ his pattern are very lucrative with full of complex.
Eladio Robles

I just Tried to deploy Sushiswap fork in Harmony it shows the following error:
Error: Returned error: intrinsic gas too low

I just tried to modify the Gas limit and Gas Price but remains the same error

Lucas Vazquez
Hi! When I use truffle console it automatically loads contracts from the current directory, is there a command to load contracts on other directories?
Eladio Robles
Hi Lucas,
truffle console and then truffle migrate —network xxx
hi how can help me? when i try truffle compile , i get Error: ENOENT: no such file or directory, open '.secret'
truffle compile
Error: ENOENT: no such file or directory, open '.secret'
Hi all. I'm following a tutorial that inside a test validates a BigNumber instance using Chai. I can console log both variables console.log(decimals); and console.log(web3.utils.toBN(_decimals)); which results in the exact same string: BN { negative: 0, words: [ 18, <1 empty item> ], length: 1, red: null } and BN { negative: 0, words: [ 18, <1 empty item> ], length: 1, red: null }. However when I add the following check: decimals.should.be.bignumber.equal(web3.utils.toBN(_decimals)); the following exception is thrown: AssertionError: expected <BN: 12> to be an instance of string, number or BigNumber. Can anyone explain what I'm missing here?
Sandi Gec
Hi! I have an issue. Is it possible to integrate @truffle/contract library in Angular 13 project? At the moment I get the following error when I try to include "var contract = require("@truffle/contract");" into an component (*.ts file):
"BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it."
Rashi Abramson
Is ganache ui supported anymore? I saw the last commit was in 2020
@roshkins I think it is working in progress... in 2.6.0?
Hello, I am having trouble with running 'truffle test' in the terminal on my contract. When I run a test I keep receiving the error "TypeError: pollInstance.createPoll is not a function." I am unsure of how to fix this given that I declared my artifacts variable at the beginning of the test file and I declared a deployment of my "PollFactory" contract before each test. Does anyone know how to deal with this error?
Aaron Boyd

Hi all, getting this error during migrations rlp: value size exceeds available input length.

Is this a contract size issue? Network is Celo (Baklava testnet). Same migrations works perfectly fine on Celo (Alfajores testnet).

Hi, i have an issue with truffle compile command, when i run it the build folder is created but it is empty, there is no abi inside. I tried to reinstall truffle but it doesnt help. Does anyone have same problem?
Hi Everyone.
I want to study blockchain.
Hi all
conflicted...do i stick with truffle or do i start a new project with hard hat.
Ryan Martin
hello all, i have been a accounting major for the past 3 years and only have till summer to graduate. How much progress on blockchain development is possible within a 6 month time frame?
Christian Peters

I'm trying to deploy to polygon with a config that is used to work. I'm already willing to pay a high fee, but nothing works.

matic: {
      provider: () => new HDWalletProvider({
        mnemonic: {
          phrase: process.env.MNEMONIC
        providerOrUrl: 'https://rpc-mainnet.maticvigil.com/v1/<ny',
      network_id: 137,
      confirmations: 2,
      timeoutBlocks: 2000,
      gas: 10000000,
      gasPrice: 150000000000,
      networkCheckTimeout: 10000000,

Is there something wrong here?

Chris Hughes
Hey everyone. I hope this is a quick question. I'm working on a personal project to use an ERC20 token to pay gas prices. I'm trying to use OpenGSN (find it here: https://opengsn.org/). OpenGSN works by wrapping the web3 provider, so I'll need to update the provider in truffle-config.js for my network. The problem is that the function OpenGSN provides to create a provider is asynchronous (returns a Promise). Does truffle-config.js support Promises for the provider setting?
@d_avantgarde_twitter have you tried using Infura or alchemy instead of maticvigil ?
I had the same issues with truffle... I'd recommend switching to hardhat
the hardhat config for polygon is dirt simple...